[ESS] ess-execute and ess-command

Dan Davison davison at stats.ox.ac.uk
Sat Jan 31 00:20:14 CET 2009


I am constructing R expressions in elisp and evaluating them with ess-execute.

When calling ess-execute from elisp code, how can I detect if an error
occurred in R? (At the moment I can only think of something very
clumsy involving try() and writing to file).

When should one use ess-execute and when ess-command?

I don't think either of them have a meaningful return value; would it
be possible for them to return some sort of exit status?

Thanks!

Dan

-- 
http://www.stats.ox.ac.uk/~davison




More information about the ESS-help mailing list