Blog‎ > ‎

Keras using R on Ubuntu

posted Jul 3, 2019, 2:13 AM by MUHAMMAD MUN`IM AHMAD ZABIDI   [ updated Jul 3, 2019, 2:20 AM ]
Not exactly a breeze to get running.

First, try installing devtools. It's a package that allows other packages to be installed from GitHub.

> install.packages("devtools")

It didn't work for me. After Googling around, I found this:

> install.packages('devtools',dependencies=TRUE, repos='https://stat.ethz.ch/CRAN/')

If that is ok, install keras R package from GitHub:

> devtools::install_github("rstudio/keras")

Then install both the core Keras library as well as the TensorFlow backend.

> library(keras)
> install_keras()

Next, run some test as recommended by https://keras.rstudio.com/

Here's my output after going all the steps.




Comments