We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed472a2 commit eb50409Copy full SHA for eb50409
R/as.data.table.R
@@ -165,7 +165,7 @@ as.data.table.list = function(x,
165
if (is.matrix(xi) && NCOL(xi)<=1L && is.null(colnames(xi))) { # 1 column matrix naming #4124
166
xi = x[[i]] = c(xi)
167
} else {
168
- xi = x[[i]] = as.data.table(xi, keep.rownames=FALSE) # we will never allow a matrix to be a column; always unpack the columns
+ xi = x[[i]] = as.data.table(xi, keep.rownames=keep.rownames) # we will never allow a matrix to be a column; always unpack the columns
169
}
170
171
# else avoid dispatching to as.data.table.data.table (which exists and copies)
0 commit comments