Here are the error messages: > install.packages('plotrix') Warning in install.packages("plotrix") : argument 'lib' is missing: using '/Users/dbae/Library/R/library' --- Please select a CRAN mirror for use in this session --- Error in .install.macbinary(pkgs = pkgs, lib = lib, contriburl = contriburl, : unable to create temporary directory '/tmp/RtmpSTiTJX/downloaded_packages' In addition: Warning message: In dir.create(tmpd) : cannot create dir '/tmp/RtmpSTiTJX/downloaded_packages', reason 'No such file or directory'
I can't understand this. Surely install.packages can create the necessary directories if it needs them. I thought there might be a problem of permissions, so I tried the following csh commands on my Mac: Tottie:~/<5>archive% ls -l /tmp lrwxr-xr-x 1 root admin 11 Aug 7 2008 /tmp@ -> private/tmp Tottie:~/<5>archive% ls -ld /private/tmp drwxrwxrwt 19 root wheel 646 Sep 22 09:13 /private/tmp/ Tottie:~/<5>archive% ls -l /private/tmp total 48 drwx------ 3 dbae wheel 102 Sep 22 10:41 502/ drwxr-xr-x 2 rona wheel 68 Sep 21 16:25 506/ drwxrwxrwx 5 dbae wheel 170 Sep 20 16:47 FLEXnet/ -rw-r--r-- 1 _usbmuxd wheel 0 Sep 18 15:38 MobileDevice.log -rw-r--r-- 1 dbae wheel 1185 Sep 20 22:39 alm.log -rw-r--r-- 1 dbae wheel 2928 Sep 20 22:39 amt.log -rw-r--r-- 1 dbae wheel 0 Sep 20 16:47 cs_cache_lock_502 -rw-r--r-- 1 security wheel 0 Sep 21 13:37 cs_cache_lock_92 drwxr-xr-x 3 dbae wheel 102 Sep 22 10:10 hsperfdata_dbae/ -rw------- 1 nobody wheel 36 Sep 22 10:51 objc_sharing_ppc_4294967294 -rw------- 1 dbae wheel 324 Sep 22 11:03 objc_sharing_ppc_502 -rw------- 1 rona wheel 84 Sep 21 18:23 objc_sharing_ppc_506 -rw------- 1 security wheel 24 Sep 22 09:13 objc_sharing_ppc_92 drwx------ 3 dbae wheel 102 Sep 13 20:04 ssh-6v6iI1izHg/ Thanks for any help. David -- View this message in context: http://www.nabble.com/trying-to-install-plotrix-tp25530666p25530666.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org 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.