|
View:
New views
7 Messages
—
Rating Filter:
Alert me
|
|
|
Configuring emacs/ess on UbuntuHi all,
I don't know if this is the proper place to ask this, but I am trying to configure emacs/ess on Ubuntu 8.04 to run the way described for ESS and Xemacs in Windows (John Fox's guide). I installed ess as directed at http://ess.r-project.org/Manual/ . Under Windows I could use Emacs/ess fine (but I am obviously a novice at emacs), but am having trouble doing so in Ubuntu. At present I have loaded ess, and it opens as a buffer when emacs opens. But I can't open an R session with M-x-R, and can only open R if I have a pre-existing .R file. Also, I would like to have emacs, either by default or with a hot key, open up a file in the upper window and R in the lower. Any hints on how I can do this? Forgive me if these questions are too elementary. Wade [[alternative HTML version deleted]] ______________________________________________ R-help@... 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. |
|
|
Re: Configuring emacs/ess on UbuntuOn Sun, May 25, 2008 at 10:07:52AM -0400, Wade Wall wrote:
> I don't know if this is the proper place to ask this, but I am trying to > configure emacs/ess on Ubuntu 8.04 to run the way described for ESS and > Xemacs in Windows (John Fox's guide). I installed ess as directed at > http://ess.r-project.org/Manual/ . Under Windows I could use Emacs/ess fine > (but I am obviously a novice at emacs), but am having trouble doing so in > Ubuntu. At present I have loaded ess, and it opens as a buffer when emacs > opens. But I can't open an R session with M-x-R, and can only open R if I > have a pre-existing .R file. Also, I would like to have emacs, either by > default or with a hot key, open up a file in the upper window and R in the > lower. Any hints on how I can do this? If you install ess on Debian/Ubuntu via $ sudo apt-get install ess it should start automatically as an emacs startup file is registered. Dirk -- Three out of two people have difficulties with fractions. ______________________________________________ R-help@... 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. |
|
|
Re: Configuring emacs/ess on UbuntuHi Wade,
Wade Wall wrote: > Hi all, > > I don't know if this is the proper place to ask this, but I am trying to > configure emacs/ess on Ubuntu 8.04 to run the way described for ESS and I think the easiest way to install emacs/ess on Ubuntu 8.04 is via the repositories. Simply use your favorite package manager (I use synaptic) and choose the ess package. If Emacs hasn't been installed yet, it will do so automatically. I hope this helps, Roland ______________________________________________ R-help@... 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. |
|
|
Re: Configuring emacs/ess on Ubuntu $ sudo apt-get install
Installs installs ESS version 5.3.0. Is there a repository for more recent version? Thanks. --Dale On Sun, May 25, 2008 at 11:24 AM, Roland Rau <roland.rproject@...> wrote: > Hi Wade, > > Wade Wall wrote: >> >> Hi all, >> >> I don't know if this is the proper place to ask this, but I am trying to >> configure emacs/ess on Ubuntu 8.04 to run the way described for ESS and > > I think the easiest way to install emacs/ess on Ubuntu 8.04 is via the > repositories. > Simply use your favorite package manager (I use synaptic) and choose the ess > package. If Emacs hasn't been installed yet, it will do so automatically. > > I hope this helps, > Roland > > ______________________________________________ > R-help@... 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-help@... 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. |
|
|
Re: Configuring emacs/ess on UbuntuI 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 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? Wade [[alternative HTML version deleted]] ______________________________________________ R-help@... 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. |
|
|
Re: Configuring emacs/ess on UbuntuOn Sun, May 25, 2008 at 11:40:07AM -0400, Dale Steele wrote:
> $ sudo apt-get install > > Installs installs ESS version 5.3.0. Is there a repository for more > recent version? As it happens, "yes and no". There is now a small group working on Ess for Debian/Ubuntu, but there is no Ubuntu repository. But as the package is not binary, you can just fetch the most current Debian version (by hand). The package tracking (PTS) page is at http://packages.qa.debian.org/e/ess.html and the pool is at http://ftp.debian.org/debian/pool/main/e/ess/ Just grab the file from there; if you install with my favourite frontend wajig you can just do $ wajig install http://ftp.debian.org/debian/pool/main/e/ess/ess_5.3.8~svn3902-1_all.deb Hth, Dirk > > Thanks. --Dale > > On Sun, May 25, 2008 at 11:24 AM, Roland Rau <roland.rproject@...> wrote: > > Hi Wade, > > > > Wade Wall wrote: > >> > >> Hi all, > >> > >> I don't know if this is the proper place to ask this, but I am trying to > >> configure emacs/ess on Ubuntu 8.04 to run the way described for ESS and > > > > I think the easiest way to install emacs/ess on Ubuntu 8.04 is via the > > repositories. > > Simply use your favorite package manager (I use synaptic) and choose the ess > > package. If Emacs hasn't been installed yet, it will do so automatically. > > > > I hope this helps, > > Roland > > > > ______________________________________________ > > R-help@... 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-help@... 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. -- Three out of two people have difficulties with fractions. ______________________________________________ R-help@... 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. |
|
|
Re: Configuring emacs/ess on UbuntuHi 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@... 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. |
| Free embeddable forum powered by Nabble | Forum Help |