Description Usage Arguments Details Value Examples
Manage the internal paths of rasterTools
1 |
root |
[ |
project |
[ |
local |
[ |
remote |
[ |
When running the function setPaths the internal object
rtPaths is update. In case root is given, this
directory is searched for folders of all the specified datasets, and their
path are assigned in rtPaths. With local or remote,
the local or online directory of a specific dataset can be updated.
Changes entries of the internal dataset rtPaths.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## Not run:
# run this when starting rasterTools for the first time
getOption("rtPaths")
setPaths(root = "/path/to/the/spatial/files")
# in case a dataset is at an exotic locations
setPaths(local = list(sentinel = "/path/outside/of/root"))
# change the (outdated) url of some datasets
setPaths(remote = list(sentinel = "https://new_url_to_sentinel/")
getOption("rtPaths")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.