Description Usage Arguments Details Examples
Process to transfer R data to Datavyu
1 | r2datavyu(rlist, directory = ".", filename = "datavyur_export")
|
rlist |
List of lists or |
directory |
Path to a directory that will store the newly created folder
"datavyur_export" containing the |
filename |
File name of the |
Exports R data (as a list of lists or data frames corresponding to Datavyu columns)
to a .csv
file. This can then be used by Datavyu for saving as a .opf
and
importing R data into Datavyu. Each list item is a different column in the final
Datavyu file.
NOTE: Datavyu cannot currently import the .csv files this
function creates, so a Ruby script is generated to convert the .csv
file to .opf
,
which can be loaded into Datavyu.
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
# these examples are not run to comport with CRAN policies
# First get example data to use
example_data <- fake_datavyu_data()
# See how the example data is structured, as a list with another list and data.frame
# Both the list and data.frame are named. If not named, one will be assigned.
str(example_data)
# Export R list to a .csv file for importing into Datavyu
r2datavyu(example_data, "~")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.