Learn R Programming

darch (version 0.12.0)

provideMNIST: Provides MNIST data set in the given folder.

Description

This function will, if necessary and allowed, download the compressed MNIST data set and save it to .RData files using readMNIST. If the compressed MNIST archives are available, it will convert them into RData files loadable from within R. If the RData files are already available, nothing will be done.

Usage

provideMNIST(folder = "data/", download = F)

Arguments

folder

Folder name, including a trailing slash.

download

Logical indicating whether download is allowed.

Value

Boolean value indicating success or failure.

Examples

Run this code
# NOT RUN {
provideMNIST("mnist/", download = T)
# }

Run the code above in your browser using DataLab