Jose Quesada
2009-Apr-30 22:16 UTC
[R] How do I set the working directory when using ESS and R under windows?
Hi, While I'm a devoted vim user, I'm testing ESS :) 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' dialog. It may be a problem with windows server 2008 64 bit, though, as it seems really basic. Thanks. Best, -Jose -- Jose Quesada, PhD. Max Planck Institute, Center for Adaptive Behavior and Cognition -ABC-, Lentzeallee 94, office 224, 14195 Berlin http://www.josequesada.name/
Patrick Connolly
2009-May-01 09:10 UTC
[R] How do I set the working directory when using ESS and R under windows?
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 ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.