Re: [R] trouble installing R-patched (R-2.12.0) when TMPDIR is specified
On Sun, 17 Oct 2010, Andrew Yee wrote: I noticed that if I specify the location of TMPDIR in .bashrc as follows on a Linux 64 bit system: export TMPDIR=/store/home/ayee/.tmp I get the following error message when installing R 'installing' or making? Looks like the latter. make[3]: Entering directory `/home/ayee/R-patched/src/library/base' building package 'base' make[4]: Entering directory `/home/ayee/R-patched/src/library/base' /bin/sh: line 8: /store/home/ayee/.tmp/R24402: No such file or directory mv: cannot stat `/store/home/ayee/.tmp/R24402': No such file or directory make[4]: *** [mkR] Error 1 make[4]: Leaving directory `/home/ayee/R-patched/src/library/base' make[3]: *** [all] Error 2 make[3]: Leaving directory `/home/ayee/R-patched/src/library/base' make[2]: *** [R] Error 1 make[2]: Leaving directory `/home/ayee/R-patched/src/library' make[1]: *** [R] Error 1 make[1]: Leaving directory `/home/ayee/R-patched/src' make: *** [R] Error 1 [rambo:~/R-patched]$ However, when I don't specify TMPDIR, it installs fine. Any suggestions/comments? Check if /store/home/ayee/.tmp exists and is writeable. I get that message only if it does not. From the manual Ensure that the environment variable TMPDIR is either unset (and /tmp exists and can be written in and scripts can be executed from) or points to a valid temporary directory (one from which execution of scripts is allowed). Thanks, Andrew [[alternative HTML version deleted]] Please do as we ask and not send HTML. __ 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. -- Brian D. Ripley, rip...@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, UKFax: +44 1865 272595 __ 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.
Re: [R] trouble installing R-patched (R-2.12.0) when TMPDIR is specified
I'm mortified to report that the location I set in TMPDIR was not a valid directory in the system I was using (I copied it from another system), so this is a mea culpa on my part! Andrew On Mon, Oct 18, 2010 at 7:46 AM, Prof Brian Ripley rip...@stats.ox.ac.uk wrote: On Sun, 17 Oct 2010, Andrew Yee wrote: I noticed that if I specify the location of TMPDIR in .bashrc as follows on a Linux 64 bit system: export TMPDIR=/store/home/ayee/.tmp I get the following error message when installing R 'installing' or making? Looks like the latter. make[3]: Entering directory `/home/ayee/R-patched/src/library/base' building package 'base' make[4]: Entering directory `/home/ayee/R-patched/src/library/base' /bin/sh: line 8: /store/home/ayee/.tmp/R24402: No such file or directory mv: cannot stat `/store/home/ayee/.tmp/R24402': No such file or directory make[4]: *** [mkR] Error 1 make[4]: Leaving directory `/home/ayee/R-patched/src/library/base' make[3]: *** [all] Error 2 make[3]: Leaving directory `/home/ayee/R-patched/src/library/base' make[2]: *** [R] Error 1 make[2]: Leaving directory `/home/ayee/R-patched/src/library' make[1]: *** [R] Error 1 make[1]: Leaving directory `/home/ayee/R-patched/src' make: *** [R] Error 1 [rambo:~/R-patched]$ However, when I don't specify TMPDIR, it installs fine. Any suggestions/comments? Check if /store/home/ayee/.tmp exists and is writeable. I get that message only if it does not. From the manual Ensure that the environment variable TMPDIR is either unset (and /tmp exists and can be written in and scripts can be executed from) or points to a valid temporary directory (one from which execution of scripts is allowed). Thanks, Andrew [[alternative HTML version deleted]] Please do as we ask and not send HTML. __ 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. -- Brian D. Ripley, rip...@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 __ 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.
[R] trouble installing R-patched (R-2.12.0) when TMPDIR is specified
I noticed that if I specify the location of TMPDIR in .bashrc as follows on a Linux 64 bit system: export TMPDIR=/store/home/ayee/.tmp I get the following error message when installing R make[3]: Entering directory `/home/ayee/R-patched/src/library/base' building package 'base' make[4]: Entering directory `/home/ayee/R-patched/src/library/base' /bin/sh: line 8: /store/home/ayee/.tmp/R24402: No such file or directory mv: cannot stat `/store/home/ayee/.tmp/R24402': No such file or directory make[4]: *** [mkR] Error 1 make[4]: Leaving directory `/home/ayee/R-patched/src/library/base' make[3]: *** [all] Error 2 make[3]: Leaving directory `/home/ayee/R-patched/src/library/base' make[2]: *** [R] Error 1 make[2]: Leaving directory `/home/ayee/R-patched/src/library' make[1]: *** [R] Error 1 make[1]: Leaving directory `/home/ayee/R-patched/src' make: *** [R] Error 1 [rambo:~/R-patched]$ However, when I don't specify TMPDIR, it installs fine. Any suggestions/comments? Thanks, Andrew [[alternative HTML version deleted]] __ 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.