getURL {chroGPS} | R Documentation

## Retrieve file from URL.

### 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

    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

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

[Package chroGPS version 2.4.0 Index]