write_har | R Documentation |
This function writes a HAR file based on a list. If a list element contains attribute "description," then it is used to define the long header name
Some warnings: (1) you cannot have NA's in a HAR file, (2) empty strings are not allowed, (3) some programs (e.g., GEMPACK models) read chunks of data no longer than 1e4 bytes (set maxSize = 1e4), (4) all dimensions in arrays must have names (see example)
write_har(data, filename, maxSize = 10000)
data |
A list |
myList = list(TEST = c('Test'))
attr(myList$TEST,'description') = "This is the long header name"
write_har(myList,'harfile.har')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.