Andreas Buness
2004-Oct-22 17:05 UTC
[R] How to save a complete image of the current state of R ?
Hello, I like to save the complete state of R, i.e. including all environments, objects/workspaces, loaded packages etc.. This wish has arisen since I am not able to reproduce an error which occurs when running R CMD check. Many thanks for your advice in advance. Best Regards Andreas
Kevin Bartz
2004-Oct-22 17:19 UTC
[R] How to save a complete image of the current state of R ?
Andreas Buness wrote:> Hello, > > I like to save the complete state of R, i.e. including > all environments, objects/workspaces, loaded packages etc.. > > This wish has arisen since I am not able to reproduce > an error which occurs when running R CMD check. > > Many thanks for your advice in advance. > Best Regards > Andreas > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html >Does save.image meet your needs? Kevin
Uwe Ligges
2004-Oct-22 17:20 UTC
[R] How to save a complete image of the current state of R ?
Andreas Buness wrote:> Hello, > > I like to save the complete state of R, i.e. including > all environments, objects/workspaces, loaded packages etc..I think what you are going to do is not available. You can save the workspace, attach the data and load formerly loaded packages again, of course. Uwe Ligges> This wish has arisen since I am not able to reproduce > an error which occurs when running R CMD check. > > Many thanks for your advice in advance. > Best Regards > Andreas > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html
Adaikalavan Ramasamy
2004-Oct-22 17:23 UTC
[R] How to save a complete image of the current state of R ?
Perhaps save.image(file="lala.rda", compress=T) followed by load("lala.rda") to re-load it. On Fri, 2004-10-22 at 18:05, Andreas Buness wrote:> Hello, > > I like to save the complete state of R, i.e. including > all environments, objects/workspaces, loaded packages etc.. > > This wish has arisen since I am not able to reproduce > an error which occurs when running R CMD check. > > Many thanks for your advice in advance. > Best Regards > Andreas > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html >
Andreas Buness
2004-Oct-25 08:27 UTC
[R] How to save a complete image of the current state of R ?
Thanks for your reply. Considering the reproducibility of R this is an important issue. Regarding my particular problem, i.e. the package build failure with "R CMD check package" in the examples section, I do not know how to proceed. I have tried the following strategy: direct installation of the package via "R CMD INSTALL packageDirectory" and running of the examples after loading the package or running the examples file which was generated by the failing "R CMD check" command - but the error is not reproducible. Any ideas how I can track the problem or get interactive access to the actual state of R during the check procedure ? Best Regards Andreas Prof Brian Ripley wrote:> On Fri, 22 Oct 2004, Uwe Ligges wrote: > > >>Andreas Buness wrote: >> >>>Hello, >>> >>>I like to save the complete state of R, i.e. including >>>all environments, objects/workspaces, loaded packages etc.. >> >>I think what you are going to do is not available. > > > It is impossible. You have no access to e.g. the internal state of the > Box-Muller generator, the objects pointed to by external references, the > versions of namespaces, and many other things. > > >>You can save the workspace, attach the data and load formerly loaded >>packages again, of course. >> >>Uwe Ligges >> >> >>>This wish has arisen since I am not able to reproduce >>>an error which occurs when running R CMD check. >>> >>>Many thanks for your advice in advance. >>>Best Regards >>>Andreas >>>
Warnes, Gregory R
2004-Oct-25 18:10 UTC
[R] How to save a complete image of the current state of R ?
Date: Mon, 25 Oct 2004 14:10:15 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2654.89) Content-Type: text/plain; charset="iso-8859-1" It is possible to save all of these items using the save.session and restore.session functions provided by the ''session'' package available from CRAN. -Greg> -----Original Message----- > From: r-help-bounces at stat.math.ethz.ch > [mailto:r-help-bounces at stat.math.ethz.ch]On Behalf Of Andreas Buness > Sent: Friday, October 22, 2004 1:05 PM > To: r-help at stat.math.ethz.ch > Subject: [R] How to save a complete image of the current state of R ? > > > Hello, > > I like to save the complete state of R, i.e. including > all environments, objects/workspaces, loaded packages etc.. > > This wish has arisen since I am not able to reproduce > an error which occurs when running R CMD check. > > Many thanks for your advice in advance. > Best Regards > Andreas > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html >LEGAL NOTICE\ Unless expressly stated otherwise, this messag...{{dropped}}
Warnes, Gregory R
2004-Oct-25 18:10 UTC
[R] How to save a complete image of the current state of R ?
Date: Mon, 25 Oct 2004 14:10:15 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2654.89) Content-Type: text/plain; charset="iso-8859-1" It is possible to save all of these items using the save.session and restore.session functions provided by the 'session' package available from CRAN. -Greg> -----Original Message----- > From: r-help-bounces at stat.math.ethz.ch > [mailto:r-help-bounces at stat.math.ethz.ch]On Behalf Of Andreas Buness > Sent: Friday, October 22, 2004 1:05 PM > To: r-help at stat.math.ethz.ch > Subject: [R] How to save a complete image of the current state of R ? > > > Hello, > > I like to save the complete state of R, i.e. including > all environments, objects/workspaces, loaded packages etc.. > > This wish has arisen since I am not able to reproduce > an error which occurs when running R CMD check. > > Many thanks for your advice in advance. > Best Regards > Andreas > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html >LEGAL NOTICE\ Unless expressly stated otherwise, this messag...{{dropped}}