Multiple versions of R
Andreas Kiermeier
Andreas.Kiermeier at adelaide.edu.au
Thu Dec 11 10:46:40 CET 2003
Thanks Martin - works a treat!
Cheers,
Andreas
>>>>> "Martin" == Martin Maechler <maechler at stat.math.ethz.ch> writes:
Martin> You need to make sure that something like "R-1.7" is in your
Martin> PATH, i.e., works when typed in a "terminal".
Martin> Then, use something like {I have} in the equivalent of your
Martin> ~/.emacs (something like _emacs in Windows I think) :
Martin> (defun R-1.5 (&optional start-args)
Martin> "Call R-1.5, i.e., R version 1.5.1 (2002-06-17) using ESS."
Martin> (interactive "P")(let ((inferior-R-program-name "R-1.5"))(R start-args)))
Martin> (defun R-1.6 (&optional start-args)
Martin> "Call R-1.6, i.e., R version 1.6.2 (2003-01-10) using ESS."
Martin> (interactive "P")(let ((inferior-R-program-name "R-1.6"))(R start-args)))
Martin> (defun R-1.7 (&optional start-args)
Martin> "Call R-1.7, i.e., R version 1.7.1 (2003-06-16) using ESS."
Martin> (interactive "P")(let ((inferior-R-program-name "R-1.7"))(R start-args)))
Martin> (defun R-1.8 (&optional start-args)
Martin> "Call R-1.8, i.e., the latest R version 1.8.x using ESS."
Martin> (interactive "P")(let ((inferior-R-program-name "R-1.8"))(R start-args)))
--
Andreas Kiermeier
Senior Biometrician
BiometricsSA (Adelaide University/SARDI)
GPO Box 397, Adelaide, SA 5001, Australia
Email: Andreas.Kiermeier at adelaide.edu.au
WWW: http://www.BiometricsSA.adelaide.edu.au/
Mbl: 0423 028 565
Phone: +61 8 8303 6819
Fax: +61 8 8303 6761
-----------------------------------------------------------
This email message is intended only for the addressee(s)
and contains information that may be confidential and/or
copyright. If you are not the intended recipient please
notify the sender by reply email and immediately delete
this email. Use, disclosure or reproduction of this email
by anyone other than the intended recipient(s) is strictly
prohibited. No representation is made that this email or
any attachments are free of viruses. Virus scanning is
recommended and is the responsibility of the recipient.
More information about the ESS-help
mailing list