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

Rainer M Krug r.m.krug at gmail.com
Thu Jul 15 12:01:09 CEST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 15/07/2010 11:53, Stephen Eglen wrote:
>>
>> 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")

Yup - that is the problem.

But the problem is the "!". If I have

cat("Done")

and ess-load-file the fie, it works.

Can somebody confirm that behaviour, or is it strangely only on my computer?

Versions:

Ess 5.11
GNU Emacs 23.2.1 (i686-pc-linux-gnu, GTK+ Version 2.20.1)

Rainer

> 
> 
> Stephen

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkw+3GQACgkQoYgNqgF2egq8+ACfWO2UtpTCy9I9xWCLt4BMjYmY
4bkAoIUzmMcnuS1ASH4q0KC8uApiyhgR
=5ALB
-----END PGP SIGNATURE-----



More information about the ESS-help mailing list