Full_Name: Alexander Jerneck Version: 2.4.0 (2006-10-03) OS: Gentoo (2.6.17-custom kernel) Submission from: (NULL) (130.91.92.78) I had trouble installing R packages, either from inside R or from the commandline, with R complaining about not finding /usr/bin/pwd I have pwd in /bin/ so I created a symlink from /usr/bin/pwd to /bin/pwd and now I can install packages. I do not know where the original problem is however.
On Wed, 12 Sep 2007, alexander.jerneck at gmail.com wrote:> Full_Name: Alexander Jerneck > Version: 2.4.0 (2006-10-03) > OS: Gentoo (2.6.17-custom kernel) > Submission from: (NULL) (130.91.92.78) > > > I had trouble installing R packages, either from inside R or from the > commandline, with R complaining about not finding /usr/bin/pwd > I have pwd in /bin/ so I created a symlink from /usr/bin/pwd to /bin/pwd and now > I can install packages. I do not know where the original problem is however.This is NOT A BUG. Likely, you do not have /bin on your path. Check Sys.getenv("PATH") install.packages() works fine on all my Gentoo boxes with R installed as per the instructions in $R_HOME/doc/manual/R-admin.html> > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel >Charles C. Berry (858) 534-2098 Dept of Family/Preventive Medicine E mailto:cberry at tajo.ucsd.edu UC San Diego http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San Diego 92093-0901
I don't think this is a bug in R. I believe a (not too) recent change in Gentoo removed /usr/bin/pwd so that the only one left is /bin/pwd. R seems to remember from install time where to find these utilities, and probably found /usr/bin/pwd when you installed the not recent version of R. You found one workaround, and another would be a fresh install of R. Paul alexander.jerneck at gmail.com wrote:> Full_Name: Alexander Jerneck > Version: 2.4.0 (2006-10-03) > OS: Gentoo (2.6.17-custom kernel) > Submission from: (NULL) (130.91.92.78) > > > I had trouble installing R packages, either from inside R or from the > commandline, with R complaining about not finding /usr/bin/pwd > I have pwd in /bin/ so I created a symlink from /usr/bin/pwd to /bin/pwd and now > I can install packages. I do not know where the original problem is however. > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel=================================================================================== La version fran?aise suit le texte anglais. ------------------------------------------------------------------------------------ This email may contain privileged and/or confidential inform...{{dropped}}
alexander.jerneck at gmail.com wrote:> Full_Name: Alexander Jerneck > Version: 2.4.0 (2006-10-03) > OS: Gentoo (2.6.17-custom kernel) > Submission from: (NULL) (130.91.92.78) > > > I had trouble installing R packages, either from inside R or from the > commandline, with R complaining about not finding /usr/bin/pwd > I have pwd in /bin/ so I created a symlink from /usr/bin/pwd to /bin/pwd and now > I can install packages. I do not know where the original problem is however. >Please don't report it as a bug then! Or at least do more of your homework first. As far as I can see, this is handled by the configure script which goes looking for pwd and records the result in $GETWD (in Makeconf and the INSTALL and REMOVE scripts). If you compile on one system and run on another, strange things can and will happen if they do not have things in the same places. There are a few other places where pwd is called directly (texi2dvi and libtool) but I don't think that can give the error message you describe. -- O__ ---- Peter Dalgaard ?ster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
Apparently Analagous Threads
- Extending [ method to S4 class and drop argument (PR#9211)
- net sam/samba ldap: Failed to add user 'xxx' with error: Group already exists.
- Update: WARNING: --rsh or -e option ignored when connecting to rsyncdaemon]
- setting the current working directory to the location of the source file
- New version weighted mean differs from the old one (PR#14142)