After (too much) research, I've settled on SciTE, which is an open source
editor.  I really wanted emacs to work, but the crazy keyboard shortcuts
were killing me.

For SciTE to work, it takes a little work.
First open the global options file and change "#import r" to "import r" to
enable R syntax highlighting.

You can stop now if you like, or you can compile directly in SciTE.
(Personally, I'm happy enough to copy and past in the code by hitting
control-c, alt-tab, then control-v.)

To compile in SciTE you have to open the r.Proerties file (available from
the "options" menu), and add the following lines:
if PLAT_WIN
####command.go.*.R="C:\Program Files\R\R-2.8.1\bin\Rscript.exe" --no-save
"$(FileNameExt)"
    command.go.*.R="C:\Program Files\R\R-2.8.1\bin\Rscript.exe" --save
--restore "$(FileNameExt)"
    command.go.subsystem.*.R=0

(You can remove the comment "#"s from the one line to disable automatic
workspace saving)

This method will compile inside SciTE, not the GUI you have open!  It will
output graphs to your working directory

I've also done a heap of work trying to submit to the open GUI, ideally line
by line.  I found some code (
http://www.sciviews.org/_rgui/projects/TpR_1.0.2.zip) that I'm sure holds
the answer, but I don't know how to use it. If someone figures it out please
let me know.
Substituting this line in SciTE r.Properties does something, but doesn't
work:
command.go.*.R="C:\TpR communicator\TpR.exe" "$(FileNameExt)"


On Tue, Mar 3, 2009 at 4:28 PM, Erich Neuwirth
<erich.neuwi...@univie.ac.at>wrote:

> EditPad Pro is commercial, which makes it a nonchoice for recommending
> it to my students.
> I recently switched from tinn-R to Notepad++ with NppToR and am quite
> happy with it. tinn-R is quite good, but possibly the project is
> getting too ambitous now. It needs quite some fiddling with
> Rprofile.site to make it work.
>
>
>
>
>
> Thompson, David (MNR) wrote:
> > Werner,
> >
> > Another alternative is EditPad Pro <http://www.editpadpro.com/>.
> >
> > DaveT.
> > *************************************
> > Silviculture Data Analyst
> > Ontario Forest Research Institute
> > Ontario Ministry of Natural Resources
> > david.john.thomp...@ontario.ca
> > http://ontario.ca/ofri
> > *************************************
> >> -----Original Message-----
> >> From: Andrew Redd [mailto:ar...@stat.tamu.edu]
> >> Sent: March 2, 2009 10:29 PM
> >> To: Michael Bibo
> >> Cc: r-h...@stat.math.ethz.ch
> >> Subject: Re: [R] portable R editor
> >>
> >> Thanks for the plug on NppToR.  Yes it is portable, but a few of the
> >> features don't work. I have it on my plan to have a launcher for the
> >> portable apps menu.  Also the website for NppToR is now
> >> https://sourceforge.net/projects/npptor/
> >>
> >> On my personal website I also keep, semi-up-to-date a
> >> portableapps.comcompatible launcher for R.
> >> http://www.stat.tamu.edu/~aredd/site/?q=node/2<http://www.stat.tamu.edu/%7Earedd/site/?q=node/2>.
>  There is a full
> >> installation and just the launcher.  If you download just the
> >> launcher you
> >> can install the latest version of R into the bin directory and It will
> >> work.  I think it is version 2.8.0 in the installer.  I'll
> >> update that soon.
> >>
> >> Andrew Redd
> >>
> >> On Mon, Mar 2, 2009 at 8:13 PM, Michael Bibo
> >> <michael_b...@health.qld.gov.au
> >>> wrote:
> >>> Werner Wernersen <pensterfuzzer <at> yahoo.de> writes:
> >>>
> >>>>
> >>>> Hi,
> >>>>
> >>>> I have been dreaming about a complete R environment on my
> >> USB stick for a
> >>> long time. Now I finally want to
> >>>> realize it but what I am missing is a good, portable
> >> editor for R which
> >>> has
> >>> tabs and syntax highlighting, can
> >>>> execute code, has bookmarks and a little project file
> >> management facility
> >>> pretty much like Tinn-R has
> >>>> those. I like Tinn-R but it seems like there is only a
> >> very old version
> >>> of
> >>> Tinn-R which works standalone.
> >>>
> >>> Hi Werner,
> >>>
> >>> Three options:
> >>>
> >>> I have previously posted about using Emacs + ESS on a USB stick:
> >>> http://finzi.psych.upenn.edu/R/Rhelp02/archive/107419.html
> >>>
> >>> Tinn-R will work portably.  I have simply copied the installed Tinn-R
> >>> folder
> >>> from one machine to another on which I do not have
> >> administrator privileges
> >>> and therefore cannot do a normal install.
> >>>
> >>> Another option is Notepad++ (http://notepad-
> >>> plus.sourceforge.net/uk/site.htm).  There is even a portable version
> >>> available
> >>> fom www.portableapps.com.  Andrew Redd has created (and is
> >> continuing to
> >>> develop) NppToR
> >> (http://www.stat.tamu.edu/~aredd/site/?q=node/37<http://www.stat.tamu.edu/%7Earedd/site/?q=node/37>
> <http://www.sta
> >> t.tamu.edu/%7Earedd/site/?q=node/37>)
> >>> which
> >>> provides syntax highlighting, code folding and code passing to R.
> >>>  Notepad++
> >>> has a tabbed interface as well as add-ons including a file explorer,
> >>> windows
> >>> manager and multiclipboard manager.  It also allows for the
> >> recording of
> >>> macros, and the instructions found at this blog
> >>>
> >> (http://aztecpassage.blogspot.com/2007/11/load-new-file-from-te
> >> mplate-in-
> >> notepad.html<http://aztecpassage.blogspot.com/2007/11/load-new-
> >> file-from-template-in-%0Anotepad.html>)
> >>> use Notepad++'s built-in capacity to run external tools to
> >>> create new files from templates.
> >>>
> >>>
> >>> Michael Bibo
> >>> Queensland Health
> >>>
> >>> ______________________________________________
> >>> R-help@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.
> >>>
> >>      [[alternative HTML version deleted]]
> >>
> >>
> >>
> >
> > ______________________________________________
> > R-help@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.
> >
> >
> > ------------------------------------------------------------------------
> >
> >
> > No virus found in this incoming message.
> > Checked by AVG - www.avg.com
> > Version: 8.0.237 / Virus Database: 270.11.6/1980 - Release Date: 03/02/09
> 23:02:00
> >
>
> --
> Erich Neuwirth, University of Vienna
> Faculty of Computer Science
> Computer Supported Didactics Working Group
> Visit our SunSITE at http://sunsite.univie.ac.at
> Phone: +43-1-4277-39464 Fax: +43-1-4277-39459
>
> ______________________________________________
> R-help@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.
>

        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to