# Error Building RCall

**URL:** <https://discourse.julialang.org/t/error-building-rcall/27924>\
**Category:** General Usage\
**Tags:** interoperability\
**Created:** [August 24, 2019, 5:34am UTC](https://discourse.julialang.org/t/error-building-rcall/27924 "2019-08-24T05:34:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yifan\_Liu](https://avatars.discourse-cdn.com/v4/letter/y/4da419/32.png) [@Yifan\_Liu](https://discourse.julialang.org/u/Yifan_Liu)\
**Post date:** [August 24, 2019, 5:34am UTC](https://discourse.julialang.org/t/error-building-rcall/27924/1 "2019-08-24T05:34:33Z")

</div>

I noticed that I could not use the RCall package properly. When I run Pkg.build(“RCall”), I got the error message:

> ERROR: LoadError: R cannot be found. Set the “R\_HOME” environment variable to re-run Pkg.build(“RCall”).

I am running Julia Version 1.1.0 on Fedora 30.

This problem makes me unable to wrap Julia code in R Markdown. Is there anything similar to R Markdown in Julia?
