rpruim/mosaic — Issue #42: plotFun() scoping/environment issues
Author: rpruim
Created: 2012-02-23 22:34:29+00:00
State: open
Labels: bug

Danny's tale of personal woe:

```R
forcedata = data.frame( f=c(1,2,-2,0,0), t=c(0,1,5,7,8))
force = connector(f~t, data=forcedata)
plotFun( force(t)~t, tlim=range(0,8))
```
Even if you have defined your own "force" function, the one that gets called from our evaluation mechanism is the built-in "force", which simply evaluates its argument.

We may still need to work on the environments in which things are evaluated.