From murdoch.duncan at gmail.com  Sat May  3 01:54:58 2014
From: murdoch.duncan at gmail.com (Duncan Murdoch)
Date: Fri, 02 May 2014 19:54:58 -0400
Subject: [Rd] backtrace while trying to clear workspace
In-Reply-To: <CAGSjAUBdt4KEcBTxG5qAsQw8sdagA5hLKTF0sD4+ZA-hAqsg2g@mail.gmail.com>
References: <CAGSjAUBdt4KEcBTxG5qAsQw8sdagA5hLKTF0sD4+ZA-hAqsg2g@mail.gmail.com>
Message-ID: <53643052.7000001@gmail.com>

On 02/05/2014, 7:49 PM, Sandip Nandi wrote:
> Hi ,
>
> I tried to do the following . Before I execute the R script , i tried to
> clear the work space using
> rm(list = ls(all = TRUE)); . I get the following back trace . Its a huge
> backtrace , attached a part of it . Can anyone help why I get this ?

Looks like something has a "finalizer", but it doesn't work.

To be more specific, I'd have to see it, i.e. you'd have to give us 
instructions to reproduce.

Duncan Murdoch

>
>
> #13 0x00002aaaaafd612f in Rf_eval (e=0x1448d68, rho=0x16c6780) at eval.c:399
> #14 0x00002aaaaafdabf6 in Rf_applyClosure (call=0x1447108, op=0x1448f60,
>      arglist=0x16c6860, rho=0x16c6a20, suppliedenv=0x53ddc8) at eval.c:861
> #15 0x00002aaaaafd621b in Rf_eval (e=0x1447108, rho=0x16c6a20) at eval.c:512
> ---Type <return> to continue, or q <return> to quit---
> #16 0x00002aaaaafd787f in Rf_DispatchOrEval (call=0x1447178, op=0x5154a0,
>      generic=0x2aaaab17b54b "$", args=0x16c6908, rho=0x16c6a20,
>      ans=0x7fffffffd2c0, dropmissing=0, argsevald=0) at eval.c:2311
> #17 0x00002aaaab095937 in do_subset3 (call=0x1447178, op=0x5154a0,
>      args=0x16c6908, env=0x16c6a20) at subset.c:1068
> #18 0x00002aaaaafcd946 in bcEval (body=<value optimized out>,
> rho=0x16c6a20,
>      useCache=2873058336) at eval.c:4482
> #19 0x00002aaaaafd612f in Rf_eval (e=0x14463d0, rho=0x16c6a20) at eval.c:399
> #20 0x00002aaaaafdabf6 in Rf_applyClosure (call=0x16c6c50, op=0x1446638,
>      arglist=0x16c6b70, rho=0x53dd90, suppliedenv=0x53ddc8) at eval.c:861
> #21 0x00002aaaaafd621b in Rf_eval (e=0x16c6c50, rho=0x53dd90) at eval.c:512
> #22 0x00002aaaaaf8738e in protectedEval (d=<value optimized out>)
>      at context.c:747
> #23 0x00002aaaaaf87cfe in R_ToplevelExec (fun=0x2aaaaaf87370
> <protectedEval>,
>      data=0x7fffffffde00) at context.c:702
> #24 0x00002aaaaaf87d89 in R_tryEval (e=<value optimized out>,
>      env=<value optimized out>, ErrorOccurred=0x61) at context.c:761
> #25 0x00002aaaaadeb109 in executeText (
>      prog=0x7fffffffe0a0 "*rm(list = ls(all = TRUE));*",
>
>
> Thanks
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>



[Rd] backtrace while trying to clear workspace
Duncan Murdoch