Re: [R] Configuring emacs/ess on Ubuntu

From: Roland Rau <>
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

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

I hope this helps you further,
Roland mailing list PLEASE do read the posting guide 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 Please read the posting guide before posting to the list.

list of date sections of archive