title: Downloading of mnist data using Keras and Tensorflow
body: <p>I need to download Mnist data in order to work with it later. How can I do this? Should I have install Python on my device? I have tried to use such code and I receive an errors <a href="https://i.stack.imgur.com/psIyX.png" rel="nofollow noreferrer">first error</a>:</p>
  <pre><code>install.packages(&quot;tensorflow&quot;) 
  library(tensorflow) 
  #reticulate::install_miniconda()
  install_tensorflow()
  
  install.packages(&quot;keras&quot;) 
  library(keras) 
  install_keras()
  
  mnist &lt;- dataset_mnist()
  X_train &lt;- mnist$train$x
  X_test &lt;- mnist$test$x
  y_train &lt;- mnist$train$y
  y_test &lt;- mnist$test$y
  </code></pre>
  <p><a href="https://i.stack.imgur.com/1u59d.png" rel="nofollow noreferrer">Second error</a> How can I do this installation in a right way?</p>