search for: syspar

Displaying 7 results from an estimated 7 matches for "syspar".

Did you mean: systar
2020 Feb 26
1
Profiling: attributing costs to place of invocation (instead of place of evaluation)?
...ply" "sapply" "replicate" "f" This attributes the cost to the replicate() call to f(), where the call is actually defined. From my experience, this will give a much better understanding of the actual costs of each part of the code. The SIGPROF handler looks at sysparent and cloenv before deciding if an element of the call stack is to be included in the profile. Is there interest in integrating a variant of this patch, perhaps with an optional argument to Rprof()? Thanks! Best regards Kirill Index: src/main/eval.c =======================================...
2017 Jun 27
0
Seg Fault memory violation
...al (body=body at entry=0x857990, rho=rho at entry=0x17f3d798, useCache=useCache at entry=TRUE) at eval.c:5873 #1 0x00007ffff78d4138 in Rf_eval (e=0x857990, rho=rho at entry=0x17f3d798) at eval.c:624 #2 0x00007ffff78d61af in R_execClosure (call=call at entry=0x6079c0, newrho=<optimized out>, sysparent=<optimized out>, rho=rho at entry=0x17f3d450, arglist=arglist at entry=0x0, op=op at entry=0x857a70) at eval.c:1614 #3 0x00007ffff78d6539 in Rf_applyClosure (call=call at entry=0x3ae5cb0, op=op at entry=0x857a70, arglist=<optimized out>, rho=rho at entry=0x17f3d450, supplied...
2020 Jun 01
1
eval and Calling Frames
...ame 3. `evalq((function() sys.parent(1))())` returns a lower frame number ?? than `evalq(sys.parent(1))` The root cause of this is that the `evalq` **closure** sets a context, but then the C-level `do_eval` it invokes sets another one[1] with the new `evalq` context as the calling frame (`cptr->sysparent`)[2].? This then interacts with how `sys.parent` resolves parents when a target frame appears more than once in the context stack.? `sys.parent` returns the oldest context that matches[3], and in this case `f`'s frame appears twice because `evalq` adds it via `do_eval`. One option is to cha...
1998 May 15
1
couldn't find function "print.tframe"
I have an object with an attribute "tframe" for which there is a generic method print.tframe and also a method print.tframe.default defined in a library. However, when I use attributes(object) I get the message $tframe Error: couldn't find function "print.tframe" It's as if <primitive: attributes> is not looking through the search list? Any suggestions?
2018 Aug 06
2
SIGSEGV in R_RunWeakRefFinalizer, object allocated with Rcpp
....c:2013 #6 0x6c9db60f in bcEval (body=body at entry=0x1d45a88, rho=rho at entry=0x1d45318, useCache=useCache at entry=TRUE) at eval.c:6781 #7 0x6c9ecfb2 in Rf_eval (e=0x1d45a88, rho=0x1d45318) at eval.c:624 #8 0x6c9ee6f1 in R_execClosure (call=call at entry=0x0, newrho=<optimized out>, sysparent=<optimized out>, rho=0x15a3370, arglist=0x18c2498, op=0x1d45968) at eval.c:1773 #9 0x6c9ef605 in Rf_applyClosure (call=0x15a3370, call at entry=0x1d45828, op=0x18c2498, op at entry=0x1d45968, arglist=0x1d45968, rho=rho at entry=0x15a3370, suppliedvars=0x18c2498) at eval.c:1701 #10...
2009 Mar 03
1
profiler and loops
..., SEXP syscall, SEXP env, SEXP sysp, SEXP promargs, SEXP callfun) { cptr->nextcontext = R_GlobalContext; cptr->cstacktop = R_PPStackTop; cptr->evaldepth = R_EvalDepth; cptr->callflag = flags; cptr->call = syscall; cptr->cloenv = env; cptr->sysparent = sysp; cptr->conexit = R_NilValue; cptr->cend = NULL; cptr->promargs = promargs; cptr->callfun = callfun; cptr->vmax = vmaxget(); cptr->intsusp = R_interrupts_suspended; cptr->handlerstack = R_HandlerStack; cptr->restartstack = R_RestartStack;...
2018 Aug 09
0
SIGSEGV in R_RunWeakRefFinalizer, object allocated with Rcpp
...bcEval (body=body at entry=0x1d45a88, > rho=rho at entry=0x1d45318, useCache=useCache at entry=TRUE) > at eval.c:6781 > #7 0x6c9ecfb2 in Rf_eval (e=0x1d45a88, rho=0x1d45318) at eval.c:624 > #8 0x6c9ee6f1 in R_execClosure (call=call at entry=0x0, > newrho=<optimized out>, sysparent=<optimized out>, > rho=0x15a3370, arglist=0x18c2498, op=0x1d45968) at eval.c:1773 > #9 0x6c9ef605 in Rf_applyClosure (call=0x15a3370, > call at entry=0x1d45828, op=0x18c2498, op at entry=0x1d45968, > arglist=0x1d45968, rho=rho at entry=0x15a3370, > suppliedvars=0x...