Re: [R] How do I set the working directory when using ESS and R under windows?

2009-05-01 Thread Patrick Connolly
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-h...@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
  
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] How do I set the working directory when using ESS and R under windows?

2009-04-30 Thread Jose Quesada
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/

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.