|
DATA MINING
Desktop Survival Guide by Graham Williams |
|
|||
|
We can install R and Emacs (for editing R scripts and interacting with R) for MS/Windows onto a USB thumb drive. This then allows us to take our work on the memory stick, and plug it into any MS/Windows computer, and continue working. The requisite software is run from the thumb drive.
set HOME=%CD%\..\..\ runemacs ~/startup.R |
# This is a minimal file, essentially a convenience to load when # starting up Emacs to automatically split the window, and to start # up with R buttons in the toolbar. |
(setq-default usb-drive-letter (substring data-dictionary 0 3))
(setq-default inferior-R-program-name
(concat usb-drive-letter "r-2.11.1/bin/rterm.exe")
|
(setq-default ispell-program-name
(concat usb-drive-letter "GNU Emacs 22.3/aspell/bin/aspell.exe")
|
Then simply double click the shortcut E:/runemacs.bat, and Emacs should startup ready to run R.
Copyright © Togaware Pty Ltd Support further development through the purchase of the PDF version of the book.