[ESS] Very confused: Mx-R now running whole script rather than starting R
Kasper Daniel Hansen
kasperdanielhansen at gmail.com
Wed Oct 24 17:46:35 CEST 2012
Still, it is very weird it started executing the script in R...
On Wed, Oct 24, 2012 at 11:43 AM, Matthew Keller <mckellercran at gmail.com> wrote:
> It won't start R...
> But don't spend more time worrying about it. I've figured out that it
> was trying to read some history file and was unable to do so... I
> finally got an error message about it. Changing the starting directory
> when R opened solved the problem.
> On Wed, Oct 24, 2012 at 9:31 AM, Rodney Sparapani <rsparapa at mcw.edu> wrote:
>> 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.
>> 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
> Matthew C Keller
> Asst. Professor of Psychology
> University of Colorado at Boulder
> ESS-help at r-project.org mailing list
More information about the ESS-help