powered by
eval.js(expr, envir=parent.frame(), enclos=if(is.list(envir)||is.pairlist(envir)) parent.frame())
eval
df = list() df$a = rep(1,5) df$b = rep("one",5) df = as.data.frame(df) #for comparison view df eval.js("df$new = NA") df
Run the code above in your browser using DataLab