Skip to content

R.matlab

3.8.1Package record

Read and Write MAT Files and Call MATLAB from Within R

14packages dependsuggested by 14
319Kdownloads / year
85.5%test coverage
13/13flavors OK

Overview

About

Methods readMat() and writeMat() for reading and writing MAT files. For users with MATLAB v6 or newer installed (either locally or on a remote host), the package also provides methods for controlling MATLAB (trademark) via R and sending and retrieving data between R and MATLAB.

Changes in 3.8.1

Bug Fixes

  • readMat() failed on MAT files with empty text fields (a regression in R.matlab 3.8.0).

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 19.7 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-09-17
  • NOTE14 NOTE2026-03-10
Advisories

none known

Documentation

In release 3.8.1
README· In the repository, left out of the releaseVignettesNoNEWSYes · 100% structured · mentions 3.8.1Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
21 (16 internal)includes a package overview page
Examples that run
50%2 run in a plain check · 2 never run
Exported functions with examples
29%
Documented parameters
80%
Return-value docs
79%
Help pages citing references
10%

Downloads

319K
CRAN downloads in the past year
Rank #395 · ~874/day · ~26.6K/mo
Daily download trend is not available in this view yet.
102.4K30 days
227.9K90 days
319K1 year
Compare downloads with other packages →
Also on876 r2u8 autocran2.8K conda_forge166 c2d4u

Repository

90Stars
23Forks
10Open issues
1Open PRs
0Releases
415Commits
8Commit identities
rmatlabpackage
415 commits · Last activity 2026-09-30 · 0% stars, 30d · Default branch at 3.8.1-9000, ahead of CRAN 3.8.1 (checked 2026-10-22)
Responsiveness
How these are sampled
PRs merged (all time)
44%
Median days to close, 50 most recently updated closed issues
24
Median days to close, 50 most recently updated closed PRs
1

Stars over time

2025-09-20 · 882026-07-07 · 90
PracticesBeta

7 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/henrikbengtsson/r.matlab on 2026-10-22.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (2)
Code of conductContributing guide
Coverage (1)
Coverage reporting
Reproducibility and dev environment (1)
Makefile
Show all practicesHide 1 practice
CRAN release process (1)
revdep/
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)

Installing R.matlab adds 3 packages (0 with compiled code, 758 KB of source tarballs). Heaviest: R.oo 375 KB, R.utils 359 KB, R.methodsS3 24 KB.

Depends (1)
R >= 2.14.0
Imports (5)
LinkingTo (0)
none
Suggests (2)
MatrixSparseM
Enhances (0)
none
Reverse dependencies
14direct
10indirect
Depends 1 · Imports 13
Suggested by 14
Show all 28 packagesHide all 28 packages
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (3)
Author, Maintainer since 1.0 (2005), Copyright holder
Contributor · added in 1.7.0
Internal MAT v4 reader
Contributor · added in 1.2.2
Support for reading compressed files, sparse matrices and UTF-encoded strings.
Releases (61)

Pick two releases to compare their code metrics.

  • 3.8.1Latest
    record
    2026-09-30 · current release · diff ↗
  • 3.8.0
    record
    2026-09-09 · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 3.7.0
    record
    2022-08-25 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • 3.6.2
    record
    2018-09-27 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • 3.6.1
    record
    2016-10-20 · diff ↗
  • 3.6.0
    record
    2016-07-05 · diff ↗ ·
    removed 1 export
    pattern:^[^\\.]
    added 22 exports
    evaluate, evaluate.Matlab, getOption, getOption.Matlab, getVariable, getVariable.Matlab, isOpen, isOpen.Matlab, Matlab, R.matlab, readMat, setFunction, setFunction.Matlab, setOption.Matlab, setVariable, setVariable.Matlab, setVerbose, setVerbose.Matlab, startServer, startServer.Matlab, writeMat, readMat.default
Show 75 earlier eventsHide 75 earlier events

Package metadata

First published
2005-02-25
Total releases
61 / 21 yrs
License
LGPL (>= 2.1) · relicensed from GPL version 2 or newer in 1.1.0
Minimum R
≥ 2.14.0
Download size
109 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("R.matlab")
Bengtsson, H., Jacobson, A., & Riedy, J. (2026). R.matlab: Read and Write MAT Files and Call MATLAB from Within R (Version 3.8.1) [Computer software]. https://doi.org/10.32614/CRAN.package.R.matlab

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for R.matlab version 3.8.1 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy