powered by
execute string command This command just execute in the paraent frame.
exec(string, envir = parent.frame())
one string
the environment in which sting is to be evaluated.
execute string command
# NOT RUN { a=2 exec('a = 1') a # }
Run the code above in your browser using DataLab