Learn R Programming

rdryad (version 0.2.0)

dryad_fetch: Download Dryad files

Description

Download Dryad files

Usage

dryad_fetch(url, destfile = NULL, ...)

Arguments

url
Dryad URL for a dataset.
destfile
Destination file. If not given, we assign a file name based on URL provided.
...
Further args passed on to download.file

Value

A path to the file

Details

This function is a thin wrapper around download.file to get files to your machine only. We don't attempt to read/parse them in to R.

Examples

Run this code
## Not run: 
# url <- download_url('10255/dryad.1759')
# dryad_fetch(url)
# ## End(Not run)

Run the code above in your browser using DataLab