Description Usage Arguments Value Note
Takes a potentially long character object and adds carriage returns and blank spaces for better appearance when printing to the terminal window
1 |
x |
A character object |
final.cr |
Whether to add a carriage return at the end. T/F. |
indent |
First line indent (number of blank spaces) |
exdent |
Subsequent line(s) indent (number of blank spaces) |
character object with embedded \n characters
This function can prevent long messages from extending beyond the width of the R-console. Works with any function that prints to the console (e.g., cat, print, stop)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.