mmokrejs@ribosome.natur.cuni.cz
2004-Nov-01 18:17 UTC
[Rd] R-2.0.0/lib/R/bin/INSTALL (PR#7329)
Hi, the install script should make sure user has set R_HOME variable. I don't have it as root, and get stupid messages. Anyway, should it be set to $blah/R-2.0.0/lib/R/ or $blah/R-2.0.0 ? Thanks for help Martin
mmokrejs@ribosome.natur.cuni.cz writes:> Hi, > the install script should make sure user has set R_HOME variable. > I don't have it as root, and get stupid messages. Anyway, should it be set > to $blah/R-2.0.0/lib/R/ or $blah/R-2.0.0 ? > Thanks for help > MartinPlease read the R-admin manual. The correct way of calling the INSTALL script is via R CMD INSTALL ... And that will set automatically set R_HOME appropriately. And please try to avoid reporting your own errors as bugs in R... -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk) FAX: (+45) 35327907
On Mon, 1 Nov 2004 mmokrejs@ribosome.natur.cuni.cz wrote:> the install script should make sure user has set R_HOME variable.If you mean, R_HOME/bin/INSTALL, that is not an `install script'. It is documented to be run as R CMD INSTALL, and R (a shell script) sets R_HOME. Please see, e.g. `An Introduction to R', ?INSTALL, the `R Installation and Administration Manual'. Or even look at the file, which says usage="Usage: R CMD INSTALL [options] pkgs> I don't have it as root, and get stupid messages. Anyway, should it be set > to $blah/R-2.0.0/lib/R/ or $blah/R-2.0.0 ? > Thanks for helpPlease do as we ask and help us by - reading the posting guide - reading the relevant documentation - reading the FAQ on BUGS before submitting a report. The second is likely to help you too. -- Brian D. Ripley, ripley@stats.ox.ac.uk 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