Re: [Rd] Parallel R expression evaluations

2013-10-21 Thread peter dalgaard
On Oct 21, 2013, at 02:24 , Simon Urbanek wrote: > Jai, > > On Oct 19, 2013, at 1:37 AM, JaiReddy wrote: > >> Thanks Simon. >> >> May I know how R works if two expressions come at the same time for >> evaluation. When I debug my case I found that issue was found with indexed >> values of prote

Re: [Rd] Parallel R expression evaluations

2013-10-20 Thread Simon Urbanek
Jai, On Oct 19, 2013, at 1:37 AM, JaiReddy wrote: > Thanks Simon. > > May I know how R works if two expressions come at the same time for > evaluation. When I debug my case I found that issue was found with indexed > values of protected items. > > As R is single threaded engine, I just want to

Re: [Rd] Parallel R expression evaluations

2013-10-19 Thread JaiReddy
Thanks Simon. May I know how R works if two expressions come at the same time for evaluation. When I debug my case I found that issue was found with indexed values of protected items. As R is single threaded engine, I just want to know how does R behave when 2nd expression comes for parsing and

Re: [Rd] Parallel R expression evaluations

2013-10-18 Thread Simon Urbanek
On Oct 16, 2013, at 9:57 AM, JaiReddy wrote: > Hi all, > > I am using R-3.0.1 under Linux platform to embed R into my C++ code. > > I am facing an error while executing more than 1 R-expressions parallelly. > R is not thread-safe so you cannot execute any API calls in parallel. Also you can u

[Rd] Parallel R expression evaluations

2013-10-17 Thread JaiReddy
Hi all, I am using R-3.0.1 under Linux platform to embed R into my C++ code. I am facing an error while executing more than 1 R-expressions parallelly. I am executing round(X) and abs(X) parallelly on a set of 50 input rows which resulted in segmentation fault after getting the following errors