Re: [Rd] How to disable R's crash prompt

2011-03-09 Thread Wayne.Zhang
ginal Message- From: b.rowling...@googlemail.com [mailto:b.rowling...@googlemail.com] On Behalf Of Barry Rowlingson Sent: Wednesday, March 09, 2011 5:26 AM To: Zhang, Wayne: IT (NYK) Cc: simon.urba...@r-project.org; rip...@stats.ox.ac.uk; r-devel@r-project.org Subject: Re: [Rd] How to disable R&#x

Re: [Rd] How to disable R's crash prompt

2011-03-09 Thread Barry Rowlingson
On Tue, Mar 8, 2011 at 10:41 PM, wrote: > That did the trick.  Thank you soo much Simon! But really you *should* fix the segfault. Either you know why it happens, in which case you should spot it before it happens and do something sensible, or you don't know why it happens, in which case it

Re: [Rd] How to disable R's crash prompt

2011-03-08 Thread Wayne.Zhang
That did the trick. Thank you soo much Simon! Wayne -Original Message- From: Simon Urbanek [mailto:simon.urba...@r-project.org] Sent: Tuesday, March 08, 2011 5:28 PM To: Zhang, Wayne: IT (NYK) Cc: rip...@stats.ox.ac.uk; r-devel@r-project.org Subject: Re: [Rd] How to disable R&#

Re: [Rd] How to disable R's crash prompt

2011-03-08 Thread Simon Urbanek
PROTECT(output = R_tryEval(call, R_GlobalEnv, &errorOccurred)); > >UNPROTECT(3); > > > What should I do in C++ to make R non-interactive? > > Thanks, > Wayne > > > -Original Message- > From: Prof Brian Ripley [mailto:rip...@stats.ox.ac.uk] &

Re: [Rd] How to disable R's crash prompt

2011-03-08 Thread Wayne.Zhang
Sent: Tuesday, March 08, 2011 10:10 AM To: Zhang, Wayne: IT (NYK) Cc: r-devel@r-project.org Subject: Re: [Rd] How to disable R's crash prompt On 8 March 2011 at 09:24, wayne.zh...@barclayscapital.com wrote: | Dear R devel, | | I have a C++ app that calls into embedded R to perform som

Re: [Rd] How to disable R's crash prompt

2011-03-08 Thread Wayne.Zhang
Thanks, Wayne -Original Message- From: Prof Brian Ripley [mailto:rip...@stats.ox.ac.uk] Sent: Tuesday, March 08, 2011 9:51 AM To: Zhang, Wayne: IT (NYK) Cc: r-devel@r-project.org Subject: Re: [Rd] How to disable R's crash prompt On Tue, 8 Mar 2011, wayne.zh...@barclayscapital.com wr

Re: [Rd] How to disable R's crash prompt

2011-03-08 Thread Barry Rowlingson
On Tue, Mar 8, 2011 at 2:24 PM, wrote: > Dear R devel, > > I have a C++ app that calls into embedded R to perform some analytic > calculations.  When my app encounters a segmentation fault, R always prints > the following crash prompt and asks me to enter an action: > > > *** caught segfault **

Re: [Rd] How to disable R's crash prompt

2011-03-08 Thread Dirk Eddelbuettel
On 8 March 2011 at 09:24, wayne.zh...@barclayscapital.com wrote: | Dear R devel, | | I have a C++ app that calls into embedded R to perform some analytic calculations. When my app encounters a segmentation fault, R always prints the following crash prompt and asks me to enter an action: | |

Re: [Rd] How to disable R's crash prompt

2011-03-08 Thread Prof Brian Ripley
On Tue, 8 Mar 2011, wayne.zh...@barclayscapital.com wrote: Dear R devel, I have a C++ app that calls into embedded R to perform some analytic calculations. When my app encounters a segmentation fault, R always prints the following crash prompt and asks me to enter an action: *** caught se

[Rd] How to disable R's crash prompt

2011-03-08 Thread Wayne.Zhang
Dear R devel, I have a C++ app that calls into embedded R to perform some analytic calculations. When my app encounters a segmentation fault, R always prints the following crash prompt and asks me to enter an action: *** caught segfault *** address 0x8, cause 'memory not mapped' Possible act