HTM2clip | R Documentation |
Calls HTML() with appropriate filename and append attributes to write output to clipboard (currently only works on Windows).
HTML2clip(x,
filename =file("clipboard",
ifelse(.Platform$OS == "windows", "w",
stop("Writing to clipboard only supported on Windows"))),
append = FALSE, ...)
x |
object to be output to HTML |
filename |
destination output file, defaults to clipboard |
append |
logical. If 'TRUE' output will be appended to 'file'; otherwise, it will overwrite the contents of 'file'decides if the filevalue of the width HR optional argument, in pixel or percent |
... |
... (passed on to HTML()) |
no value returned.
This function was contributed by Gabor Grothendieck.
Eric Lecoutre
HTML
if (.Platform$OS == "windows")
HTML2clip(summary(lm(rating ~., attitude)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.