retrieve | R Documentation |
Retrieve files from the local cache
retrieve(id, dir = content_dir())
id |
a content_id |
dir |
the path we should use for permanent / on-disk storage
of the registry. An appropriate default will be selected (also
configurable using the environmental variable |
path to a local copy of the file.
store
# Store & retrieve local file
vostok_co2 <- system.file("extdata", "vostok.icecore.co2",
package = "contentid")
id <- store(vostok_co2)
retrieve(id)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.