downloadFiles {psichomics} | R Documentation

## Download files to a given directory

### Description

Download files to a given directory

### Usage

    downloadFiles(url, folder, download = download.file, ...)

### Arguments

`url` | Character: download links
`folder` | Character: directory to store the downloaded archives
`download` | Function to use to download files
`...` | Extra parameters passed to the download function

### Value

Invisible TRUE if every file was successfully downloaded

### Examples

    ## Not run:
    url <- paste0("https://unsplash.it/400/300/?image=", 570:572)
    downloadFiles(url, "~/Pictures")

    # Download without printing to console
    downloadFiles(url, "~/Pictures", quiet = TRUE)

    ## End(Not run)

[Package psichomics version 1.6.2 Index]