[R] saveRDS() and readRDS() Why? [solved, pretty much anyway)

p_connolly p_connolly @ending from @ling@hot@co@nz
Tue Nov 13 23:10:11 CET 2018


This is getting more strange.

I normally copy from the shared folder to the appropriate directory 
using Dolphin, the KDE file manager.  If instead I use the standard bash 
cp command, no corruption happens -- at least with the limited testing I 
have done.  There also seems to be no problem copying from Linux to 
Windows.  I installed R-3.5.1 for Windows just to eliminate that 
possible issue.

However, R has *something* to do with it because it was used to make the 
.rds file.  Just how the relationship between the name of the R object 
and the name of the .rds file comes into it, I can't imagine.

Thanks for the suggestion William.


On 2018-11-14 06:26, William Dunlap wrote:
> It seems like copying the files corrupted them. How did you copy them
> (with R
> or cp or copy or ftp, etc.)?  I don't see how this has anything to do
> with R.
> 
> Bill Dunlap
> TIBCO Software
> wdunlap tibco.com [1]
> On Mon, Nov 12, 2018 at 7:10 PM, p_connolly
> <p_connolly using slingshot.co.nz> wrote:
[...]



More information about the R-help mailing list