[R] .Rdata not loading
Rich Shepard
r@hep@rd @end|ng |rom @pp|-eco@y@@com
Fri Dec 24 15:30:46 CET 2021
On Thu, 23 Dec 2021, Bill Dunlap wrote:
> Three things you might try using R (and show the results in this email
> thread):
Bill,
> * load(verbose=TRUE, ".RData") # see how far it gets before stopping
load(verbose=TRUE, ".RData")
Loading objects:
all_turb_plot
disc_all
Error in load(verbose = TRUE, ".RData") :
ReadItem: unknown type 0, perhaps written by later version of R
> * file.info(normalizePath(".RData")) # is this the file you think it is?
file.info(normalizePath(".RData"))
size
/home/rshepard/documents/monographs/regulatory-science/npdes-wqbel/analyses/.RData 28074080
isdir
/home/rshepard/documents/monographs/regulatory-science/npdes-wqbel/analyses/.RData FALSE
mode
/home/rshepard/documents/monographs/regulatory-science/npdes-wqbel/analyses/.RData 644
mtime
/home/rshepard/documents/monographs/regulatory-science/npdes-wqbel/analyses/.RData 2021-12-22 15:32:59
ctime
/home/rshepard/documents/monographs/regulatory-science/npdes-wqbel/analyses/.RData 2021-12-22 15:32:59
atime
/home/rshepard/documents/monographs/regulatory-science/npdes-wqbel/analyses/.RData 2021-12-24 06:23:33
uid
/home/rshepard/documents/monographs/regulatory-science/npdes-wqbel/analyses/.RData 1000
gid
/home/rshepard/documents/monographs/regulatory-science/npdes-wqbel/analyses/.RData 100
uname
/home/rshepard/documents/monographs/regulatory-science/npdes-wqbel/analyses/.RData rshepard
grname
/home/rshepard/documents/monographs/regulatory-science/npdes-wqbel/analyses/.RData users
> * dput(readBin(".RData", what=raw(), n=100))
dput(readBin(".RData", what=raw(), n=100))
as.raw(c(0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x03, 0xec, 0xfd, 0x09, 0x9c, 0x24, 0x47, 0x79, 0xe7, 0x8d, 0x67,
0x9f, 0x73, 0x68, 0xa4, 0x19, 0x8d, 0xa4, 0xd1, 0x81, 0x84, 0x5a,
0x07, 0x58, 0x02, 0xd4, 0x74, 0xf7, 0xdc, 0x18, 0xd4, 0xc3, 0x21,
0x61, 0xec, 0xb1, 0x60, 0x41, 0xe2, 0xb2, 0xf0, 0xb8, 0x7a, 0xba,
0xa7, 0xd5, 0xa8, 0x2f, 0x77, 0xf7, 0x68, 0xa6, 0x05, 0x86, 0x59,
0xc0, 0x60, 0x03, 0xb6, 0x58, 0x63, 0x9b, 0xe3, 0xc5, 0x17, 0x5e,
0x1f, 0x8b, 0x4f, 0xfe, 0xde, 0x77, 0x7d, 0xbc, 0x3e, 0x64, 0xf0,
0x1a, 0x1b, 0x6c, 0x2f, 0xa7, 0x0d, 0x98, 0x43, 0x20, 0x83, 0x39,
0x0c, 0x6e, 0x63))
> And a fourth thing to do:
> * dput(tail(n=20, readBin(".RData", what=raw(), n=file.size(".RData"))))
dput(tail(n=20, readBin(".RData", what=raw(), n=file.size(".RData"))))
as.raw(c(0x5c, 0xae, 0x97, 0x5f, 0x1d, 0x9d, 0x2d, 0x1f, 0xad,
0xa8, 0xf5, 0x5f, 0x8f, 0x47, 0xdd, 0x56, 0x60, 0xd5, 0x70, 0x3c
))
I hope this explains why .RData contains only two files when there were
30 or more when I saved it.
Thanks,
Rich
More information about the R-help
mailing list