excel | R Documentation |
This function dumps a data frame into a temporary tab-delimited table and opens an Excel session for the file.
excel(x, ...)
## Default S3 method:
excel(x, ...)
## S3 method for class 'data.frame'
excel(x, header = TRUE, row.names = FALSE, ...)
x |
Data frame. |
... |
Further arguments passed onto the |
header |
Logical value specifying whether data frame column names should be exported. |
row.names |
Logical value specifying whether data frame row names should be exported. |
excel(default)
: Default 'excel' method.
excel(data.frame)
: Export data frame to MS Excel.
## Not run:
# Send a vector to Excel:
#' excel(1:10)
# Send a 25 x 4 matrix of random numbers to Excel, with no headers:
x <- matrix(runif(100), ncol = 4)
excel(x, header = FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.