Learn R Programming

biorxivr (version 1.0.2)

bx_download: Download PDFs of papers found by bx_search

Description

Download PDFs of all the papers in your search results.

Usage

bx_download(bxso, directory, create = TRUE)

Arguments

bxso

search results from bx_search()

directory

The location you want to download the PDFs to.

create

TRUE or FALSE. If true create the directory if it does not exist. Default is TRUE.

Value

The PDFs are downloaded into the directory selected. Nothing is returned to R.

Examples

Run this code
# NOT RUN {
bxEco <- bx_search("ecology",limit=1)
bx_download(bxEco,tempdir())
# }

Run the code above in your browser using DataLab