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@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@max:~/git$ r -e'print(packageDescription("Rcpp")$Version)'
[1] "0.11.0.4"
edd@max:~/git$
Dirk
--
Dirk Eddelbuettel | [email protected] | http://dirk.eddelbuettel.com
_______________________________________________
Rcpp-devel mailing list
[email protected]
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel