-
Notifications
You must be signed in to change notification settings - Fork 981
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
String coercion inserts spaces, as.matrix.data.table #4209
Comments
@sritchie73 is this covered by your ongoing #4144? I was unable to install & test myself for the moment |
In fact, it seems this is something that was fixed quite recently in So I guess our issue is a vestige of the same logic being copied over from |
This is fixed in #4144 , this is the output I see on my working test branch:
The current version of data.table on CRAN simply uses
|
When coercing from a data.table to a matrix and types are coerced (yes this is bad and shouldn't be done, so this is definitely low-priority), a data.table inserts spaces whereas a data.frame does not:
I assume this is a result of C++ typing somehow, but I don't know enough to make a PR, sorry.
The text was updated successfully, but these errors were encountered: