Hi,
after starting Emacs/ESS/R environment I tried to launch "edit" or
"fix". This normally should fire up the $editor, isn't it.
Instead of this I regularily I run into an error that there something
wrong with $editor.
-----------------------------------------------
> op <- options(); str(op)
Amongst many entries you'll find this:
$ editor : chr "emacsclient"
------------------------------------------------
Seems to be plain obivious that this command (instead of 'emacs' or
'/usr/bin/emacs') would never run.
So an options(editor="emacs") does the trick, I already found
out......
But it is very uncomfortable to set the $editor variable every time when
you return to R!
I've tried to achieve this by:
save.image()
or
q("yes")
and also:
options(OPT = emacs)
options(EDITOR=emcas)
but this didn't work! Next time I fired up Emacs/ESS/R again, the
$editor variable is still defaulting to "emacsclient"?!
Is there any possiblity to adjust and store this variable (and others)
permanently ? My search on this topic in R-Mailing-Archives failed.
regards
Thomas
platform i386-pc-linux-gnu
arch i386
os linux-gnu
system i386, linux-gnu
status
major 1
minor 9.1
year 2004
month 06
day 21
language R
in the offical documnets,not much about data maniplution. any one can give me some hints about data manipulation with R or awk or sed? any help will be appreciated. i want to tranfer from windows to linux,but when i deal with data manipulation,i have to turn to windows,i hope i can do my job under MDK linux whole.
rongguiwong <0034058 <at> fudan.edu.cn> writes:
:
: in the offical documnets,not much about data maniplution.
: any one can give me some hints about data manipulation with R or awk or sed?
: any help will be appreciated.
: i want to tranfer from windows to linux,but when i deal with data
: manipulation,i have to turn to windows,i hope i can do my job under MDK
linux
: whole.
If your question is how, in general, to find information on R,
go the R home page by entering the single letter R into google and then
look at the links under Documentation in the left hand pane.
If your question is how to preprocess data with sed or awk try this:
mydata <- read.table(pipe("awk -f filter.awk input.txt"))