Re: [R] Configuring emacs/ess on Ubuntu

From: Roland Rau <roland.rproject_at_gmail.com>
Date: Sun, 25 May 2008 12:09:08 -0400

Hi Wade,

Wade Wall wrote:
> I first installed through the package manager, but was unable to start R
> without opening a script file. So I installed from the tarball, but am
> still unable to open R using any commands; ESS loads into a buffer; but
> I can't use M-x-R to open R. the only way I can open R is to open a

are you sure R is installed?

> script file first. Maybe my question is, how do I create a new script
> file, type some commands, open R, and run script from the file?

this is a simple session which should work to create a new script file, typing some commands, opening R and run the whole content from the buffer in R. Please note that there might be a message like Cannot read history file /your/file/path
"C" refers to the CTRL key and "M" to the Meta key (-> ALT)

C-x C-f myscript.r
rnorm(100)

C-x 2
C-x o
M-x R
C-x o
C-c M-b



I hope this helps you further,
Roland



R-help_at_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. Received on Sun 25 May 2008 - 16:39:29 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 25 May 2008 - 18:30:41 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive