matconv: A Code Converter from the Matlab/Octave Language to R

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.

Install the latest version of this package by entering the following in R:
install.packages("matconv")
AuthorSiddarta Jairam [aut, cre], David Hiebeler [ctb]
Date of publication2017-01-16 08:39:25
MaintainerSiddarta Jairam <sidjsb@gmail.com>
LicenseGPL (>= 2)
Version0.3.2

View on CRAN

Files

inst
inst/extdata
inst/extdata/HiebelerDict.txt
inst/extdata/defDataConv.R
inst/doc
inst/doc/basicSyntax.R
inst/doc/basicSyntax.html
inst/doc/functionCalls.R
inst/doc/overallUse.rmd
inst/doc/functionCalls.html
inst/doc/overallUse.R
inst/doc/functionCalls.rmd
inst/doc/overallUse.html
inst/doc/basicSyntax.rmd
tests
tests/testthat.R
tests/testthat
tests/testthat/test-easySyntax.R tests/testthat/test-funcMaps.R tests/testthat/test-dataMaps.R tests/testthat/test-dataSlice.R tests/testthat/test-flag.R tests/testthat/test-stringUtils.R
NAMESPACE
R
R/convEasySyntax.R R/utils.R R/convData.R R/matconv.R R/convMatSyntax.R R/mat2r.R R/convFunctionCalls.R
vignettes
vignettes/overallUse.rmd
vignettes/functionCalls.rmd
vignettes/basicSyntax.rmd
README.md
MD5
build
build/vignette.rds
DESCRIPTION
man
man/makeSliceMap.Rd man/mat2r.Rd man/matconv.Rd man/makeFuncMaps.Rd man/makeDataMap.Rd

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.