Re: [R] Problem with save/load across R versions and OS

2019-07-17 Thread Sebastien Bihorel
rdoch" To: "Sebastien Bihorel" Cc: r-help@r-project.org Sent: Wednesday, July 17, 2019 3:04:46 PM Subject: Re: [R] Problem with save/load across R versions and OS On 17/07/2019 2:02 p.m., Sebastien Bihorel wrote: > Hi, > > Indeed the S4 object is a class provided by a co

Re: [R] Problem with save/load across R versions and OS

2019-07-17 Thread Duncan Murdoch
On 17/07/2019 2:02 p.m., Sebastien Bihorel wrote: Hi, Indeed the S4 object is a class provided by a contributed package. However, the windows machine that reads the .rds fine does not even have the package installed. I also confirm that I used readRDS (loadRDS was a typo on my part, sorry).

Re: [R] Problem with save/load across R versions and OS

2019-07-17 Thread Sebastien Bihorel
. I tried but I could not find the way to properly write and read the serialized object. Thanks - Original Message - From: "Duncan Murdoch" To: "Sebastien Bihorel" , r-help@r-project.org Sent: Wednesday, July 17, 2019 10:42:13 AM Subject: Re: [R] Problem with save/lo

Re: [R] Problem with save/load across R versions and OS

2019-07-17 Thread Sebastien Bihorel
Hi, Yes, I tried save/load... same failure. But I did not yet try dump/source or dput/dget. I will From: "Bert Gunter" To: "Sebastien Bihorel" Cc: "R-help" Sent: Wednesday, July 17, 2019 10:27:24 AM Subject: Re: [R] Problem with save/load across R versi

Re: [R] Problem with save/load across R versions and OS

2019-07-17 Thread Duncan Murdoch
On 17/07/2019 4:39 a.m., Sebastien Bihorel wrote: Hi, I am trying to transfer an S4 object from a machine working with CentOS 7.2 / R 3.4.3 to another one running Linux Mint 19 / R 3.6.0. If I save the object using saveRDS in obj.rds, loadRDS returns an "unknown input format" error on my Linux

Re: [R] Problem with save/load across R versions and OS

2019-07-17 Thread Bert Gunter
Did you try plain save/load ?? Also ?dump/source ?dput/dget Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Wed, Jul 17, 2019 at 1:38 AM Sebastien Bihorel < se