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

Heinz Tuechler tuechler at gmx.at
Fri Jul 16 08:45:44 CEST 2010


The same problem for me with Emacs 21.3.1 and ESS 5.3.3

Heinz

At 15.07.2010 12:01 +0200, Rainer M Krug wrote:
>-----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-----
>
>______________________________________________
>ESS-help at stat.math.ethz.ch mailing list
>https://stat.ethz.ch/mailman/listinfo/ess-help



More information about the ESS-help mailing list