Learn R Programming

macro (version 0.1.5)

runMSourceDebug: Addin Function to Run msource() in Debug Mode

Description

This function is exposed to the addin menu to run msource() interactively in debug mode. The function will run either the currently selected code, or the currently active program. On the call to msource, it sets the "debug" and "symbolgen" parameters to TRUE. The function also 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

runMSourceDebug()

Arguments

Value

The results of msource, invisibly.

Examples

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

Run the code above in your browser using DataLab