I'm experiencing segmentation faults from time to time that abruptely end my R sesion. In such cases, is there any way to recover the work done? (i.e., is there any temporal file that I could use?) Thanks Agus Dr. Agustin Lobo Instituto de Ciencias de la Tierra (CSIC) Lluis Sole Sabaris s/n 08028 Barcelona SPAIN tel 34 93409 5410 fax 34 93411 0012 alobo at ija.csic.es -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Hi, I had experienced some segmentation faults ("SIGSEGV" on Linux) on my Linux RH 7.0 box at home, I know and use one, not very clever way:>save.image(file="foo")or just>save.image() # to .RDataoften enough to prevent loss of large part of work. Probably the R veterans will give you better advice, but this method was OK for me. Jan ------------------------------------------------- designed for _monospaced_ font ------------------------------------------------- /- Jan Svatos, Sokolovska 855/225 -/ /- Data Analyst, Prague 9 -/ /- Eurotel Praha 190 00 -/ /- jan_svatos at eurotel.cz Czechia -/ ------------------------------------------------- Agustin Lobo <alobo at ija.csic.es> Komu: r-help <r-help at stat.math.ethz.ch> Odeslal: Kopie: owner-r-help at stat.ma P?edm?t: [R] segmentation fault th.ethz.ch 07/24/01 10:10 AM I'm experiencing segmentation faults from time to time that abruptely end my R sesion. In such cases, is there any way to recover the work done? (i.e., is there any temporal file that I could use?) Thanks Agus Dr. Agustin Lobo Instituto de Ciencias de la Tierra (CSIC) Lluis Sole Sabaris s/n 08028 Barcelona SPAIN tel 34 93409 5410 fax 34 93411 0012 alobo at ija.csic.es -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-. -.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._. _._._ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Tue, 24 Jul 2001 Jan_Svatos at eurotel.cz wrote:> > Hi, > > I had experienced some segmentation faults ("SIGSEGV" on Linux) on my Linux > RH 7.0 > box at home, I know and use one, not very clever way: > > >save.image(file="foo") > or just > >save.image() # to .RData > > often enough to prevent loss of large part of work. > Probably the R veterans will give you better advice, but this method was OK > for me.It is more or less the only way. When there is a segfault, nothing is saved automatically. 1) Do not rely on saving your workspace in R, but keep enough information to reproduce objects as needed. Old-timers expected segfaults frequently (but see below). 2) Segfaults are bugs. If you are not linking in compiled code, they are bugs in one of R, any contributed packages or your OS, so please report them as described in the FAQ. However, given your OS is RH7.0, the third of those possibilities is not unlikely. On a reliable OS, segfaults in R should be rather rare: apart from using package foreign (where a couplke of errors have been corrected recently) I have not seen one for a couple of months at least. -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._