Description Usage Arguments Details Value Examples
View source: R/unpackExampleData.R
The SSNdesign package contains several .ssn and .Rdata files. These are the files referred to in the package vignette. This function takes these files out of SSNdesign's folders and copies them to a user-specified location on the user's computer.
1 | unpackExampleData(unpack.loc)
|
unpack.loc |
The path to some folder on the user's computer that the files should be copied to. |
Please note that the function will return FALSE
, indicating unsuccessful file transfer, if the directory specified in unpack.loc
already contains files with the same names as the example data files.
A logical indicating whether file transfer was successful.
1 2 3 4 5 6 | ## Not run:
# To the documents folder:
unpackExampleData("~/")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.