[Rcpp-devel] error while calling function in loop

nandan amar nandan.amar at gmail.com
Sun Mar 27 10:20:26 CEST 2011


Thanks Dirk,
It worked when I  pass RInside variable by reference.
Thanks for the link, i am  learning these things.

On 26 March 2011 19:48, Dirk Eddelbuettel <edd at debian.org> wrote:

>
> On 26 March 2011 at 19:06, nandan amar wrote:
> | Ohh Then i sud select reply to all
> |
> | Thanks Dirk,
> | But RInside R(argc, argv) is not a variable .
>
> If R is not a variable here, what is it?
>
> | How can I declare it globally or share its instance.
> | If it is not related to R/Rcpp please leave some related pointer.
>
> Sorry, but you simply need to read some more about C++ and or
> programming. Google for 'good c++ book'. There is a free one I like at
>
>   http://www.icce.rug.nl/documents/cplusplus/
>
> which is also included in Debian and Ubuntu as a package.
>
> Dirk
>
> --
> Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com
>



-- 
Amar Kumar Nandan
Karnataka, India, 560100
http://aknandan.co.nr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20110327/b344fd68/attachment.htm>


More information about the Rcpp-devel mailing list