[ESS] Why can't I load attached R file?

Stephen Eglen S.J.Eglen at damtp.cam.ac.uk
Thu Jul 15 11:53:32 CEST 2010


> 
> Debugger entered--Lisp error: (quit)
>   accept-process-output(#<process R> 0 500)
>   ess-prompt-wait(#<process R> nil nil)
>   ess-command("source(\"/home/rkrug/tmp/R.att.R\")\n" #<buffer
> *ESS-errors*>)
>   ess-load-file("/home/rkrug/tmp/R.att.R")
>   call-interactively(ess-load-file nil nil)

Thanks, sorry - my mistake, I thought you meant 'load' as in visit the
file, but you (rightly) meant ess-load-file.  Yes, I see the error that
you do.  Is it anything to do with missing \n from the cat statement?
Probably the code that looks for the prompt is getting confused.

i.e this works 

  cat("Done!!!")
  cat("\n")


Stephen



More information about the ESS-help mailing list