[R] trouble installing R-patched (R-2.12.0) when TMPDIR is specified

Andrew Yee
Mon, 18 Oct 2010 00:15:55 -0000

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]]