[R] Installing packages with R v.2.3.1 on MAC OS X -- Error: "Cannot chdir: No such file or directory"

From: Snaebjorn Gunnsteinsson <sgunnste_at_jhsph.edu>
Date: Thu 21 Sep 2006 - 16:16:58 GMT

Dear all,

    I'm working on MAC OS X 10.4.7 using R version 2.3.1 (June 2006) and platform powerpc-apple-darwin8.6.0. Since I installed the new version of R I cannot install packages any more (but it worked fine before) and get the following message every time. I can, however, install packages from the command line if I get them as precompiled binaries.

> install.packages("foreign", lib="~/libs/Rlibs")
trying URL '
http://www.biometrics.mtu.edu/CRAN/bin/macosx/powerpc/ contrib/2.3/foreign_0.8-15.tgz'
Content type 'application/x-gzip' length 268096 bytes opened URL

downloaded 261Kb

tar: ~/libs/Rlibs/file77a4044d: Cannot chdir: No such file or directory tar: Error is not recoverable: exiting now

gzip: stdout: Broken pipe
Error in sprintf(gettext(fmt, domain = domain), ...) :

         argument is missing, with no default

The command did create the directory (i.e. ~/libs/Rlibs/file77a4044d) on my system and has open priviledges (i.e. drwxr-xr-x) but is empty. I've tried 'sudo R' but that does not help and cannot find anything helpful on this in the R-help archives or FAQ.

Thanks in advance for your help,
I would really appreciate any help in solving this, best regards,

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Fri Sep 22 04:57:21 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 21 Sep 2006 - 20:30:18 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.