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

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.

Browse man pages Browse package API and functions Browse package files

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
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("matconv")

Man pages

makeDataMap: Make the maps for the data
makeFuncMaps: Turn dictionary lines into functions that map matlab to R...
makeSliceMap: Make the maps for converting slice notation
mat2r: mat2r
matconv: matconv: A Utility to Convert Matlab / Octave Code into R...

Functions

asRightMatrix Source code
convData Source code
convDotSyntax Source code
convEasySyntax Source code
convEqualsArrow Source code
convFunctionsCalls Source code
convIfElse Source code
convLoops Source code
convSemiColon Source code
convSymbols Source code
convUserFunctions Source code
dealEmpty Source code
defaultOneChar Source code
getBetween Source code
getInlineComments Source code
getMainQuote Source code
getMatLabClassBounds Source code
getRowColFromData Source code
isClassName Source code
listify Source code
makeDataMap Man page Source code
makeFlag Source code
makeFunSwitcher Source code
makeFuncMaps Man page Source code
makeSliceMap Man page Source code
mat2r Man page Source code
matconv Man page
matconv-package Man page
matrixify Source code
paraAroundThings Source code
parseArgs Source code
parseFlags Source code
putBackData Source code
putBackGroups Source code
putBackStrings Source code
removeData Source code
removeGroups Source code
removeStrings Source code
sanitizeMatArgs Source code
shExtractData Source code
splitMatVec Source code
trimWhite Source code

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
matconv documentation built on May 19, 2017, 10:16 p.m.