Use R to download a file to the UK Biobank RAP (really just a wrapper for `dx download`)
Examples
readr::write_tsv(data.frame(x=1:10,y=11:20), "ukbrap.dummy.20231114.txt.gz")
# download file to RAP storage
download_from_rap(file="ukbrap.dummy.20231114.txt.gz", dir="extracts/")