Re: [R] save(), load(), saveRDS(), and readRDS()

2023-10-06 Thread Micha Silver
Jim always went beyond just posting answers. He helped me along in learning R, always showing solutions together with insightful explanations. His patience and good humor were remarkable. Condolences to his family. On 05/10/2023 1:36, Jim Lemon wrote: Hello, I am very sad to let you know

Re: [R] save(), load(), saveRDS(), and readRDS()

2023-10-04 Thread Jim Lemon
Hello, I am very sad to let you know that my husband Jim died on 18th September. I apologise for not letting you know earlier but I had trouble finding the password for his phone. Kind regards, Juel On Fri, 29 Sep 2023, 01:48 Shu Fai Cheung Hi All, > > There is a thread about the use of save(), l

Re: [R] save(), load(), saveRDS(), and readRDS()

2023-10-02 Thread Greg Snow
One more function to consider using and teaching is the attach function. If you use `attach` with a the name of a file that was created using `save` then it creates a new, empty environment, `load`s the contents of the file into the environment, and attached the environment to the search path (by

Re: [R] save(), load(), saveRDS(), and readRDS()

2023-09-29 Thread Jorgen Harmse via R-help
#' #' @export load.list <- function(..., all.names=TRUE) as.list(all.names=all.names, load.env(...)) -- Message: 2 Date: Fri, 29 Sep 2023 11:42:37 +0300 From: Ivan Krylov To: Shu Fai Cheung Cc: R mailing list Subject: Re: [R] save(), loa

Re: [R] save(), load(), saveRDS(), and readRDS()

2023-09-29 Thread Ivan Krylov
On Thu, 28 Sep 2023 23:46:45 +0800 Shu Fai Cheung wrote: > In my personal work, I prefer using saveRDS() and loadRDS() as I > don't like the risk of overwriting anything in the global > environment. There's the load(file, e <- new.env()) idiom, but that's potentially a lot to type. Confusingly,

[R] save(), load(), saveRDS(), and readRDS()

2023-09-28 Thread Shu Fai Cheung
Hi All, There is a thread about the use of save(), load(), saveRDS(), and loadRDS(). It led me to think about a question regarding them. In my personal work, I prefer using saveRDS() and loadRDS() as I don't like the risk of overwriting anything in the global environment. I also like the freedom