Re: [R] change location of temporary files

2018-02-23 Thread Sariya, Sanjeev
@r-project.org> Subject: [R] change location of temporary files I would like to change where R stores the temporary files to my external hard drive in my iMac. This is important because the temporary files R creates are huge and I do not have enough available space in my internal HD.

Re: [R] change location of temporary files

2018-02-23 Thread Henrik Bengtsson
On Fri, Feb 23, 2018 at 1:55 PM, William Dunlap via R-help wrote: > Does setting the environment variable TMPDIR, before starting R, > to a directory on a bigger file system help? On Linux I get > > % mkdir /tmp/RTMP-BILL > % env TMPDIR=/tmp/RTMP-BILL R --quiet

Re: [R] change location of temporary files

2018-02-23 Thread William Dunlap via R-help
Does setting the environment variable TMPDIR, before starting R, to a directory on a bigger file system help? On Linux I get % mkdir /tmp/RTMP-BILL % env TMPDIR=/tmp/RTMP-BILL R --quiet --vanilla > tempdir() [1] "/tmp/RTMP-BILL/Rtmppgowz4" > tempfile() [1]

Re: [R] change location of temporary files

2018-02-23 Thread Hasan Diwan
Kumar, tempfile has a dir parameter that you can use to designate the directory the file will be created in.-- H On 23 February 2018 at 10:52, Kumar Mainali wrote: > I would like to change where R stores the temporary files to my external > hard drive in my iMac. This is

[R] change location of temporary files

2018-02-23 Thread Kumar Mainali
I would like to change where R stores the temporary files to my external hard drive in my iMac. This is important because the temporary files R creates are huge and I do not have enough available space in my internal HD. Again, this is for macOS. This change has to be temporary. Later I need to