3 Comments
Guest *Miles McBain* @ 2018-08-20 02:03:31 originally posted:
Wow. I learned a lot from picking through this code! Thanks Yihui.
Guest *Ogan* @ 2018-09-11 22:44:05 originally posted:
A weird thing I see is that autocomplete of Rstudio seems to execute the function for the active binding.
I cannot reproduce it with the latest preview version of RStudio: https://www.rstudio.com/products/rstudio/download/preview/
Originally posted on 2018-09-12 02:57:42
Guest *Prabhu* @ 2018-10-07 13:40:35 originally posted:
Yihui,
Can you please clarify the behavior of makeActiveBinding under attach? See below:
e = new.env()
makeActiveBinding("rnd", function(x) runif(10), e)
e$rnd # works
with(e, rnd) # ok
attach(e)
rnd # nope -- shows function
detach(e)
e$rnd # back to normal
Thanks in advance.
Sorry, but I don't have an idea.
Originally posted on 2018-10-08 02:52:25
Sign in to join the discussion
Sign in with GitHub