# R in Julia, what is the best package?

**URL:** <https://discourse.julialang.org/t/r-in-julia-what-is-the-best-package/65076>\
**Category:** General Usage\
**Tags:** question, r\
**Created:** [July 21, 2021, 10:59pm UTC](https://discourse.julialang.org/t/r-in-julia-what-is-the-best-package/65076 "2021-07-21T22:59:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![maoc](https://avatars.discourse-cdn.com/v4/letter/m/58956e/32.png) [@maoc](https://discourse.julialang.org/u/maoc)\
**Post date:** [July 21, 2021, 10:59pm UTC](https://discourse.julialang.org/t/r-in-julia-what-is-the-best-package/65076/1 "2021-07-21T22:59:25Z")

</div>

What is the best way to introduce the R language in Julia?  
I looked for some alternatives and found a package called RCall.jl  
Are there any other options (maybe better) than this package?

---

<div class="post-metadata">

**Author:** ![affans](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/affans/32/11911_2.png) [@affans](https://discourse.julialang.org/u/affans)\
**Post date:** [July 21, 2021, 11:11pm UTC](https://discourse.julialang.org/t/r-in-julia-what-is-the-best-package/65076/2 "2021-07-21T23:11:57Z")

</div>

`RCall.jl` is pretty great. Is there any specific functionality you are looking for?

---

<div class="post-metadata">

**Author:** ![maoc](https://avatars.discourse-cdn.com/v4/letter/m/58956e/32.png) [@maoc](https://discourse.julialang.org/u/maoc)\
**Post date:** [July 21, 2021, 11:30pm UTC](https://discourse.julialang.org/t/r-in-julia-what-is-the-best-package/65076/3 "2021-07-21T23:30:14Z")

</div>

Nothing too special. I have one project done in R and I would like to play with the iteraction between Julia and R. I love R and I am loving working on Julia, so I would like to get the best of both languages.

However, it may be that I come across a package that R uses and that is not so easy to adapt to Julia, due to my little experience with Julia. Just to cite a quick example: rgenoud: R-GENetic Optimization Using Derivatives.

---

<div class="post-metadata">

**Author:** ![xiaodai](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xiaodai/32/15937_2.png) [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Post date:** [July 22, 2021, 12:14am UTC](https://discourse.julialang.org/t/r-in-julia-what-is-the-best-package/65076/4 "2021-07-22T00:14:01Z")

</div>

> [@maoc](#):
>
> RCall.jl

I think that’s your only option

---

<div class="post-metadata">

**Author:** ![George9000](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/george9000/32/23619_2.png) [@George9000](https://discourse.julialang.org/u/George9000)\
**Post date:** [July 22, 2021, 12:40am UTC](https://discourse.julialang.org/t/r-in-julia-what-is-the-best-package/65076/5 "2021-07-22T00:40:07Z")

</div>

See [this](https://www.youtube.com/watch?v=9fvwi8fXi28) and [this](https://github.com/kyla-mcconnell/juliaR) for a nice overview.
