[Rcpp-devel] compiling Rcpp with 3.0.1 on Solaris 10

2013-06-24 Thread MAYER Hans
Hello My colleagues asked me to install "R" with module "shiny". R version 3.0.1 compiled fine on Solaris 10 and is running well. I tried to install "shiny". With the dependencies "Rcpp" should be installed before. But the compile step did fail. See below. The initial error message is "Err

Re: [Rcpp-devel] compiling Rcpp with 3.0.1 on Solaris 10

2013-06-24 Thread Dirk Eddelbuettel
Hi Hans, On 24 June 2013 at 16:30, MAYER Hans wrote: | | | Hello | | My colleagues asked me to install "R" with module "shiny". | R version 3.0.1 compiled fine on Solaris 10 and is running well. | | I tried to install "shiny". With the dependencies "Rcpp" should be installed before. But t

Re: [Rcpp-devel] compiling Rcpp with 3.0.1 on Solaris 10

2013-06-24 Thread Dirk Eddelbuettel
Hans, Ie in these two lines of src/api.cpp you may just add a suitable defined(__sun) and the end: #if defined(__GNUC__) #if defined(WIN32) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__CYGWIN__) // Simpler version for Windows and *BSD SEXP stack_trace

[Rcpp-devel] Help using rcpp and Rmpi

2013-06-24 Thread Molly Davies
Hello, I have just written my first R extension using Rcpp, and it is SO much faster than my best R efforts, thank you for such a wonderful package! I used the following: ### begin R ### require(Rcpp) cppFunction(' double s2nICm(NumericVector ICvec, int m, double In, double sampleSize) { int n =

Re: [Rcpp-devel] Help using rcpp and Rmpi

2013-06-24 Thread Dirk Eddelbuettel
Hi Molly, Thanks for (re-)posting here. This is place for all things Rcpp. On 24 June 2013 at 15:33, Molly Davies wrote: | Hello, | I have just written my first R extension using Rcpp, and it is SO much faster | than my best R efforts, thank you for such a wonderful package! I used the | followi

[Rcpp-devel] [ANN] Rcpp 0.10.4

2013-06-24 Thread Dirk Eddelbuettel
Rcpp 0.10.4 is now on CRAN. A short blog post is at http://dirk.eddelbuettel.com/blog/ http://dirk.eddelbuettel.com/blog/2013/06/24#rcpp_0.10.4 and included as text (without links, obviously) below. Besides a fairly large number of fixes (many motivated or contributed by Rcpp users fr