Help for ESS for Splus6 in Linux
rossini at blindglobe.net
Tue Aug 21 20:52:21 CEST 2001
>>>>> "KH" == Kevin Hou <Hou> writes:
KH> I am new in ESS and have a simple (I hope) question in loading
KH> s functions. If I use c-c c-d to dump an existing function
KH> such as my.existing.s and edit it, I can load it with c-c c-l
KH> with no problem.
Actually, if you are editing it, c-c c-b from the buffer will "load"
it as well.
KH> with no problem. However, if I dump an non-existing function,
KH> say c-c c-d new.function.s and edit it, then I can not load it
KH> with c-c c-l. It goes to a tmp directory. Do I have to source
KH> it in from this directory every time I write a new function or
KH> is there a easier way to load a user written function. I like
KH> to write functions and then execute it within s because it
KH> instead of writing codes. Any help? Kevin Hou
(lambda () (file-name-as-directory
(concat (default-directory) ;(CAR ess-search-list)
will dump stuff in a subdirectory, R-src or S-src, of your current
working directory (running S/R), rather than in /tmp.
Then you can load out of that sub-directory.
Since I usually edit out of the subdirectory, I just make sure to
start one-level up, and load files from the subdirectory as needed for
editing (I almost never use C-c C-l, mainly C-c C-b, C-c C-r, C-c C-f,
and C-c C-n from the source code buffers that I'm editing).
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
-------- (wednesday/friday is unknown) --------
FHCRC: M-Tu : 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
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