[ESS] recognizing R-alpha with ESS

Martin Maechler maechler at stat.math.ethz.ch
Wed Mar 26 18:47:20 CET 2008


>>>>> "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