download_mnist: Download the MNIST images

Description Usage Arguments Details

View source: R/rmnist.R

Description

Download the MNIST images. Because these about 11MB they do not ship with the package, but are downloaded as needed.

Usage

1
download_mnist(verbose = FALSE, quiet = FALSE, cache_dir = NULL)

Arguments

verbose

Print a message even if the images are already found

quiet

Passed through to download.file to suppress the download progress bar.

cache_dir

Optional path to download the files to. If not given, then

Details

The downloaded images will be stored on your system by default at the directory given by rappdirs::user_cache_dir("rmnist"). Alternatively, you can specify your own location for the images by setting the option rmnist.cache_dir (e.g., rmnist.cache_dir = tempfile()), or by specifying the cache_dir argument. To see what value will be used, you can run the (unexported) function rmnist:::rmnist_cache_dir().


richfitz/rmnist documentation built on May 27, 2019, 8:42 a.m.