RE: [R] ess in Windows (newbie Q)

2004-12-08 Thread Rau, Roland
Reposting... 

-Original Message-
From: Rau, Roland 
Sent: Tuesday, December 07, 2004 2:39 PM
To: '[EMAIL PROTECTED]'; [EMAIL PROTECTED]
Subject: RE: [R] ess in Windows (newbie Q)

Hi,

 -Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Murray Eisenberg

4.  Anything else I should check or do to proceed?

I think you have to change something in the file ess-site.el
Depending on your version of ESS, the line number may vary.
In older versions it was at about line 250.
In my current version (from 28 July 2004) it is in line 326.
You should see something like:
;;(setq-default inferior-S+5-program-name Splus5)
;;(setq-default inferior-S+6-program-name Splus6)
;;(setq-default inferior-R-program-name R)  ; unix systems
;;(setq-default inferior-R-program-name Rterm)  ; msdos systems
the last line should be uncommented (by removing the two ;) and the
correct path should be specified.
In my case it looks like this:

(setq-default inferior-R-program-name
U:\\R\\rw2000beta\\bin\\Rterm.exe)


Is this of any help for you?

Best,
Roland


+
This mail has been sent through the MPI for Demographic Rese...{{dropped}}

__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: [R] ess in Windows (newbie Q)

2004-12-07 Thread A.J. Rossini
The basic problem is that ESS is not being loaded.  To find the init
file, pull down the Help menu item and I believe that there is an
entry Edit Init File (or similar -- I don't have access to (X)Emacs
right now).

Alternatively, after starting Emacs, open up:

~/.emacs

and put it there (it will select your home directory for you).

i.e. C-x C-f ~/.emacs
or

 M-x find-file ret ~/.emacs

Apologies for being pedantic, if that happens to be the case.

best,
-tony



On Tue, 07 Dec 2004 00:18:59 -0500, Murray Eisenberg
[EMAIL PROTECTED] wrote:
 I'm a rank beginner with R, and I'm stumped at how to get it to work
 with Xemacs under Windows XP. I'm afraid there are some VERY basic
 questions I have here.  Yes, I did read
 http://ess.r-project.org/Manual/readme.html.
 
 Both R and Xemacs are installed and working.  The current ess files are
 installed in a subdirectory of my Xemacs directory.  I added the R bin
 directory to my Windows PATH environment variable.
 
 But when I start Xemacs and then give command
 
   M-x-R
 
 what I see in the mini-buffer is
 
   M-x-Rd-
 
 and it's waiting for more input.
 
 So what could be wrong?  
 
 1. Where might I find or should I put the requisite Xemacs init.el, in
 which I'm supposed to enter a line of the form
 
   (load /PATH/ess-site)
 
 to point to the ess location?  I found no such file anywhere on my
 system, so I created one in each of the _two_ HOME directories I have --
 one pointed to by the enviroment system variable HOME and the other
 pointed to by the user environment variable HOME (which seem to be
 different -- I don't recall whether that happened automatically when I
 installed Singular or whether I did it manually).
 
 2. And what should that file actually be called?  The ess docs say it
 should be %HOME%/.xemacs/init.el for Xemacs, but they also say to put it
 in the .emacs (or _emacs) file or default.el or site-init.el.
 
 I'm using init.el.
 
 3. Did I get the form of that line correct for init.el (or whatever it
 should actually be named)?  My file ess-site.el is in
 
 D:\WP\XEmacs\ess-5.2.3\lisp
 
 so the line I actually put into default.el is:
 
   (load /D:/WP/XEmacs/ess-5.2.3/lisp/ess-site)
 
 4.  Anything else I should check or do to proceed?
 
 --
 Murray Eisenberg [EMAIL PROTECTED]
 Mathematics  Statistics Dept.
 Lederle Graduate Research Tower  phone 413 549-1020 (H)
 University of Massachusetts413 545-2859 (W)
 710 North Pleasant Streetfax   413 545-1801
 Amherst, MA 01003-9305
 
 __
 [EMAIL PROTECTED] mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
 


-- 

best,
-tony

---
A.J. Rossini
[EMAIL PROTECTED]

__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: [R] ess in Windows (newbie Q)

2004-12-07 Thread Henrik Andersson
For you reference, there exists a separate mailing list for ESS, which 
you can find on news.gmane.org just like the R list.

Murray Eisenberg wrote:
I'm a rank beginner with R, and I'm stumped at how to get it to work 
with Xemacs under Windows XP. I'm afraid there are some VERY basic 
questions I have here.  Yes, I did read 
http://ess.r-project.org/Manual/readme.html.

Both R and Xemacs are installed and working.  The current ess files are 
installed in a subdirectory of my Xemacs directory.  I added the R bin 
directory to my Windows PATH environment variable.

But when I start Xemacs and then give command
  M-x-R
what I see in the mini-buffer is
  M-x-Rd-
and it's waiting for more input.
So what could be wrong?  
1. Where might I find or should I put the requisite Xemacs init.el, in 
which I'm supposed to enter a line of the form

  (load /PATH/ess-site)
to point to the ess location?  I found no such file anywhere on my 
system, so I created one in each of the _two_ HOME directories I have -- 
one pointed to by the enviroment system variable HOME and the other 
pointed to by the user environment variable HOME (which seem to be 
different -- I don't recall whether that happened automatically when I 
installed Singular or whether I did it manually).

2. And what should that file actually be called?  The ess docs say it 
should be %HOME%/.xemacs/init.el for Xemacs, but they also say to put it 
in the .emacs (or _emacs) file or default.el or site-init.el.
I have an environment variable pointing to a folder where I put this my 
.emacs file, for Xemacs that would be in the folder .xemacs and init.el

Try Start/Run cmd.exe and then set HOME to get the location
I'm using init.el.
3. Did I get the form of that line correct for init.el (or whatever it 
should actually be named)?  My file ess-site.el is in

D:\WP\XEmacs\ess-5.2.3\lisp
so the line I actually put into default.el is:
  (load /D:/WP/XEmacs/ess-5.2.3/lisp/ess-site)
I would try without the first slash
4.  Anything else I should check or do to proceed?

See if this works, otherwise seek out the ESS mailing list!
Cheers, Henrik
-
Henrik Andersson
Netherlands Institute of Ecology -
Centre for Estuarine and Marine Ecology
P.O. Box 140
4400 AC Yerseke
Phone: +31 113 577473
[EMAIL PROTECTED]
http://www.nioo.knaw.nl/ppages/handersson
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html