Re: [Rd] Bug is as.matrix.data.frame with nested data.frame

2017-12-01 Thread Martin Maechler
> Patrick Perry > on Thu, 30 Nov 2017 22:45:21 -0500 writes: > Converting a data.frame with a nested data.frame to a matrix fails: > x <- structure(list(a = data.frame(letters)), > class = "data.frame", > row.names = .set_row_names(26)) > as.matrix(x) > #> Err

[Rd] Bug is as.matrix.data.frame with nested data.frame

2017-11-30 Thread Patrick Perry
Converting a data.frame with a nested data.frame to a matrix fails: x <- structure(list(a = data.frame(letters)), class = "data.frame", row.names = .set_row_names(26)) as.matrix(x) #> Error in ncol(xj) : object 'xj' not found The offending code is here, in the defi