# Add Julia function within R package without Julia install (or hiding it)

**URL:** <https://discourse.julialang.org/t/add-julia-function-within-r-package-without-julia-install-or-hiding-it/38488>\
**Category:** General Usage\
**Created:** [April 30, 2020, 3:47pm UTC](https://discourse.julialang.org/t/add-julia-function-within-r-package-without-julia-install-or-hiding-it/38488 "2020-04-30T15:47:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![virgile-baudrot](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/virgile-baudrot/32/6857_2.png) [@virgile-baudrot](https://discourse.julialang.org/u/virgile-baudrot)\
**Post date:** [April 30, 2020, 3:47pm UTC](https://discourse.julialang.org/t/add-julia-function-within-r-package-without-julia-install-or-hiding-it/38488/1 "2020-04-30T15:47:37Z")

</div>

I would like to provide some simple functions I developed in Julia for R user through an R package. With JuliaCall, it should be easy, but I have some difficulties to make a link between Julia objects and functions in the R package.

To be clearer: I developed some package with C++ function call from R using Rcpp. And then, we can easily put C++ function in R package as for the R user, there is no need to care about C++.

Is there anyone with a road map to do the same thing with Julia? Or a package doing such stuff I could be inspired by?

Best

---

<div class="post-metadata">

**Author:** ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Post date:** [April 30, 2020, 4:41pm UTC](https://discourse.julialang.org/t/add-julia-function-within-r-package-without-julia-install-or-hiding-it/38488/2 "2020-04-30T16:41:39Z")

</div>

[Automatic Installation of Julia? · Issue #116 · Non-Contradiction/JuliaCall · GitHub](https://github.com/Non-Contradiction/JuliaCall/issues/116) is where the discussion is.

---

<div class="post-metadata">

**Author:** ![virgile-baudrot](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/virgile-baudrot/32/6857_2.png) [@virgile-baudrot](https://discourse.julialang.org/u/virgile-baudrot)\
**Post date:** [April 30, 2020, 4:47pm UTC](https://discourse.julialang.org/t/add-julia-function-within-r-package-without-julia-install-or-hiding-it/38488/3 "2020-04-30T16:47:37Z")

</div>

Oh, great. Thanks
