Description Usage Arguments Details
Download the MNIST images. Because these about 11MB they do not ship with the package, but are downloaded as needed.
1 | download_mnist(verbose = FALSE, quiet = FALSE, cache_dir = NULL)
|
verbose |
Print a message even if the images are already found |
quiet |
Passed through to |
cache_dir |
Optional path to download the files to. If not given, then |
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()
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.