Re: [Rcpp-devel] Reading-list when creating a mapping for a semi-complex C++ library

2011-07-23 Thread Dirk Eddelbuettel
Hi Steffen, On 23 July 2011 at 23:24, Steffen Neumann wrote: | I am asking for a reading list (rather than the actual answers, | certainly it is somewhere in the great and vast Documentation!) | or best practices creating R bindings to a moderately complex | C++ library. | | We have created htt

Re: [Rcpp-devel] LLVM

2011-07-23 Thread Jan de Leeuw
Sure. If I switch to g++-4.7 (from FSF svn) it disappears. Also, I think, if I switch to Apple's g++-4.2. Only happens with g++-llvm and clang++. Of course I think LLVM still says C++ support is incomplete. -- Jan de Leeuw Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Saturday,

[Rcpp-devel] Reading-list when creating a mapping for a semi-complex C++ library

2011-07-23 Thread Steffen Neumann
Hi, I am asking for a reading list (rather than the actual answers, certainly it is somewhere in the great and vast Documentation!) or best practices creating R bindings to a moderately complex C++ library. We have created https://github.com/sneumann/mzR which is an R package to read mass spectr

Re: [Rcpp-devel] LLVM

2011-07-23 Thread Dirk Eddelbuettel
CCing Conrad even though I know he reads the list (and I fear he may have set off for vacation in NZ). Also CCing Simon as usual when begging for OS X help :) On 23 July 2011 at 13:56, Jan de Leeuw wrote: | I compile a 64bit CLI version of the current R-devel from svn, with about 1000 add-on pac

[Rcpp-devel] LLVM

2011-07-23 Thread Jan de Leeuw
I compile a 64bit CLI version of the current R-devel from svn, with about 1000 add-on packages, in Lion, using the clang and clang++ compilers from the LLVM project (and gfortran 4.7). This generally works well, the compiles are really fast, but for RcppArmadillo I get ** testing if installed

Re: [Rcpp-devel] wordcloud

2011-07-23 Thread Dirk Eddelbuettel
On 23 July 2011 at 11:26, Tim Triche, Jr. wrote: | What do you use when you write larger packages (eg. RcppArmadillo)? I have been an Emacs user since circa 1995 when I saw the light, having used vi style editors since the very late 1980s on obscure unix systems and even (as a port) under DOS. I

Re: [Rcpp-devel] wordcloud

2011-07-23 Thread Tim Triche, Jr.
What do you use when you write larger packages (eg. RcppArmadillo)? I've always just used vim but that's because I'm stupendously lazy (also because I have R set up to call vim when I use the fix() function, so it all looks the same to me) On Sat, Jul 23, 2011 at 10:55 AM, Dirk Eddelbuettel wro

Re: [Rcpp-devel] wordcloud

2011-07-23 Thread Dirk Eddelbuettel
On 23 July 2011 at 09:43, ian.fell...@stat.ucla.edu wrote: | > And lastly ... given that also know Java so well: what works well / | better with Rcpp for you? | | Speed. wordcloud was a cute little weekend project, but for my | dissertation work, high performance is a primary concern, so I'm desi

Re: [Rcpp-devel] wordcloud

2011-07-23 Thread Dirk Eddelbuettel
On 23 July 2011 at 11:37, Dirk Eddelbuettel wrote: | Ok, I'll be lazy now as I could just look at the code, but what type of | layout operation did you move to C++? Is it a type of sorting / arranging / | classifying / ... ? Does it rely on other libraries or did you solve it with | homegrown C++

Re: [Rcpp-devel] wordcloud

2011-07-23 Thread ian . fellows
> > On 23 July 2011 at 09:02, ian.fell...@stat.ucla.edu wrote: > | Hi all, > | > | I've just released an R package to CRAN that creates pretty looking word | clouds. I think it makes a good minimal example of how to prototype an | algorithm in R, and then bring the performance bottleneck down to c+

Re: [Rcpp-devel] RcppArmadillo updates

2011-07-23 Thread Dirk Eddelbuettel
On 23 July 2011 at 09:05, Dirk Eddelbuettel wrote: | | On 22 July 2011 at 20:17, Dirk Eddelbuettel wrote: | | | | Conrad continues to pump out Armadillo releases: | | | | - a bug fix release Armadillo 2.0.2 arrived a couple of days and was | |uploaded to CRAN as RcppArmadillo 0.2.25 where

Re: [Rcpp-devel] wordcloud

2011-07-23 Thread Dirk Eddelbuettel
On 23 July 2011 at 09:02, ian.fell...@stat.ucla.edu wrote: | Hi all, | | I've just released an R package to CRAN that creates pretty looking word | clouds. I think it makes a good minimal example of how to prototype an | algorithm in R, and then bring the performance bottleneck down to c++ to | i

[Rcpp-devel] wordcloud

2011-07-23 Thread ian . fellows
Hi all, I've just released an R package to CRAN that creates pretty looking word clouds. I think it makes a good minimal example of how to prototype an algorithm in R, and then bring the performance bottleneck down to c++ to improve speed. An example: >install.packages("wordcloud",repos="http:/

Re: [Rcpp-devel] RcppArmadillo updates

2011-07-23 Thread Dirk Eddelbuettel
On 22 July 2011 at 20:17, Dirk Eddelbuettel wrote: | | Conrad continues to pump out Armadillo releases: | | - a bug fix release Armadillo 2.0.2 arrived a couple of days and was |uploaded to CRAN as RcppArmadillo 0.2.25 where it is patiently awaiting [oops, that should have said 0.2.26] |