[R] serialize does not work as expected

Duncan Murdoch murdoch@dunc@n @end|ng |rom gm@||@com
Sat Aug 29 21:03:45 CEST 2020


On 29/08/2020 1:10 p.m., Sigbert Klinke wrote:
> Hi,
> 
> is there in R a way to "normalize" a vector from
> compact_intseq/compact_realseq to a "normal" vector?

I don't know if there's a function specifically designed to do that, but 
as Henrik proposed, this works:

  l_normalized <- unserialize(serialize(l, connection=NULL, version=2))

Duncan Murdoch



More information about the R-help mailing list