[ESS] Very confused: Mx-R now running whole script rather than starting R

Rodney Sparapani rsparapa at mcw.edu
Wed Oct 24 17:31:55 CEST 2012


On 10/24/2012 10:08 AM, Matthew Keller wrote:
> Hi all,
>
> I've been using R remotely on servers for years, but suddenly its
> behavior has changed and I have no idea why. Can some kind soul out
> there help me out?
>
> What I typically do:
>
> Using a terminal, login to server remotely using -X
> ssh -XCmyname at login.server.edu
>
> Now open an R script in emacs:
> emacs script.R&
>
> Now from within that x-window, open a new window:
> C-x 5 2
>
> Now start R in that new window:
> M-x R
>
> The two windows are linked, and I run commands in the script.R window
> and they are run in the R buffer.
>
> However, now when I do "M-x R", R starts but begins running the entire
> script.R, at which point I have to shut down R. In essence, I can no
> longer use R in this way. I'm forced to cutting and pasting from an
> emacs window into an R session running in terminal - horrible!!
>
> Does anyone have any ideas of what might have changed? I don't have
> much control over what they've installed on the server, and trying to
> get a response from them can take a long time.
>
> Thanks!
>
> Matt

Hi Matt:

Well, this is no deep insight...  What happens if you start R first
and then open your script?
-- 
Rodney Sparapani, PhD  Center for Patient Care and Outcomes Research
Sr. Biostatistician               http://www.mcw.edu/pcor
4 wheels good, 2 wheels better!   Medical College of Wisconsin (MCW)
WWLD?:  What Would Lombardi Do?   Milwaukee, WI, USA



More information about the ESS-help mailing list