blob: 4b47f8c8b2b3e44288b06fb96a9c7216b3f0e42c [file] [log] [blame] [view]
# MXNet - R API
See the [MXNet R Reference Manual](http://mxnet.io/api/r/mxnet-r-reference-manual.pdf).
MXNet supports the R programming language. The MXNet R package brings flexible and efficient GPU
computing and state-of-art deep learning to R. It enables you to write seamless tensor/matrix computation with multiple GPUs in R. It also lets you construct and customize the state-of-art deep learning models in R,
and apply them to tasks, such as image classification and data science challenges.
You can perform tensor or matrix computation in R:
```r
> require(mxnet)
Loading required package: mxnet
> a <- mx.nd.ones(c(2,3))
> a
[,1] [,2] [,3]
[1,] 1 1 1
[2,] 1 1 1
> a + 1
[,1] [,2] [,3]
[1,] 2 2 2
[2,] 2 2 2
```
## Resources
* [MXNet R Reference Manual](http://mxnet.io/api/r/mxnet-r-reference-manual.pdf)
* [MXNet for R Tutorials](http://mxnet.io/tutorials/index.html#R-Tutorials)