Description Usage Arguments Details Value Author(s) Examples
Given an url, these functions download a file from a given web site and unzip the file if it is compressed.
1 2 3 4 | loadFromUrl(srcUrl, destDir = "", verbose=FALSE)
validateUrl(srcUrl)
unzipFile(fileName, where = file.path(path.package("Resourcerer"),
"temp"), isgz = FALSE)
|
srcUrl |
|
destDir |
|
where |
|
isgz |
|
fileName |
|
verbose |
A booline indicating whether to print extra information. |
These functions used to be part of the AnnBuilder package which was replaced by AnnotationDbi.If the file is compressed, decompressing will be applied and the path for the decompressed file will be returned.
validateUrl
will terminate the process if an invalid url
is passed.
unzipFile
decompress the file passed as fileName.
loadFromUrl
returns a character string for the name of
the file saved locally.
Jianhua Zhang
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.