Learn R Programming

macro (version 0.1.5)

runMSource: Addin Function to Run msource()

Description

This function is exposed to the addin menu to run msource() interactively. The function will run either the currently selected code, or the currently active program. The function sets the "envir" parameter to the global environment and the "clear" parameter to FALSE to enhance the user experience. The function takes no parameters and is only used by the addin menu.

Usage

runMSource()

Arguments

Value

The results of msource, invisibly.

Examples

Run this code
# \donttest{
# Called from addin menu
runMSource()
# }

Run the code above in your browser using DataLab