You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (is.matrix(x)) { # coerce to data.table if input object is matrix
messagef("x being coerced from class: matrix to data.table")
x= as.data.table(x)
}
it is possible to output row names when matrix row.names is T ?
for example
if (is.matrix(x)) { # coerce to data.table if input object is matrix
messagef("x being coerced from class: matrix to data.table")
x= as.data.table(x,keep.rownames=row.names)
}
The text was updated successfully, but these errors were encountered:
data.table/R/fwrite.R
Lines 39 to 42 in eed712e
it is possible to output row names when matrix row.names is T ?
for example
The text was updated successfully, but these errors were encountered: