[ESS] [R] How do I set the working directory when using ESS and R under windows?
Patrick Connolly
p_connolly at slingshot.co.nz
Fri May 1 11:10:09 CEST 2009
On Fri, 01-May-2009 at 12:16AM +0200, Jose Quesada wrote:
|> Hi,
|>
|> While I'm a devoted vim user, I'm testing ESS :)
There is a list for ESS where this would be more appropriate, (see
https://stat.ethz.ch/mailman/listinfo/ess-help) so I'll Cc this to
ess-help at stat.math.ethz.ch.
|> How do I set the working directory when using ESS and R under
|> windows? When I try to launch R, it asks for a directory. In
|> windows, it simply doesn't let you pick a directory on the 'open'
But you can go about it a simpler way. It's clumsy compared to what
you can do in Linux, but with Windows, I find it easiest to associate
file type *.R to GnuEmacs so that in Windows Explorer, you just click
on the file name (make one to keep your R code in the right directory
if you don't already have one) and you automatically have Emacs in the
right directory so there's no need to change.
Part of the charm of ESS is that it comes with the charms of Emacs.
In particular, dired is very useful where you can change directories
to your heart's content without getting out of GnuEmacs.
HTH
--
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.
___ Patrick Connolly
{~._.~} Great minds discuss ideas
_( Y )_ Average minds discuss events
(:_~*~_:) Small minds discuss people
(_)-(_) ..... Eleanor Roosevelt
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.
More information about the ESS-help
mailing list