A quick intro to Julia’s PyCall and RCall packages

Great! So you’re venturing into the promising world of Julia but still want access to your familiar friends Python and R. While the benefits of Julia are best realized by operating purely in Julia, it’s reassuring to know that there are several ways to integrate your Python or R skills into your workflow while setting out.

Both Python and R can be invoked within Julia by using either the PyCall or RCall packages. The simplest way to see these packages in play is by making use of their respective approachesto converting strings of Python or R into Julia-accessible operations and functions. For those familiar with Python, this is akin to using evalfor single-line/single-expression code or exec for multi-line/multi-expression code.

#julia #data-science #r #programming #python

Using Python and R with Julia
2.10 GEEK