Setting up ESS for Win2000 (using shell)

Jim_Garrett at bd.com Jim_Garrett at bd.com
Fri Jan 3 22:03:31 CET 2003


(I'll bring this side discussion up to the list for the benefit of any
archives.)

I tried what you suggested (starting a shell, then starting Rterm), and I
was able to start R, though (note that I still have John's addition in my
.emacs file, but that shouldn't come into play, should it?).  However, in
this case when I try to create a plot, no graphics window appears, though
the shell seems to carry on undisturbed.  For example,

> plot(rnorm(1000), rnorm(1000))
plot(rnorm(1000), rnorm(1000))
>

but no graphics window appears.

I also noticed that if I ask for help in R, a help window pops up behind
the emacs window.  However, I can't interact with the window.  If I hide
the emacs window, the help window doesn't refresh, so I can't see the text
in it (the hidden portion, when exposed, is blank).  Meanwhile the R
process in emacs is running happily, so I can close Rterm, and when I do,
the help window disappears.

Any ideas?

By the way, I verified this behavior with John Fox's suggested line
commented out in my .emacs file.

Thanks for any help.

-Jim





rossini at blindglobe.net (A.J. Rossini) on 01/03/2003 03:21:54 PM

Please respond to rossini at u.washington.edu

To:   Jim_Garrett at bd.com
cc:
Subject:  Re: Setting up ESS for Win2000


>>>>> "jim" == Jim Garrett <Jim_Garrett at bd.com> writes:

    jim> I'm not sure what you mean by "a shell from within Emacs".  I
opened emacs,
    jim> then entered M-x and R.  Does that answer your question?

M-x shell

should give you a "DOS shell"...  Try Rterm from that.

John Fox's solution might be more robust (but will break when you
upgrade).

    jim> -Jim





    jim> rossini at blindglobe.net (A.J. Rossini) on 01/03/2003 02:38:02 PM

    jim> Please respond to rossini at u.washington.edu

    jim> To:   Jim_Garrett at bd.com
    jim> cc:   ess-help at stat.math.ethz.ch
    jim> Subject:  Re: Setting up ESS for Win2000



>>>>> "jim" == Jim Garrett <Jim_Garrett at bd.com> writes:

    jim> I'm having trouble getting ESS to work properly on a Windows 2000
    jim> system.
    jim> Specifically, when I try to start R, I get the message

    jim> Searching for program: no such file or directory, Rterm

    jim> My path statement includes a path to Rterm.exe and I've verified
    jim> that I can
    jim> start Rterm from a DOS shell (and not starting from the Rterm's
    jim> directory).

    jim> Can you start it from a shell from within Emacs?

    jim> I'm using GNU Emacs 21.2.1.  I haven't edited any configuration
    jim> files
    jim> (aside from .emacs, or rather _emacs).  I will be happy to supply
    jim> any
    jim> additional information.  I'm fairly new to emacs, or at least
    jim> configuring
    jim> emacs, so requests or suggestions may need to be rather explicit
    jim> if I am to
    jim> follow them.

    jim> Thanks for any help.  I'm looking forward to getting to know this
    jim> package
    jim> much better.

    jim> Jim Garrett
    jim> Becton Dickinson Diagnostic Systems
    jim> Baltimore, Maryland, USA


    jim>
    jim>
*********************************************************************************


    jim> This message is intended only for the designated recipient(s).
    jim> ... [[dropped]]

    jim> ______________________________________________
    jim> ESS-help at stat.math.ethz.ch mailing list
    jim> http://www.stat.math.ethz.ch/mailman/listinfo/ess-help


    jim> --
    jim> A.J. Rossini                  Rsrch. Asst. Prof. of Biostatistics
    jim> U. of Washington Biostatistics           rossini at u.washington.edu
    jim> FHCRC/SCHARP/HIV Vaccine Trials Net      rossini at scharp.org
    jim> -------------- http://software.biostat.washington.edu/
----------------
    jim> FHCRC: M: 206-667-7025 (fax=4812)|Voicemail is pretty sketchy/use
Email
    jim> UW:   Th: 206-543-1044 (fax=3286)|Change last 4 digits of phone to
FAX
    jim> (my tuesday/wednesday/friday locations are completely
unpredictable.)








--
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: 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 tuesday/wednesday/friday locations are completely unpredictable.)




More information about the ESS-help mailing list