[Rcpp-devel] Rcpp-devel Digest, Vol 12, Issue 8

Dirk Eddelbuettel edd at debian.org
Fri Oct 8 13:33:17 CEST 2010


On 8 October 2010 at 04:28, Christian Gunning wrote:
| Yes, I've used this successfully.  I have run into trouble extracting
| elements of length>1 from lists with variable-length elements, e.g.
| _mylist = list(a=1, b=1:3), mylist["a"] works but mylist["b"] is
| squirrely.

Please send a reproducible test case.  I use the same approach a lot and have
not had issues.

Dirk

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


More information about the Rcpp-devel mailing list