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 link a .lib file in a rcpp-package in a Windows environment?

2011-04-24 Thread Dirk Eddelbuettel
Bernhard, On 25 April 2011 at 04:32, Bernhard Pollner wrote: 04:32 -- burning the midnight oil? ;-) | Hi Dirk, | | thank you for your answer. | | I tried to write a very simple, pure package (without Rcpp), with the C-File named "ROnlyTest", where I put the code like suggested by you. | |

Re: [Rcpp-devel] How to link a .lib file in a rcpp-package in a Windows environment?

2011-04-24 Thread Bernhard Pollner
Hi Dirk, thank you for your answer. I tried to write a very simple, pure package (without Rcpp), with the C-File named "ROnlyTest", where I put the code like suggested by you. The Makevars.win contains now only: (*) PKG_CPPFLAGS=-I. PKG_LIBS=Plastic.lib Unfortunetely, I can not compile (fail a

[Rcpp-devel] [ANN] RcppArmadillo 0.2.19

2011-04-24 Thread Dirk Eddelbuettel
Conrad released Armadillo 1.2.0 last Monday and I quickly wrapped up 0.2.19. However as CRAN was on vacation it didn't get processed til earlier today. The NEWS entry is below. Cheers, Dirk 0.2.19 2011-04-18 o Upgraded to Armadillo version 1.2.0 "Unscrupulous Carbon Emitter"

Re: [Rcpp-devel] How to link a .lib file in a rcpp-package in a Windows environment?

2011-04-24 Thread Dirk Eddelbuettel
Hi Bernhard, On 24 April 2011 at 22:26, Bernhard Pollner wrote: | Hello Dirk, | | thanks for your quick answer. | Due to my, unfortunately, profound lack of knowledge in this area I have to ask some additional (and probably quite stupid) questions regarding what you replied to me - see in the

Re: [Rcpp-devel] How to link a .lib file in a rcpp-package in a Windows environment?

2011-04-24 Thread Bernhard Pollner
Hello Dirk, thanks for your quick answer. Due to my, unfortunately, profound lack of knowledge in this area I have to ask some additional (and probably quite stupid) questions regarding what you replied to me - see in the text below. Am 24.04.2011 um 20:12 schrieb Dirk Eddelbuettel: > > Hi Be

Re: [Rcpp-devel] How to link a .lib file in a rcpp-package in a Windows environment?

2011-04-24 Thread Dirk Eddelbuettel
Hi Bernhard, Thanks for posting here! On 24 April 2011 at 18:29, Bernhard Pollner wrote: | Hello, | | I am in the process, i.e. I just began to write a Rcpp-based package for a | Windows environment. The purpose of that package will be to read out signals | from a USB-connected hardware. The co

[Rcpp-devel] How to link a .lib file in a rcpp-package in a Windows environment?

2011-04-24 Thread Bernhard Pollner
Hello, I am in the process, i.e. I just began to write a Rcpp-based package for a Windows environment. The purpose of that package will be to read out signals from a USB-connected hardware. The company who is selling this hardware is distributing a SDK for developing custom C-programms to read