RTensorFlow provides idiomatic R language bindings for TensorFlow.
Notice: This project is still under active development and not guaranteed to have a stable API. This is especially true because the underlying TensorFlow C API has not yet been stabilized as well.
Since this package depends on the TensorFlow C API, it needs to be installed from Tensorflow website.
The Tensorflow C API libtensorflow.so
can directly be installed onto the host machine by following the instructions in this link
Make sure you install the library in the default directory (/usr/local
)
macOS Note : There is a homebrew formula to install libtensorflow
without any hassle.
Upon installing libtensorflow.so
in the default directory,
install.packages("devtools")
library(devtools)
install_github("wazeerzulfikar/rtensorflow")
library(rtensorflow)
- For examples on how to use the R API, look at
R/examples.R
Developers and users are welcome to contribute!
This project is licensed under the terms of the Apache 2.0 license.