getURL: Retrieve file from URL.

Description Usage Arguments Value Examples

View source: R/getmodEncode.R

Description

A function that can be used to retrieve any file of interest from the internet, in our case, modEncode binding site information GFF files into the working directory. See also help for function gff2RDList.

Usage

1
getURL(urls, filenames, extension='.gff3', method='internal') 

Arguments

urls

Character vector with one or more target URLs to download.

filenames

Character vector with the filename for each URL target.

extension

If desired, an extension to append to filenames.

method

Either 'internal' to use the system's default or 'wget' if it is installed.

Value

Message indicating the path to downloaded file(s).

Examples

1
2
# Not run
#getURL('http://www.google.com/index.html','index','.html')

Bioconductor-mirror/chroGPS documentation built on June 1, 2017, 5:32 a.m.