Re: [Rcpp-devel] Compilation and Build Error with R CMD SHLIB and R CMD check

2012-01-30 Thread Dirk Eddelbuettel
On 30 January 2012 at 20:34, Jared Lander wrote: | I don't want to give up the 64-bit so I'll uninstall rtools and R and reinstall | them (as 64-bit) hoping that solves something. And look closely at the options of 'R CMD INSTALL --help', you can restrict build architectures to not mix 32 and 64

Re: [Rcpp-devel] Working with lists of objects

2012-01-30 Thread Dirk Eddelbuettel
On 30 January 2012 at 14:31, Chris DuBois wrote: | Hi all, | | I'm looking for better ways of dealing with lists of objects.  If I have a | list s, I want to be able to so an operation like: | s["hello"][3,3] <- 100 | where I replace the (3,3) element with 100.  Below I show the way I've done | t

Re: [Rcpp-devel] Compilation and Build Error with R CMD SHLIB and R CMD check

2012-01-30 Thread Dirk Eddelbuettel
On 30 January 2012 at 17:12, Jared Lander wrote: | I installed Rcpp using install.packages("Rcpp") inside of a 64-bit R console.  | Just now I removed it and downloaded the windows zip form CRAN and installed | that in the R console.  Is there anything else I can try? |   | For what it's worth, I

[Rcpp-devel] Working with lists of objects

2012-01-30 Thread Chris DuBois
Hi all, I'm looking for better ways of dealing with lists of objects. If I have a list s, I want to be able to so an operation like: s["hello"][3,3] <- 100 where I replace the (3,3) element with 100. Below I show the way I've done this so far, but for large lists I don't want to have to manually

Re: [Rcpp-devel] Compilation and Build Error with R CMD SHLIB and R CMD check

2012-01-30 Thread Dirk Eddelbuettel
On 30 January 2012 at 15:22, Jared Lander wrote: | I tried a number of suggestions from this thread (such as changing my | Makevars.win file) but unfortunately nothing seems to work. |   | So I tried to install RcppArmadillo by running R CMD INSTALL -l tempdir/ | RcppArmadillo_0.2.34.tar.gz which

Re: [Rcpp-devel] Problems on a new Mac

2012-01-30 Thread Dirk Eddelbuettel
On 30 January 2012 at 18:42, Sacha Epskamp wrote: | Last year I have written some functions for my then supervisor using | Rcpp and inline, which worked fine. Recently my supervisor got a new | Mac, and the functions don't work anymore. | | After some trying I found at least one thing that wasn't

[Rcpp-devel] Problems on a new Mac

2012-01-30 Thread Sacha Epskamp
Last year I have written some functions for my then supervisor using Rcpp and inline, which worked fine. Recently my supervisor got a new Mac, and the functions don't work anymore. After some trying I found at least one thing that wasn't working properly. As an example see this function: library(