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
create and export as.nanotime #47
Comments
If I understand correctly, the end goal would be something like this, with a conversion from fread("a_file_that_contains_nanotimes.csv", colClasses="nanotime") |
fread was just an example of a function that could utilise |
For reasons I no longer remember our constructor was always just S3method(as.Date,nanotime)
S3method(as.POSIXct,nanotime)
S3method(as.POSIXlt,nanotime)
S3method(as.data.frame,nanotime)
S3method(as.integer64,nanotime) |
The reason I was asking for the end goal is that I'm not sure if there's a consensus that |
@lsilvest regarding fread and
|
example where |
I am sorry but can you be more specific? I read the #4101 link but it "didn't click". |
Provided wrapper function calls |
Yes, I agree we should provide the |
It might be sometimes useful to operate on arbitrary type objects. For example if
fread
'scolClasses
arg will be supplied with"nanotime"
type, then we could flexibly dispatch to arbitrary class by usingas.*
functions are kind of standard in R.The text was updated successfully, but these errors were encountered: