Displaying 6 results from an estimated 6 matches for "findlocals".
2011 Jun 28
1
doMC - compiler - concatenate an expression vector into a single expression?
...comp(expr, env = envir, options = list(suppressUndefined = TRUE))
and for R >= 2.13.0 comp is defined as compiler::compile:
function (e, env = .GlobalEnv, options = NULL)
{
cenv <- makeCenv(env)
cntxt <- make.toplevelContext(cenv, options)
cntxt$env <- addCenvVars(cenv, findLocals(e, cntxt))
genCode(e, cntxt)
}
<environment: namespace:compiler>
My guess is that the function findLocals or genCode can not handle a
2-length expression vector.
Maybe somebody who knows the internals of these functions could explain
better this behaviour?
How can I concatenate two e...
2008 Jan 06
1
Anyone with English version of Windows?
Hello all,
I'm working on a small patch for Wine, but the output needs to match native
Windows, and I only have a Norwegian version of it. Could anyone with an
English version of Windows 2000/XP/Vista run the following program and send
me the results?
It will display four messageboxes with a short word in the caption and a
longer one in the box body.
The zip file contains a compiled
2011 Jun 29
0
[R-sig-hpc] doMC - compiler - concatenate an expression vector into a single expression?
...ed = TRUE))
>>
>> and for R>= 2.13.0 comp is defined as compiler::compile:
>> function (e, env = .GlobalEnv, options = NULL)
>> {
>> cenv<- makeCenv(env)
>> cntxt<- make.toplevelContext(cenv, options)
>> cntxt$env<- addCenvVars(cenv, findLocals(e, cntxt))
>> genCode(e, cntxt)
>> }
>> <environment: namespace:compiler>
>>
>> My guess is that the function findLocals or genCode can not handle a
>> 2-length expression vector.
>>
>> Maybe somebody who knows the internals of these functio...
2013 Apr 29
3
all.vars for nested expressions
Dear R fellows,
Assume I define
a <- expression(fn+tp)
sen <- expression(tp/a)
Now I'd like to know, which variables are necessary for calculating sen
all.vars(sen)
This results in a vector c(tp,a). But I'd like all.vars to evaluate the
sen-object down to the ground level, which would result in a vector
c(tp,fn) (because a was defined as fn+tp). In other words, I'd like
2014 Jan 28
3
[LLVMdev] MergeFunctions: reduce complexity to O(log(N))
Hi Stepan,
Sorry for the delay. It's great that you are working on MergeFunctions
as well and I agree, we should definitely try to combine our efforts to
improve MergeFunctions.
Just to give you some context, the pass (with the similar function
merging patch) is already being used in a production setting. From my
point of view, it would be better if we focus on improving its
capability
2014 Jan 30
3
[LLVMdev] MergeFunctions: reduce complexity to O(log(N))
Hello Sean and Tobias,
Sean,
Thank you. Could you describe Nick's ideas in few words or give me links
to your discussion, so I could adapt my ideas to it.
Tobias,
Your patch fails on several modules in my benchmark (73 of ~1800 tests).
I have sent one as attachment.
See statistics files for more details, all the .ll files you could
simply find in test-suite object directory (after