download_immport: Downlaod file or directory from ImmPort

View source: R/aspera.R

download_immportR Documentation

Downlaod file or directory from ImmPort

Description

Downlaod file or directory from ImmPort

Usage

download_immport(path, output_dir = ".", aspera_path = NULL, verbose = FALSE)

Arguments

path

A character. File or directory to download.

output_dir

A character. Output directory.

aspera_path

A charater. Path to Aspera CLI installation.

verbose

A logical. Show stdout/stderr from Aspera.

Value

A list with components: * status The exit status of the process. If this is 'NA', then the process was killed and had no exit status. * stdout The standard output of the command, in a character scalar. * stderr The standard error of the command, in a character scalar. * timeout Whether the process was killed because of a timeout.

References

http://docs.immport.org/#API/FileDownloadAPI/filedownloadapi/#example-of-manual-steps-to-download-a-file

Examples

## Not run: 
download_immport("/SDY1/StudyFiles/Casale_Study_Summary_Report.doc")

## End(Not run)

RGLab/ImmPortR documentation built on Sept. 6, 2022, 2:47 p.m.