hm_save_cache | R Documentation |
Filename is "route_star_cache_id_XXX.rda"
where "id" is the id
parameter and XXX is made up from the name of the grid (which identifies the
map used) and the 'aircraftSet' attribute of the aircraft dataset (which
identifies the source). This is because the cache should be for a unique
combination of these (and you must have these available, because they were
needed to generate the routes).
hm_save_cache(id, grid, aircraft, path = "data/")
id |
Identifying text, see above. Recommended to use a version number or date. |
grid |
Your route grid dataset. The |
aircraft |
Your aircraft dataset. The |
path |
By default |
Invisible true
For more details see the cache section in the vignette:
vignette("Supersonic_Routes_in_depth", package = "himach")
. or
Vignette on caching
# not run
# hm_save_cache("v2", grid, ac) #save here
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.