renkun-ken / pipeR

Multi-Paradigm Pipeline Implementation
Other
169 stars 39 forks source link

Implicitly changing `.` in parent environment #15

Closed renkun-ken closed 10 years ago

renkun-ken commented 10 years ago
> . <- 1
> 10 %:>% c(.,1)
[1] 10 1
> .
[1] 10

The problem is that list2env changes parent.frame() environment due to reference semantics.