Skip to content

R and MATLAB integration #98

@Jellevanderwerff

Description

@Jellevanderwerff

To quickly use Python objects from thebeat in other programming languages there's a few (very easy) options that would be good to include in the documentation:

MATLAB

  • Very easy, one can simply use py.thebeat.Sequence([20, 30]) etc., only tiny caveat is that the objects have to be converted to MATLAB objects manually. This even works for pandas dataframes (convert using table()) etc.

R/Python

  • Using reticulate to get Python > R. Also supports dataframes etc.
  • Using a Jupyter notebook to get R > Python using rpy2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions