Re: [R] How to save a complete image of the current state of R ?

2004-10-25 Thread Andreas Buness
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
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


RE: [R] How to save a complete image of the current state of R ?

2004-10-25 Thread Warnes, Gregory 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: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Andreas Buness
 Sent: Friday, October 22, 2004 1:05 PM
 To: [EMAIL PROTECTED]
 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
 
 __
 [EMAIL PROTECTED] 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}}

__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: [R] How to save a complete image of the current state of R ?

2004-10-22 Thread Kevin Bartz
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
__
[EMAIL PROTECTED] 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
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: [R] How to save a complete image of the current state of R ?

2004-10-22 Thread Uwe Ligges
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
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! 
http://www.R-project.org/posting-guide.html
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: [R] How to save a complete image of the current state of R ?

2004-10-22 Thread Adaikalavan Ramasamy
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
 
 __
 [EMAIL PROTECTED] mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html