Re: [Rcpp-devel] how to use functions from other packages

2011-04-25 Thread Dirk Eddelbuettel
On 24 April 2011 at 22:22, Siddhartha Chib wrote: | Thanks Dirk. I was hoping for an example of the use of R functions in Rcpp and | did take a look at your Journal of Statistical software paper but was hoping | for more than is there on this issue. | Maybe someone can post a full example. | |

Re: [Rcpp-devel] how to use functions from other packages

2011-04-24 Thread Siddhartha Chib
Thanks Dirk. I was hoping for an example of the use of R functions in Rcpp and did take a look at your Journal of Statistical software paper but was hoping for more than is there on this issue. Maybe someone can post a full example. On a different issue, I tried the inline example in your JSS

Re: [Rcpp-devel] how to use functions from other packages

2011-04-23 Thread Dirk Eddelbuettel
On 23 April 2011 at 21:05, Dirk Eddelbuettel wrote: | | On 23 April 2011 at 20:36, Siddhartha Chib wrote: | | This is likely to be too simple a question perhaps. How does one use specific | | functions from other packages when working with Rcpp? For that matter, is it | | possible to use R fu

Re: [Rcpp-devel] how to use functions from other packages

2011-04-23 Thread Dirk Eddelbuettel
On 23 April 2011 at 20:36, Siddhartha Chib wrote: | This is likely to be too simple a question perhaps. How does one use specific | functions from other packages when working with Rcpp? For that matter, is it | possible to use R functions such as optim in Rcpp? Yes, sure. I don't think we have

[Rcpp-devel] how to use functions from other packages

2011-04-23 Thread Siddhartha Chib
This is likely to be too simple a question perhaps. How does one use specific functions from other packages when working with Rcpp? For that matter, is it possible to use R functions such as optim in Rcpp? Thanks in advance, Siddhartha. ___ Rcpp-d