Transferring over a code base from Matlab to R is often a repetitive and inefficient use of time. This package provides a translator for Matlab / Octave code into R code. It does some syntax changes, but most of the heavy lifting is in the function changes since the languages are so similar. Options for different data structures and the functions that can be changed are given. The Matlab code should be mostly in adherence to the standard style guide but some effort has been made to accommodate different number of spaces and other small syntax issues. This will not make the code more R friendly and may not even run afterwards. However, the rudimentary syntax, base function and data structure conversion is done quickly so that the maintainer can focus on changes to the design structure.

Documentation

Manual: matconv.pdf
Vignettes:

Maintainer: Siddarta Jairam <sidjsb at gmail.com>

Author(s): Siddarta Jairam*, David Hiebeler*

Install package and any missing dependencies by running this line in your R console:

install.packages("matconv")

Depends
Imports methods
Suggests knitr, testthat
Enhances
Linking to
Reverse
depends
Reverse
imports
Reverse
suggests
Reverse
enhances
Reverse
linking to

Package matconv
Materials
URL
Task Views
Version 0.3.2
Published 2017-01-16
License GPL (>= 2)
BugReports
SystemRequirements
NeedsCompilation no
Citation
CRAN checks matconv check results
Package source matconv_0.3.2.tar.gz