Similar when I tried
library(keras)
install_keras()
after I have installed the package. I got the following:
Creating virtualenv for TensorFlow at ~/.virtualenvs/r-tensorflow
New python executable in /home/rstudio-user/.virtualenvs/r-tensorflow/bin/python
Installing setuptools, pkg_resources, pip, wheel...done.
Running virtualenv with interpreter /usr/bin/python
Upgrading pip ...
Collecting pip
Using cached pip-9.0.2-py2.py3-none-any.whl
Installing collected packages: pip
Successfully installed pip-9.0.2
Upgrading wheel ...
Collecting wheel
Using cached wheel-0.30.0-py2.py3-none-any.whl
Installing collected packages: wheel
Successfully installed wheel-0.30.0
Upgrading setuptools ...
Collecting setuptools
Using cached setuptools-39.0.1-py2.py3-none-any.whl
Installing collected packages: setuptools
Successfully installed setuptools-39.0.1
Installing TensorFlow ...
Collecting tensorflow
Downloading tensorflow-1.6.0-cp27-cp27mu-manylinux1_x86_64.whl (45.9MB)
/bin/bash: line 1: 1259 Killed '/home/rstudio-user/.virtualenvs/r-tensorflow/bin/pip' install --ignore-installed --upgrade 'tensorflow' 'h5py' 'pyyaml' 'requests' 'Pillow' 'keras' 'scipy'
Error: Error 137 occurred installing TensorFlow
I guess I would have to configure rstudio.cloud but I don't know how. I would be thankful for some reference. Thank you and regards!
PS: I could open up a new "package topic" and not add it to the other question if you prefer.