[Rcpp-devel] [RC] Rcpp 0.11.1 release candidate at GitHub

Dirk Eddelbuettel edd at debian.org
Mon Mar 10 12:52:55 CET 2014


On 9 March 2014 at 15:10, Dirk Eddelbuettel wrote:
| 
| On 9 March 2014 at 19:55, Søren Højsgaard wrote:
| | This may be a bug?? 
| 
| Looks like it worked with 0.10.6, but stopped working with 0.11.0 (and still
| fails with the current 0.11.0.3).  
| 
| So it looks like something we should get fixed in 0.11.1. I'll file a ticket
| at Github.

Kevin, amazing as always, already fixed that in what we now call 0.11.0.4:

edd at max:~/git$ r -lRcpp -e'sourceCpp("/tmp/soren.cpp")'

> m1 <- matrix(1:9, nrow=3)

> foo_num( m1 )
[1] 1 2 3
[1] 4 5 6
[1] 7 8 9

> m2 <- matrix(letters[1:9], nrow=3)

> foo_chr( m2 )
[1] "a" "b" "c"
[1] "d" "e" "f"
[1] "g" "h" "i"
edd at max:~/git$ r -e'print(packageDescription("Rcpp")$Version)'                                                                                                                                                
[1] "0.11.0.4"
edd at max:~/git$ 

Dirk

-- 
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com


More information about the Rcpp-devel mailing list