View source: R/utilities_public.R
downloadBaM | R Documentation |
Download BaM executable
downloadBaM(
url = NULL,
os = Sys.info()["sysname"],
destFolder = file.path(find.package("RBaM"), "bin"),
quiet = FALSE,
...
)
url |
character string, the url where BaM should be downloaded. When NULL, the url is determined automatically by using GitHub API to determine the latest release and the file corresponding to the OS. |
os |
character string, operating system, e.g. 'Linux', 'Windows' or 'Darwin'. |
destFolder |
character string, folder where BaM executable will be downloaded. By default the 'bin' folder in RBaM installation directory. |
quiet |
logical, if TRUE, suppress status messages. |
... |
arguments passed to function 'download.file' |
nothing - just download the file.
try(downloadBaM(destFolder=tempdir()))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.