downloadFile | R Documentation |
Check Cache and Download File
downloadFile( baseUrl, fileName, destDir = NULL, cacheEnv = "PAXTOOLSR_CACHE", verbose = FALSE )
baseUrl |
a string, entire download URL except filename |
fileName |
a string, the filename of file to be downloaded |
destDir |
a string, the path where a file should be saved |
cacheEnv |
a string, environment variable pointing to specific cache |
verbose |
show debugging information |
Description of file formats: http://www.pathwaycommons.org/pc2/formats
a boolean TRUE if the file was downloaded or already exists, FALSE otherwise
readSif, readBiopax, readSbgn, readSifnx, readGmt
downloadFile("http://google.com/", fileName="index.html", destDir=tempdir())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.