Re: [R] Problem with serialization via readRDS() on a textConnection()

2017-08-09 Thread Duncan Murdoch
On 09/08/2017 9:01 AM, Duncan Murdoch wrote: (Sorry for not linking to your message; I accidentally deleted the original copy of your message.) Your code > zz = textConnection('tempConnection', 'wb') > saveRDS(c("a", "b", "c"), zz, ascii = TRUE) > serialized_obj = paste(textConnectionValue(z

Re: [R] Problem with serialization via readRDS() on a textConnection()

2017-08-09 Thread Duncan Murdoch
(Sorry for not linking to your message; I accidentally deleted the original copy of your message.) Your code > zz = textConnection('tempConnection', 'wb') > saveRDS(c("a", "b", "c"), zz, ascii = TRUE) > serialized_obj = paste(textConnectionValue(zz), collapse='\n') > readRDS(textConnection(seri