save_print | R Documentation |
print()
of an object.Capture output from print()
of an object.
save_print(object, collapse = "\n")
save_object_info(object)
object |
An object to be printed. |
collapse |
A character scalar: used to collapse the output lines. |
A character scalar for save_print()
,
list(str = save_print(object), dim = dim(object))
for save_object_info()
.
save_print(lm(mpg ~ cyl, datasets::mtcars))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.