Re: [Rd] configure fail for XML package on freebsd

2009-03-11 Thread Robert Hijmans
I would like to write an S4 generic for 'median', but I am not sure how to do this properly as the function does not have a "..." argument I can do this setGeneric("median", function(x, na.rm=FALSE) standardGeneric("median")) but I want to be able to pass it a number of objects of the sa

Re: [Rd] configure fail for XML package on freebsd

2009-03-11 Thread Hiroyuki Kawakatsu
On 3/11/09, Duncan Temple Lang wrote: [...] > > That should probably be > setenv LIBXML_INCDIR -I/usr/local/include/libxml2 > > (rather than having the additional /libxml after it.) OK, thanks. But this still fails. > Did you install libxml2 version 2.7.3 yourself, > i.e. separately from t

Re: [Rd] configure fail for XML package on freebsd

2009-03-11 Thread Duncan Temple Lang
Hi Hiroyuki Hiroyuki Kawakatsu wrote: Hi, I am having problems installing the XML package with R-devel on freebsd. If I simply do install.packages("XML"), it says that the parser.h file is not found. After reading the INSTALL file, I have set setenv XML_CONFIG /usr/local/bin/xml2-config se