Sends text to vsc, together with source information
printToVsc(ret, skipCalls = 0, category = "stdout", showSource = TRUE)
ret | The text to be sent |
---|---|
skipCalls | The number of calls to skip when reporting the calling file and line. Can be used e.g. inside log functions. |
category | The output category ("stdout", "stderr", ...) |
showSource | Whether to show the calling source file and line. |