[datatable-help] dput does not work with data.table

Matthew Dowle mdowle at mdowle.plus.com
Fri Mar 30 17:28:53 CEST 2012


Hi. You can include the <pointer:...> part when posting, we know what is
meant and can fix it up if we need to.  It's an R thing, from ?deparseOpts
:

"
warnIncomplete
Some exotic objects such as environments, external pointers, etc. can not
be deparsed properly. This option causes a warning to be issued if the
deparser recognizes one of these situations.

Using control = "all" comes closest to making deparse() an inverse of
parse(). However, not all objects are deparse-able even with this option.
A warning will be issued if the function recognizes that it is being asked
to do the impossible.
"



> Follow-up: Putting <pointer:...> in quotation marks works:
>
> structure(list(A = 1:2, B = 2:3),
>           .Names = c("A", "B"),
>           row.names = c(NA, -2L),
>           class = c("data.table", "data.frame"),
>           .internal.selfref = "<pointer: 0x0000000000150788>")
>
> But why is that not inserted in the first place? Does that break something
> else?
>
> --
> View this message in context:
> http://r.789695.n4.nabble.com/dput-does-not-work-with-data-table-tp4519150p4519172.html
> Sent from the datatable-help mailing list archive at Nabble.com.
> _______________________________________________
> datatable-help mailing list
> datatable-help at lists.r-forge.r-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help
>




More information about the datatable-help mailing list