set.tempdir changes the directury returned by
tempdir(). It should only be used after
(in particular when switching users) so that multiple processes don't
share the temporary directory.
string, path to use as the temporary directory
tempdir() is created and initialized on R startup and
should not be changed. However, when using
fork() the child
process inherits the same directory which may not be desirable, in
particular when the child wants to use
change the owner. In such cases
set.tempdir can be used to
change the temporary directory that R will be using.
path will be passed to
The newly set path
set.tempdir does not check that the path is valid and/or
writable. it is th eusere's responsibility to create teh path and then
set.tempdir, otherwise R may not function properly.
1 2 3 4 5 6
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.