gchart_get_cache_path {gchartsmap}R Documentation

Get the cache path

Description

Get the saved cache path

Usage

gchart_get_cache_path(path = NULL)

Arguments

path

Path to use as cache

Value

Returns the path to the local cache as set in the 'R_GOOGLE_CHART_CACHE' environment variable. If that is not set, gets the system's default cache path for the package as provided by 'tools::R_user_dir()'.

Examples


library(package = "gchartsmap")

# set the cache path to a temp folder
gchartsmap::gchart_set_cache(path = tempdir())

# check the set cache
gchartsmap::gchart_get_cache_path()


[Package gchartsmap version 1.0.1 Index]