# NOT RUN {
# Make sure R is communicating with Komodo before use, see ?koCmd in svGUI
koUnit_version()
# Toggle visibility of the R Unit pane in Komodo twice
koUnit_showRUnitPane()
koUnit_showRUnitPane()
# Make sure that the R Unit pane is visible
koUnit_showRUnitPane(TRUE)
# Is the test unit running in auto mode?
koUnit_isAutoTest()
# Toggle auto test mode off
koUnit_setAutoTest(FALSE)
# Run the test units from within Komodo
koUnit_runTest()
# }
Run the code above in your browser using DataLab