Re: [O] Missing newline in R code causes Org-Mode eval to hang

2011-10-18 Thread Michael Hannon
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

Re: [O] Missing newline in R code causes Org-Mode eval to hang

2011-10-17 Thread Nick Dokos
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

Re: [O] Missing newline in R code causes Org-Mode eval to hang

2011-10-17 Thread Sebastien Vauban
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: >

Re: [O] Missing newline in R code causes Org-Mode eval to hang

2011-10-17 Thread Eric Schulte
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

[O] Missing newline in R code causes Org-Mode eval to hang

2011-10-17 Thread Michael Hannon
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