From thomas.friedrichsmeier at ruhr-uni-bochum.de  Wed Feb 21 23:37:29 2007
From: thomas.friedrichsmeier at ruhr-uni-bochum.de (Thomas Friedrichsmeier)
Date: Wed, 21 Feb 2007 23:37:29 +0100
Subject: [Rd] non-interactive R_tryEval does not return
In-Reply-To: <6phmz37go2f.fsf@gopher4.fhcrc.org>
References: <6phmz37go2f.fsf@gopher4.fhcrc.org>
Message-ID: <200702212337.33350.thomas.friedrichsmeier@ruhr-uni-bochum.de>

On Wednesday 21 February 2007 23:09, Martin Morgan wrote:
> > ./tryEval --slave < tmp.R
>
> Error in sqrt("") : Non-numeric argument to mathematical function
> Execution halted

To force interactive use (when embedding), you can set R_Interactive (from 
Rinterface.h) to TRUE, after Rf_initEmbeddedR().

Regards
Thomas Friedrichsmeier
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : https://stat.ethz.ch/pipermail/r-devel/attachments/20070221/bc539942/attachment.bin 


[Rd] non-interactive R_tryEval does not return
Thomas Friedrichsmeier