[R] How do I set the Windows temporary directory in R?

stephen sefick ssefick at gmail.com
Wed Mar 18 03:17:47 CET 2009


?setwd()
I don't have a windows machine to work on, but this should work.

On Tue, Mar 17, 2009 at 10:14 PM, andrew <andrewjohnroyal at gmail.com> wrote:
> setwd
>
> On Mar 18, 12:42 pm, Jonathan Greenberg <greenb... at ucdavis.edu> wrote:
>> I'm trying to redirect where temporary files go under R to
>> D:\temp\somerandomname from its default (C:\Documents and
>> Settings\username\Temp\somerandomname) -- how do I go about doing this?
>>
>> --j
>>
>> --
>>
>> Jonathan A. Greenberg, PhD
>> Postdoctoral Scholar
>> Center for Spatial Technologies and Remote Sensing (CSTARS)
>> University of California, Davis
>> One Shields Avenue
>> The Barn, Room 250N
>> Davis, CA 95616
>> Cell: 415-794-5043
>> AIM: jgrn307, MSN: jgrn... at hotmail.com, Gchat: jgrn307
>>
>> ______________________________________________
>> R-h... at r-project.org mailing listhttps://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guidehttp://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>
> ______________________________________________
> R-help at 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.
>



-- 
Stephen Sefick

Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods.  We are mammals, and have not exhausted the
annoying little problems of being mammals.

								-K. Mullis




More information about the R-help mailing list