Description Usage Arguments Examples
Allow for simpler syntax in R. Output messages to console. Use options('utilsRL::silent'=TRUE)
to disable console output.
1 | console.log(tabs=tabs, tab.char=tab.char, silent.off=silent.off, m1, m2, ..)
|
tabs |
a non-negative integer. Default |
tab.char |
character. Default |
silent.off |
boolean. Default |
m1 |
character string / vector of character strings. The strings will be concatenated with no spaces, prepended by tab stops and followed by a |
m2 |
similar. User can set 0 or more 'messages' to be printed in the console. |
1 2 3 4 5 | ## Not run:
console.log(tabs=0, 'Test');
console.log(tabs=1, silent.off=TRUE, 'Starting Method', c('Scanning data set ',k,' for solutions:'));
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.