downloadData: Download a file

View source: R/PXD000001.R

downloadDataR Documentation

Download a file

Description

Unless already present, downloads src in the destdir directory.

Usage

downloadData(src, destdir = ".", unpack = TRUE, ...)

Arguments

src

The url of the file to download.

destdir

The destination directory. Default is ".".

unpack

Should src be uncompressed? Default is TRUE.

...

Additional paramters passed to download.file.

Value

Invisible returns the full path of the downloaded file.

Author(s)

Laurent Gatto


lgatto/RforProteomics documentation built on May 10, 2023, 11:51 p.m.