Skip to content
Prev 155234 / 398506 Next

I don't know how to run a r-code written in emacs

2008/9/6 Luisa <lupasaviz at yahoo.com>:
You don't need to compile anything and you can use .R as an extension
for your R scripts (I believe someone else has suggested this already
though). What I usually do to run my scripts, is something like the
following:

R < foo.R,

where foo.R is the name of the script. The man page for R suggests
this usage (admittedly, though, it's perhaps not obvious) and there
are options listed in it that you may want to use.

For what it's worth, it makes no difference which editor you use to
write your code in.

Regards,

Nicky Chorley