Skip to content

Sub-Directories

3 messages · Michael Grant, MacQueen, Don, Ista Zahn

#
I would suggest that you think in terms of several different working
directories, one for each project and located wherever you want, rather
than a "WorkingDirectory" with sub-directories.

Then, when you start R, learn how to set its working directory to a
project's directory. That will keep your R work for each project
independent of the others.

As to how you set the working directory in Windows R, there are at least
two ways:

  1)  use the setwd() command at the R prompt

  2)  use some R console menu command (and here I can't help you, because
I don't use Windows)

The documentation on the Windows console will tell you of at least one
other way...

And someone who uses Windows R will give a better answer!

-Don
#
Hi Michael,

I see some confusion here. The objects() command does not list
"objects in the WorkingDirectory", but objects in your R environment.
R environments do not have directories or sub-directories, so I'm
finding your question very confusing. Can you clarify?

Best,
Ista

On Thu, Jul 26, 2012 at 5:12 PM, Michael Grant
<michael.grant at colorado.edu> wrote: