[ESS] ESS install questions: R-devel

Martin Maechler maechler at stat.math.ethz.ch
Wed Apr 23 16:11:47 CEST 2008


>>>>> "NJ" == Nitin Jain <nj7w at yahoo.com>
>>>>>     on Wed, 23 Apr 2008 06:55:02 -0700 (PDT) writes:

    NJ> Hi, I have a few questions about ESS:

    NJ> 1) I installed R-devel on Ubuntu and set an alias alias
    NJ> R-devel='~/R/R-devel/bin/R' in my .bash_aliases file.

that's not sufficient.
You must add 'R-devel' to your path.

One standard way {using bash} would be to do 

cd
mkdir bin
cd bin 
ln -s ~/R/R-devel/bin/R R-devel

and make sure that your '~/bin' is part of your PATH.
E.g., by (do this and add it to your ~/.bash_profile  !) :

export PATH=$PATH:~/bin


    NJ> Next, I downloaded ESS thru svn and in my init.el file,
    NJ> added:


    NJ> (load "/home/jainn4/installed/ESS/lisp/ess-site")


    NJ> When I start R in ESS: xemacs test.R -f R &

    NJ> I get the following message: (1) (initialization/error)
    NJ> An error has occurred while loading
    NJ> /home/jainn4/.xemacs/init.el: Cannot open load file:
    NJ> essl-bugs

    NJ> (although, R gets started)

I assume that's an Xemacs problem.  
Has anyone else seen this?


    NJ> 2) Next, I try to repeat the process with R-devel,
    NJ> Error: ess-site.el: ess-etc-directory Symbol's function
    NJ> definition is void: R-devel

    NJ> Now, R does not get started.

{yes; solution above}

    NJ> 3) Last, which editor is recommended for ESS - xemacs or
    NJ> emacs?

(GNU) emacs;  more than ever

    NJ> Thanks.  Nitin

you're welcome.
Martin




More information about the ESS-help mailing list