Description Usage Arguments Value Examples
opens data in spreadsheet program2
1 2 3 4 5 6 7 8 9 |
data |
a data.frame |
filter |
should there be the autofilter function enabled in the spreadsheet? |
table |
as a table? |
n |
number of rows |
all |
should all rows be used? if TRUE, overrules the n argument. |
sample |
should the n rows be sampled of taken from the top down? |
engine |
which package should be used for convertion to xlsx? default is readxl. openxlsx has better setup of view options (such as using the excel-table function for autosorting), but in some rare cases it will fail on encoding of characters, deleting all information in the process, with no warning (that I can figure out). So it's not default for that reason, but will probably work fine most of the time. Just be careful about data loss when using it. |
This function opens a data.frame
in a spreadsheet viewer. if asssigned to an object, the data.frame as well as manual changes in the spreadsheet will be saved to that object.
1 2 3 4 | ## Not run:
dat2 <- vi( dupstestdata)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.