TODO org-babel-prep-session:R sometimes fails to evaluate code

  • State "TODO" from "" 2010-08-07 Sat 18:01

Sometimes the R-prep-session function fails to evaluate the code, because there is some text lying around at the prompt in the session buffer. Is there a way of guarenteeing that the session is ready to accept input?