On Mon, 30 Jun 2003, Tony Marlboro wrote: > > Thank you for your reply, Professor Ripley. > > > Yes, to use R CMD INSTALL directly: use R CMD INSTALL --help to find > > out how. You need to supply --with-netCDF=/sw, I believe (but then > > the headers may not be found). > > R CMD INSTALL --configure-args="--with-netCDF=/sw" netCDF_1.5.tar.gz > was the correct incantation, thanks. > > I spent a considerable amount of time trying to figure this out on my > own, and I think it would have been easier if the "Add-on packages" > section of the "R Installation" manual were more complete. It would > be nice to highlight the differences between install.packages() and R > CMD INSTALL, if at least to mention the extra capabilities of R CMD INSTALL. > I would like to submit a documentation patch. With whom should I > correspond?
It's in the FAQ. Of course, it would be nice for the rest of us if MacOS X were not so out-of-kilter. > > It should be simpler to fix your OS: if you put /sw/include in your > > INCLUDE path and /sw/lib in your LIBRARY path then configure in > > netCDF should work `out of the box'. > > Are you referring to environment variables called INCLUDE and LIBRARY? > I tried setting them, then running R CMD INSTALL without any extra > args to configure, and it failed. I'm quite curious what you mean by > "INCLUDE path" and "LIBRARY path". On a normal Unix system, something like C_INCLUDE_PATH and LD_LIBRARY_PATH, who knows on such a system as MacOS X. -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595 ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help