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. Can anyone recommend an adequate editor? Many thanks and all the best, Werner
I feel emacs is portable enough for me. On 3/2/09, Werner Wernersen <pensterfuzzer at yahoo.de> wrote:> > 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. > > Can anyone recommend an adequate editor? > > Many thanks and all the best, > Werner > > > > > > ______________________________________________ > 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. >-- ==============================WenSui Liu Acquisition Risk, Chase Blog : statcompute.spaces.live.com I can calculate the motion of heavenly bodies, but not the madness of people.? -- Isaac Newton ===============================
Hello Werner, Did you already try to use the new version of Tinn-R (2.2.0.2) and R in USB stick? I use it without problem! A good idea is to have a backup of your system configuration also in the USB stick. Unzip it (in any place) and replace the folder Tinn-R where Tinn-R stores all ini files in the computer used and all yours preferences will be preserved. HTH, JCFaria Werner Wernersen wrote:> > > 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. > > Can anyone recommend an adequate editor? > > Many thanks and all the best, > Werner > > > > > > ______________________________________________ > 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. > >-- View this message in context: http://www.nabble.com/portable-R-editor-tp22291017p22297939.html Sent from the R help mailing list archive at Nabble.com.
Werner Wernersen <pensterfuzzer <at> yahoo.de> writes:> > > Hi, > > I have been dreaming about a complete R environment on my USB stick for along time. Now I finally want to> realize it but what I am missing is a good, portable editor for R which hastabs and syntax highlighting, can> execute code, has bookmarks and a little project file management facilitypretty much like Tinn-R has> those. I like Tinn-R but it seems like there is only a very old version ofTinn-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) 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-template-in- notepad.html) use Notepad++'s built-in capacity to run external tools to create new files from templates. Michael Bibo Queensland Health
Several messages last week debated about a portable R with Tinn-R. I made such an app just a few weeks ago. It's called R-TinnR-portables and is available here: http://otan.ecoledelapaix.org/spip.php?article102 Simply unzip the file downloadable under the name "R-2.8.1TinnR-portables". You'll have R with a bunch of packages and Tinn-R. It runs from a USB drive and network drive (if the network drive is shared, you should disable tooltip in Tinn-T). What is original about this is that I wrote a full bash script (runs on GNU/Linux with wine) to create the zip archive for MS Windows. The advantage are: - you can customise your script. If you want to change something to your portable R, juste change the appropriate line, run your script and wait a little while. - you can build it on GNU/Linux (I tested the result on Windows 2000, XP and Vista).. Here are some small extracts of the script: # set up your mirror: mirroir="http://cran.cict.fr" # just change this when a new stable R version comes out: dernierR="R-2.8.1" # you may add or remove basic R/Rgui components here: wine $dernierR-win32.exe /DIR='"'$pathWIN'"' /$interface /COMPONENTS="main, html, html/help, manuals, manuals/basic, manuals/technical, manuals/refman, tcl, Rd, trans" # you may add the packages you want here (instead of "..."): install.packages(pkgs=c("abind", "aplpack", "Cairo", ...), repos="'$mirroir'", dependencies=c("Depends", "Imports"), destdir="c:/RTinnRPortables'$aujourdhui'/temp", clean=F) Some comments in the script are in French, just ask me if you are interested, I'll translate them. Regards, Mayeul -- Dr. Mayeul KAUFFMANN Head of Research department Programme manager, UNESCO Network "Governance and peace" Ecole de la paix (School of Peace) 7 rue Tres-Cloitres 38000 GRENOBLE FRANCE Phone: + 33 4 76 63 81 41 Fax : + 33 4 76 63 81 42