[R] tab complete for R under ESS
A.J. Rossini
rossini at blindglobe.net
Fri May 3 00:57:45 CEST 2002
I've dumped it into the ESS Wiki, and generally, you should've, too!
(just paste it into the form at the bottom of
http://software.biostat.washington.edu/wikis/front/EmacsSpeaksStatistics
if it looks horrid, I'll clean it up later; I'm auto-notified of changes...)
For anyone else, feel free to add tips/tricks to that page. I'll
refactor it into smaller more meaningful pages (or someone else can,
too! just let me know)
best,
-tony
>>>>> "s" == S McClatchie <S.McClatchie> writes:
>> System info:
>> R Version 1.4.1 (2002-01-30) on Windows 2000
>> ESS v. 5.1.20 using emacs ver. 21.1.1
s> Colleagues
s> Some time ago I asked about tab complete functionality for R under
s> ESS on windows. I never got it working as well as I might have liked until
s> today. It is still slow the first time while all the environments are checked
s> but after that it works well.
s> The solution below might usefully go in the R-tips
s> <http://lark.cc.ukans.edu/~pauljohn/R/statsRus.html>.
s> **** Please note: credit goes to my colleague, Michael Manning, not to
s> me, especially if you do put this in R-tips *****
s> Here is the fix, in Martin's words:
s> ------------------------------------
s> The lines you need to change are in the file "ess-inf.el". You should
s> be able to find this file inside the lisp directory inside your ess
s> directory, e.g.
s> "c:\Program Files\XEmacs\xemacs-packages\lisp\ess-5.1.21\lisp"
s> You need to replace the line (comment out with ;;;)
s> "(ess-command (format inferior-ess-load-command filename)
s> errbuffer)"
s> with the lines
s> "(ess-command (format inferior-ess-load-command
s> (let ((directory-sep-char ?/))
s> (expand-file-name filename)))
s> errbuffer)"
s> and things should be sweet. NOTE: this works for ESS 5.1.21 or 5.1.20
s> (and R 1.4.1) under the win32 port of XEmacs 21.4.1. It also works for
s> GNU Emacs as the problem is in ESS, not (X)Emacs.
s> -------------------------------
s> Sam
s> Sam McClatchie,
s> Research scientist (fisheries acoustics))))))))))
s> http://www.smcc.150m.com/
s> NIWA (National Institute of Water & Atmospheric Research Ltd)
s> Postal address: PO Box 14 901, Kilbirnie, Wellington, New Zealand.
s> Street address: 301 Evans Bay Parade, Greta Point, 6003 Wellington, New Zealand.
s> phone 64-04-386-0300, FAX: 64-4-386 0574.
s> /\
...> <xX(°> // \\
s> /// \\\
s> //// \\\\
s> /// <°)Xx><<
s> ///// \\\\\\
>> <(((°>
>>> <(((°> ...>><xX(°>O<°)Xx><<
s> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
s> r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
s> Send "info", "help", or "[un]subscribe"
s> (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
s> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
--
A.J. Rossini Rsrch. Asst. Prof. of Biostatistics
U. of Washington Biostatistics rossini at u.washington.edu
FHCRC/SCHARP/HIV Vaccine Trials Net rossini at scharp.org
-------------- http://software.biostat.washington.edu/ ----------------
FHCRC: M-W: 206-667-7025 (fax=4812)|Voicemail is pretty sketchy/use Email
UW: Th: 206-543-1044 (fax=3286)|Change last 4 digits of phone to FAX
(my friday location is usually completely unpredictable.)
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
ess-help mailing list -- To (un)subscribe, send
subscribe or unsubscribe
(in the "body", not the subject !) To: ess-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the ESS-help
mailing list