Package: matconv 0.4.2
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.
Authors:
matconv_0.4.2.tar.gz
matconv_0.4.2.zip(r-4.5)matconv_0.4.2.zip(r-4.4)matconv_0.4.2.zip(r-4.3)
matconv_0.4.2.tgz(r-4.4-any)matconv_0.4.2.tgz(r-4.3-any)
matconv_0.4.2.tar.gz(r-4.5-noble)matconv_0.4.2.tar.gz(r-4.4-noble)
matconv_0.4.2.tgz(r-4.4-emscripten)matconv_0.4.2.tgz(r-4.3-emscripten)
matconv.pdf |matconv.html✨
matconv/json (API)
# Install 'matconv' in R: |
install.packages('matconv', repos = c('https://sidjai.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/sidjai/matconv/issues
Last updated 4 years agofrom:1049157a78. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 06 2024 |
R-4.5-win | OK | Nov 06 2024 |
R-4.5-linux | OK | Nov 06 2024 |
R-4.4-win | OK | Nov 06 2024 |
R-4.4-mac | OK | Nov 06 2024 |
R-4.3-win | OK | Nov 06 2024 |
R-4.3-mac | OK | Nov 06 2024 |
Exports:makeDataMapmakeFuncMapsmakeSliceMapmat2r
Dependencies:
matconv: The use of syntax converters
Rendered frombasicSyntax.rmd
usingknitr::rmarkdown
on Nov 06 2024.Last update: 2019-01-06
Started: 2015-07-17
matconv: Converting Function calls
Rendered fromfunctionCalls.rmd
usingknitr::rmarkdown
on Nov 06 2024.Last update: 2019-01-06
Started: 2015-08-26
matconv: How to convert matlab code
Rendered fromoverallUse.rmd
usingknitr::rmarkdown
on Nov 06 2024.Last update: 2021-05-12
Started: 2016-01-11
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Make the maps for the data | makeDataMap |
Turn dictionary lines into functions that map matlab to R function calls | makeFuncMaps |
Make the maps for converting slice notation | makeSliceMap |
mat2r | mat2r |
matconv: A Utility to Convert Matlab / Octave Code into R Code | matconv |