Skip to content

How do you write that in R? Convert Python, Matlab, etc. commands to R within RStudio.

Notifications You must be signed in to change notification settings

Toniiiio/code2R

Repository files navigation

code2R

CRAN version

RStudio Addin: Turn Python, Matlab, etc. commands into R commands.

By no means a complete code translator.

demo of imageclipr

Making R welcoming for "foreign programmers"!

Installation

devtools::install_github('Timag/code2R')

If you use devtools::install(), the session has to be restarted (Ctrl+Shifft+F10).

Dependencies

RStudio

Open issues / feature requests

  • enrichen small set of R, Python dictionary

  • Add examples of Matlab Hiebeler dictionary

  • reverse translation R to (Python, Matlab, etc.)

  • Addin for Visual Studio Code, Spyder, etc.

  • Integration of PR for new translation dict. entries

Setup

Adding a keyboard shortcut (Recommended)

In RStudio go to Tools - Modify Keyboard Shortcuts...

Find Shortcuts

Modify Shortcuts

About

How do you write that in R? Convert Python, Matlab, etc. commands to R within RStudio.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages