[R] portable R editor
Mayeul Kauffmann
mayeul.kauffmann at ecoledelapaix.org
Tue Mar 31 15:59:36 CEST 2009
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
More information about the R-help
mailing list