Skip to content

Latest commit

 

History

History
10 lines (10 loc) · 362 Bytes

tensorflow_r.md

File metadata and controls

10 lines (10 loc) · 362 Bytes
module load anaconda3 rh/devtoolset/8
R
# next line gives TF 2.0 and Python 3.6
> install.packages("tensorflow", method="conda", conda="/usr/licensed/anaconda3/2019.10/bin/conda")
> install.packages(c("keras", "reshape2", "ggplot2"))  # keras 2.2.5.0
> use_condaenv("~/.conda/envs/r-reticulate/")
> library(tensorflow)
> tf$constant("Hellow Tensorflow")