[ESS] recognizing R-alpha with ESS
Mark W Kimpel
mwkimpel at gmail.com
Wed Mar 26 19:02:27 CET 2008
Martin,
I have R-alpha in my ~/R_HOME and a link to it in my ~/bin. R-alpha is
invokable using ./R-alpha from either directory from bash. I put your
code in my .emacs file. ESS, however, is either still not seeing R-alpha
or I am not using it properly. From the ESS menu within Emacs, under
"Start Process" I have R and Other -> R-newest. Both invoke R-2.6.1,
also on my PATH.
What am I doing wrong?
Mark
Mark W. Kimpel MD ** Neuroinformatics ** Dept. of Psychiatry
Indiana University School of Medicine
15032 Hunter Court, Westfield, IN 46074
(317) 490-5129 Work, & Mobile & VoiceMail
(317) 204-4202 Home (no voice mail please)
mwkimpel<at>gmail<dot>com
******************************************************************
Martin Maechler wrote:
>>>>>> "MWK" == Mark W Kimpel <mwkimpel at gmail.com>
>>>>>> on Wed, 26 Mar 2008 13:17:41 -0400 writes:
>
> MWK> I just compiled R-alpha and put it on my PATH (Ubuntu). ESS is not
> MWK> recognizing it as newest or devel or anything else.
>
> MWK> Do I need to rename it?
>
> Yes, or (rather)
> put the following somewhere in your emacs start up code
> (e.g. ~/.emacs):
>
> -----8<----------8<----------8<----------8<----------8<-----
>
> ;;; R-patched and R-devel are now autocreated from ESS :
>
> ;; but these are not :
> (defun R-beta (&optional start-args)
> "Call the current beta version of R (using ESS)."
> (interactive "P") (let ((inferior-R-program-name "R-beta")) (R start-args)))
> (defun R-alpha (&optional start-args)
> "Call the current alpha version of R (using ESS)."
> (interactive "P") (let ((inferior-R-program-name "R-alpha")) (R start-args)))
> (defun R-rc (&optional start-args)
> "Call the current rc (Release Candidate) version of R (using ESS)."
> (interactive "P") (let ((inferior-R-program-name "R-rc")) (R start-args)))
> (defun R-pre-rel (&optional start-args)
> "Call the current Pre-rel(ease) version of R (using ESS)."
> (interactive "P") (let ((inferior-R-program-name "R-pre-rel")) (R start-args)))
>
> -----8<----------8<----------8<----------8<----------8<-----
>
> which is from our group's ~/.emacs equivalent.
>
> Regards,
> Martin
>
> MWK> Mark
> MWK> --
>
> MWK> Mark W. Kimpel MD ** Neuroinformatics ** Dept. of Psychiatry
> MWK> Indiana University School of Medicine
>
> MWK> 15032 Hunter Court, Westfield, IN 46074
>
> MWK> (317) 490-5129 Work, & Mobile & VoiceMail
> MWK> (317) 204-4202 Home (no voice mail please)
>
> MWK> mwkimpel<at>gmail<dot>com
>
> MWK> ______________________________________________
> MWK> ESS-help at stat.math.ethz.ch mailing list
> MWK> https://stat.ethz.ch/mailman/listinfo/ess-help
>
More information about the ESS-help
mailing list