# Loading setup script for JuliaCall in R not working

**URL:** <https://discourse.julialang.org/t/loading-setup-script-for-juliacall-in-r-not-working/51285>\
**Category:** General Usage\
**Tags:** juliacall\
**Created:** [December 5, 2020, 6:21am UTC](https://discourse.julialang.org/t/loading-setup-script-for-juliacall-in-r-not-working/51285 "2020-12-05T06:21:18Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Non-Contradiction](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/non-contradiction/32/2208_2.png) [@Non-Contradiction](https://discourse.julialang.org/u/Non-Contradiction)\
**Post date:** [December 6, 2020, 12:25am UTC](https://discourse.julialang.org/t/loading-setup-script-for-juliacall-in-r-not-working/51285/6 "2020-12-06T00:25:55Z")

</div>

The new error message is similar to those: [Registry.toml missing - Usage / First steps - JuliaLang](https://discourse.julialang.org/t/registry-toml-missing/24152), and [“.julia/registries/General/Registry.toml”: No such file or directory · Issue #37521 · JuliaLang/julia (github.com)](https://github.com/JuliaLang/julia/issues/37521) .  
From the information in the linked post and Github issue, deleting “/home/clement/.julia/registries/General/” may solve the problem.  
After deleting the folder, try

```julia
using Pkg; Pkg.add("Suppressor"); Pkg.add("RCall"); 
using Suppressor; using RCall;

```

in julia. If everything works, then restart R and try again.

---

_[View the full topic](https://discourse.julialang.org/t/loading-setup-script-for-juliacall-in-r-not-working/51285)._
