Re: [Rcpp-devel] R Embedded in a class function

2011-03-21 Thread CESAR PERNALETE
Para Dirk Eddelbuettel cc [email protected] Asunto Re: [Rcpp-devel] R Embedded in a class function On 2011-03-17, at 3:31 PM, Dirk Eddelbuettel wrote: > | And it so happens that I just wrote an example of instantiating RInside and > | passing to Qt so that you'd get &#

Re: [Rcpp-devel] R Embedded in a class function

2011-03-21 Thread Davor Cubranic
ml), > an optimization tool where the constraints are functions created in R. These > constraints must be created in the method called eval_x. > > Please help. > > > > > > > Davor Cubranic > 17/03/2011 05:03 p.m. > > Para > CESAR

Re: [Rcpp-devel] R Embedded in a class function

2011-03-18 Thread CESAR PERNALETE
the constraints are functions created in R. These constraints must be created in the method called eval_x. Please help. Davor Cubranic 17/03/2011 05:03 p.m. Para CESAR PERNALETE cc [email protected] Asunto Re: [Rcpp-devel] R Embedded in a class function If you have

Re: [Rcpp-devel] R Embedded in a class function

2011-03-17 Thread Davor Cubranic
On 2011-03-17, at 3:31 PM, Dirk Eddelbuettel wrote: > | And it so happens that I just wrote an example of instantiating RInside and > | passing to Qt so that you'd get 'R inside Qt'. That is now in SVN for > | RInside but I haven't even gotten around to writing a short blog post about > | it. Ma

Re: [Rcpp-devel] R Embedded in a class function

2011-03-17 Thread Dirk Eddelbuettel
On 17 March 2011 at 17:03, Dirk Eddelbuettel wrote: | | On 17 March 2011 at 14:33, Davor Cubranic wrote: | | If you have some specific code, that would help. If you by "class function" you mean to ask "is it possible to create an embedded R instance inside a method?", then the answer is "yes".

Re: [Rcpp-devel] R Embedded in a class function

2011-03-17 Thread Dirk Eddelbuettel
On 17 March 2011 at 14:33, Davor Cubranic wrote: | If you have some specific code, that would help. If you by "class function" you mean to ask "is it possible to create an embedded R instance inside a method?", then the answer is "yes". But there are several things you may be doing incorrectly,

Re: [Rcpp-devel] R Embedded in a class function

2011-03-17 Thread Davor Cubranic
If you have some specific code, that would help. If you by "class function" you mean to ask "is it possible to create an embedded R instance inside a method?", then the answer is "yes". But there are several things you may be doing incorrectly, and seeing your code would mean we can address the

[Rcpp-devel] R Embedded in a class function

2011-03-17 Thread CESAR PERNALETE
Hi everyone. I need to embed an R function in a class function. I have seen in all of the examples that the embed of R always is made in the main function. It possible to do it in a class function? How would be? I tried to do it, and first argc, argv variables were expected. Then i assigned