Skip to content
Prev 279741 / 398506 Next

Create checkpoint - was: How to de-source and re-source a file?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 07/12/11 21:27, Roebuck,Paul L wrote:
checkpoint.file <- "checkpoint_appname.RData"
Nice
idea - like it. I am going to use it in my next simulation. As
the simulation is starting from a vanilla R session, I am going to use
save.image() to save the complete workspace.

Am I right in assuming, that everything in my workspace gets saved,
and if I want to start off from this checkpoint, I have to

1) load all packages again
2) load() the workspace as saved by save.image()
3) and voil?, I can continue?

Or is there anything which will *not* be restored with an approach
like this (assuming a S3 and S4 classes etc.)?

Cheers,

Rainer
- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax :       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      Rainer at krugs.de

Skype:      RMkrug
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk7gfAcACgkQoYgNqgF2egqDiwCcDlZrtLf9xRhsKx7N41y0fD7q
E4EAnj0WO9lWCfyshTmIBYGYeH31TgCp
=oJNS
-----END PGP SIGNATURE-----