setwdOS | R Documentation |
Similar to setwd()
, this function sets the working directory to a
user-defined path. Rather than supplying a single 'dir' argument, however,
both an OS-sensitive path to the desired hard disk partition and, optionally,
an extension of this file path are required.
setwdOS(lin = "/media/permanent/", win = "C:/", ext = NULL)
lin, win |
Absolute file paths to the Linux and Windows partition as
|
ext |
Optional file path extension as |
Florian Detsch
switch()
.
## Not run: # desired partition setwdOS() # including file path extension setwdOS(ext = "kilimanjaro/nubiscope") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.