[ESS] Why can't I load attached R file?
Rainer M Krug
r.m.krug at gmail.com
Fri Jul 16 09:26:58 CEST 2010
-----BEGIN PGP SIGNED MESSAGE-----
On 16/07/2010 09:17, Martin Maechler wrote:
>>>>>> "HeinzT" == Heinz Tuechler <tuechler at gmx.at>
>>>>>> on Fri, 16 Jul 2010 07:45:44 +0100 writes:
> HeinzT> The same problem for me with Emacs 21.3.1 and ESS 5.3.3
> thank you for the confirmation.
> "Of course" -- in hindsight --
> As you've found,
> o it only happens if you forget the final "\n" in your print
> And yes, it has been known that you can confuse ESS
> (and other simple [G]UI's as well, IIRC) to some extent
> if you produce output not ending in a new line
OK - good to know - then I an work around this problem.
> o the *hang*ing only happens with the "!" ending.
Might be a misunderstanding, but it also happens with
where the ! is at the beginning of the string.
> I don't have time now, but "of course" this must be related
> to our magic handling of "!" (in the old Unix and S tradition)
> for command recall.
> I agree that this is a bug we (ESS core) must address...
> (but not before 'useR!' next week).
Don't worry - I just stumbled over it when drawing up a small example
for demonstrating a few things.
Thanks for all your help,
> HeinzT> At 15.07.2010 12:01 +0200, Rainer M Krug wrote:
> 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
>>> 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
> Yup - that is the problem.
> But the problem is the "!". If I have
> and ess-load-file the fie, it works.
> Can somebody confirm that behaviour, or is it strangely only on my computer?
> Ess 5.11
> GNU Emacs 23.2.1 (i686-pc-linux-gnu, GTK+ Version 2.20.1)
ESS-help at stat.math.ethz.ch mailing list
> HeinzT> ______________________________________________
> HeinzT> ESS-help at stat.math.ethz.ch mailing list
> HeinzT> https://stat.ethz.ch/mailman/listinfo/ess-help
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
More information about the ESS-help