[Rcpp-devel] More Rccp and RccpArmadillo Errors on Mavericks

2013-11-04 Thread Scott Monroe
This is sort of piggy-backing on the thread with Michael and Romain. I can't get RccpArmadillo working properly and am looking for suggestions. I have installed: R 3.0.2 Xcode 5.0.1 and command line tools gfortran libs (i.e., gfortran-4.9-bin.tar) Rcpp package from source (i.e., Rcpp_0.10.6.tgz)

Re: [Rcpp-devel] More Rccp and RccpArmadillo Errors on Mavericks

2013-11-04 Thread Scott Monroe
up as .tar.gz). > > Make sure your ~/.R/Makevars file is set up accordingly as well; e.g. > the answers here: > > http://stackoverflow.com/questions/19546672/rcpp-error-with-xcode-5-0-and-osx-10-8-5-and-r-3-0-2 > > -Kevin > > On Mon, Nov 4, 2013 at 9:35 AM, Scott Monr

[Rcpp-devel] moving lists between functions in a package

2013-12-27 Thread Scott Monroe
I am trying to figure out how to create a package where I have one function call another, which returns a list. Some example .cpp code is below. If I just compile the first function, everything is fine. When I add the second function, I get errors. I'm sure I'm using the Rcpp::List syntax incor

Re: [Rcpp-devel] moving lists between functions in a package

2013-12-27 Thread Scott Monroe
return Rcpp::List::create(Rcpp::Named("B")=B, Rcpp::Named("CC")=CC); } On Fri, Dec 27, 2013 at 12:51 PM, Dirk Eddelbuettel wrote: > > On 27 December 2013 at 12:36, Scott Monroe wrote: > | I am trying to figure out how to create a package where I have one > func

[Rcpp-devel] Recommendations on how to incorporate pmvnorm function

2014-01-26 Thread Scott Monroe
Hi everyone, I was hoping for advice on approaches to accomplishing the following goal. I'd like to create an R package using Rcpp that calls the pmvnorm (cdf for multivariate normal) function from the mvtnorm library. I'd like to avoid calling it through R, as I need to do it many times, and I'd

Re: [Rcpp-devel] Recommendations on how to incorporate pmvnorm function

2014-01-26 Thread Scott Monroe
ror: Command failed (1) On Sun, Jan 26, 2014 at 11:15 AM, Dirk Eddelbuettel wrote: > > Scott, > > On 26 January 2014 at 10:58, Scott Monroe wrote: > | I was hoping for advice on approaches to accomplishing the following > goal. > | I'd like to create an R package usin