as_toml | R Documentation |
Use as_toml()
to convert a named list to a Toml
object.
Or, create a Toml
object by passing in named values to toml()
.
as_toml(x, df_as_array = TRUE)
toml(..., df_as_array = TRUE)
x |
a named list |
df_as_array |
default |
... |
named items to be serialized to TOML. |
If you are serializing a data.frame
to a single table with df_as_array = FALSE
,
note that missing values are omitted when serializing a vector to an array as there is no
concept of missing values in TOML.
an object of class Toml
toml(person = list(age = 30L, name = "Wilma"))
as_toml(
list(
person = list(age = 30L, name = "Wilma")
)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.