Using Tinn-R (in windows) is possible to run latex and R from the same editor, which was great. Now, I am using Ubuntu-linux, which has been better than WinXP. Currently, I am using Emacs (and then install ESS) for running LaTeX and R from a same editor-program (like i was doing with Tinn-R in windows). Nevertheless, and even though i have been using Emacs for almost 2 years, it is not as friendly as i would like. I was wondering if you know of a linux editor that is able to run R and compile LaTeX files from it. Please let me know ------------------------------------------------------------------------------- Christian Salas E-mail:christian.salas at yale.edu PhD student http://environment.yale.edu/salas School of Forestry & Environmental Studies Tel: +1-(203)-432 5126 Yale University Fax:+1-(203)-432 3809 360 Prospect St Office: Room 35, Marsh Hall New Haven, CT 06511-2189 USA
On Friday 05 October 2007, Christian Salas wrote:> Using Tinn-R (in windows) is possible to run latex and R from the same > editor, which was great. Now, I am using Ubuntu-linux, which has been > better than WinXP. Currently, I am using Emacs (and then install ESS) > for running LaTeX and R from a same editor-program (like i was doing > with Tinn-R in windows). Nevertheless, and even though i have been using > Emacs for almost 2 years, it is not as friendly as i would like. > I was wondering if you know of a linux editor that is able to run R and > compile LaTeX files from it. > > Please let me knowIn linux I prefer: Kile for Latex Kate / Kwrite for R cheers, Dylan> --------------------------------------------------------------------------- >---- Christian Salas E-mail:christian.salas at yale.edu > PhD student http://environment.yale.edu/salas > School of Forestry & Environmental Studies Tel: +1-(203)-432 5126 > Yale University Fax:+1-(203)-432 3809 > 360 Prospect St Office: Room 35, Marsh Hall > New Haven, CT 06511-2189 > USA > > ______________________________________________ > 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.-- Dylan Beaudette Soil Resource Laboratory http://casoilresource.lawr.ucdavis.edu/ University of California at Davis 530.754.7341
> I was wondering if you know of a linux editor that is able to run R and > compile LaTeX files from it.I assume you already know auctex for emacs. Well, currently I use emacs+auctex for latex and kate for R. ess doesn't satisfy me, and I find R processes much slower when launched within emacs. kate has syntax highlighting for R scripts and I run R in the built-in terminal on the lower part of the screen. I use the mouse to copy/paste lines from a script to the R command line. It's not a keyboard-only solution (kate lacks the facilities that emacs provides, in this matter), but it works great. ScionForbai
On 10/5/07, Christian Salas <christian.salas at yale.edu> wrote:> I was wondering if you know of a linux editor that is able to run R and > compile LaTeX files from it.Well, there is Winefish for LaTeX and Bluefish for R. The former is based on the latter. Not exactly one editor, but you may be interested in looking at them both. Maybe they have plugins or something. Regards, Liviu
On 2007-October-05 , at 18:56 , Christian Salas wrote:> Using Tinn-R (in windows) is possible to run latex and R from the same > editor, which was great. Now, I am using Ubuntu-linux, which has been > better than WinXP. Currently, I am using Emacs (and then install ESS) > for running LaTeX and R from a same editor-program (like i was doing > with Tinn-R in windows). Nevertheless, and even though i have been > using > Emacs for almost 2 years, it is not as friendly as i would like. > I was wondering if you know of a linux editor that is able to run R > and > compile LaTeX files from it.I would look for an editor with scripting capabilities in which case sending the selection/current line to a terminal and running latex on the current file are really easy. Then if you want special features such as snippets, auto-completion and all you should probably keep a dedicated editor. I am using TextMate on OS X currently and find it very powerful in combination with a plain old terminal[1]. An "equivalent" of TextMate on Linux could be Scribes: http://scribes.sourceforge.net/ I don't know wether it has some functions designed explicitly for R or LaTeX but it is extensible and chances are that people already wrote scripts for you to use. I would be interested in knowing what you find, since I essentially have the same needs and stayed on OS X in great part because of TextMate. I would be happy to find a linux replacement and ditch my half-bitten apple for a penguin. [1] http://jo.irisson.free.fr/?p=32 JiHO --- http://jo.irisson.free.fr/
Hi,> What features are you missing in emacs that you wish were there? Are > these ESS features or LaTeX related features?is it only me or has anyone else the problem that running an R process within emacs is way much slower than in a regular terminal/console? (linux here)
> kate infact allows you to pipe commands to console (tools->pipe to > console). I have pretty much the same setup as you. But I have defined > a shortcut for piping the commands to console in kate. So I just > have to highlight commands using shift and arrow keys, and press F4 > (my shortcut) and the commands go to an R process running in the > console. A perfect keyboard-only solution.Yes, I know, I defined ctrl+shift+c ;) What I meant is that you cannot switch to the console to use R interactively, and then come back to the text file again, without using the mouse. I often switch between the R command line and the text where I save the commands and the functions, and I need to touch the mouse for that. In emacs+ess this is straightforward, keyboard-only.
Christian Salas wrote:> Using Tinn-R (in windows) is possible to run latex and R from the same > editor, which was great. Now, I am using Ubuntu-linux, which has been > better than WinXP. Currently, I am using Emacs (and then install ESS) > for running LaTeX and R from a same editor-program (like i was doing > with Tinn-R in windows). Nevertheless, and even though i have been using > Emacs for almost 2 years, it is not as friendly as i would like. > I was wondering if you know of a linux editor that is able to run R and > compile LaTeX files from it. > > Please let me knowAs nobody mentioned it so far: Eclipse is doing, as far as I remember, exactly what you are looking for: offering functionality for R and for LaTeX. But I didn't like it because it uses Java (I prefer to avoid Java - to much overhang for my taste) and the R-console was relatively unstable (but that was some time ago and I amusing emacs + ESS now...) Rainer> > ------------------------------------------------------------------------------- > Christian Salas E-mail:christian.salas at yale.edu > PhD student http://environment.yale.edu/salas > School of Forestry & Environmental Studies Tel: +1-(203)-432 5126 > Yale University Fax:+1-(203)-432 3809 > 360 Prospect St Office: Room 35, Marsh Hall > New Haven, CT 06511-2189 > USA > > ______________________________________________ > 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.
Albrecht, Dr. Stefan (APEP)
2007-Oct-11 08:30 UTC
[R] Linux editor for R+LaTeX, but not Emacs
Dear Christian, maybe the Eclipse plug-in for R http://www.walware.de/goto/statet is ok for you. I have recently looked at it more closely and find it pretty good. It only lacks an outline and symbolic debugging (besides profiling) to be close to perfect. There are plug-ins for many other languages for Eclipse, among them also for Latex, although I am not much familiar with it. Furthermore, Eclipse is cross-platform, so it should also work with Unix. S-Plus has also written a plug-in for Eclipse which is a clear indication of the quality and power of this very versatile IDE. Best regards, Stefan ____________________________________ Dr. Stefan Albrecht, CFA Allianz Private Equity Partners GmbH Königinstr. 19 | 80539 Munich | Germany Phone: +49.(0)89.3800.18317 Fax: +49.(0)89.3800.818317 EMail: stefan.albrecht@allianz.com <mailto:stefan.albrecht@allianz.com> Web: www.apep.com <http://www.apep.com/> Allianz Private Equity Partners GmbH | Geschäftsführung: Wan Ching Ang, Karl Ralf Jung Sitz der Gesellschaft: München | Registergericht: München HRB 126221 | Ust-ID-Nr.: DE 813 264 786 [[alternative HTML version deleted]]