[ESS] To run a block of R code using Emacs and ESS
Gustavo Lacerda
guse at optimizelife.com
Thu Nov 26 07:17:33 CET 2009
Suggestion: start R from this directory, rather than from the GNU buffer.
This can be done by opening the directory, or some file in it (C-x C-f).
To automate the above, you could add to your .emacs: (dired "F:/R-2.10.0/bin")
Gustavo
On Wed, Nov 25, 2009 at 5:07 PM, Debabrata Midya
<Debabrata.Midya at services.nsw.gov.au> wrote:
>
> Dear ESS users,
>
> Thanks in advance.
>
> I am new to ESS.
>
> I am using GNU Emacs-23.1.1 [GNU Emacs and ESS - All-in-one installation file for MS Windows, by Vincent Goulet].
>
> I am using R 2.10.0 on Windows XP.
>
> I need you assistance to solve the problem below:
>
> 1. Running R Code
>
> I select a block of code and then use C-c C-r to run
>
> For the first time I need to type manually F:/R-2.10.0/bin/ at ESS [S(R): Rterm] starting data directory?
>
> That means:
> ESS [S(R): Rterm] starting data directory? F:/R-2.10.0/bin/
>
> If I come out of Emacs as well as from R and try to run R code, I need to type F:/R-2.10.0/bin/ once again at ESS [S(R): Rterm] starting data directory?
>
> Is there any way I can automate this?
>
>
> Once again, thank you very much for the time you have given.
>
> I am looking forward for your reply.
>
> Regards,
>
> Deb
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> ESS-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help
>
More information about the ESS-help
mailing list