Thanks, Eric (and Seb and Nick). FYI, I've passed this issue to the ESS help
list.
-- Mike
- Original Message -
> From: Eric Schulte
> To: Michael Hannon
> Cc: Org-Mode List
> Sent: Monday, October 17, 2011 1:30 PM
> Subject: Re: [O] Missing newline in R code
Sebastien Vauban wrote:
> Hi Michael,
>
> Michael Hannon wrote:
> > Greetings. =C2=A0The appended R code fragment executes without problem in
> > an ESS buffer, but it hangs indefinitely when I try to execute it
> > directly from the Org buffer via C-c C-c.
> >
> > The solution is to add the tra
Hi Michael,
Michael Hannon wrote:
> Greetings. The appended R code fragment executes without problem in
> an ESS buffer, but it hangs indefinitely when I try to execute it
> directly from the Org buffer via C-c C-c.
>
> The solution is to add the trailing newline in the "noteToSelf"
> variable:
>
Hi Michael,
I can confirm this problem occurs on my machine locally. I believe the
issue has something to do with how ESS sends inputs to R and waits for
command prompts from R. When the lines are pasted into an ESS buffer
one at a time the problem does not occur, however when the lines are
past
Greetings. The appended R code fragment executes without problem in
an ESS buffer, but it hangs indefinitely when I try to execute it
directly from the Org buffer via C-c C-c.
The solution is to add the trailing newline in the "noteToSelf"
variable:
noteToSelf <- "Buy low.\nSell high.\n"
Ob