# JuliaCall setup script not working (Ubuntu)

**URL:** https://discourse.julialang.org/t/juliacall-setup-script-not-working-ubuntu/114328
**Category:** General Usage
**Tags:** diffeq, r, ubuntu, juliacall
**Created:** [May 15, 2024, 10:30pm UTC](https://discourse.julialang.org/t/juliacall-setup-script-not-working-ubuntu/114328 "2024-05-15T22:30:54Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Rohit](https://avatars.discourse-cdn.com/v4/letter/r/41988e/32.png) [@Rohit](https://discourse.julialang.org/u/Rohit)
#### Post date: [May 15, 2024, 10:30pm UTC](https://discourse.julialang.org/t/juliacall-setup-script-not-working-ubuntu/114328/1 "2024-05-15T22:30:54Z")

</div>

Hi,

I installed the latest version of Julia 1.10.3 in my AWS Ubuntu and I’m now trying to set it up in R. I tried using JuliaCall’s setup function but it shows me the following error:

```julia
> library(JuliaCall)
> julia <- julia_setup(JULIA_HOME = "/home/ubuntu/julia-1.10.3/bin")
Julia version 1.10.3 at location /home/ubuntu/julia-1.10.3/bin will be used.
Loading setup script for JuliaCall...
LoadError("/usr/local/lib/R/site-library/JuliaCall/julia/setup.jl", 16, ArgumentError("Package Suppressor not found in current path.\n- Run `import Pkg; Pkg.add(\"Suppressor\")` to install the Suppressor package.")) Error in .julia$cmd(paste0(Rhomeset, "Base.include(Main,\"", system.file("julia/setup.jl", :
  Error happens when you try to execute command ENV["R_HOME"] = "/usr/lib/R";Base.include(Main,"/usr/local/lib/R/site-library/JuliaCall/julia/setup.jl") in Julia.
                        To have more helpful error messages,
                        you could considering running the command in Julia directly
In addition: Warning message:
In system2(file.path(.julia$bin_dir, "julia"), shQuote(command), :
  running command ''/home/ubuntu/julia-1.10.3/bin/julia' '--startup-file=no' '/usr/local/lib/R/site-library/JuliaCall/julia/install_dependency.jl' '/usr/lib/R' 2>&1' had status 139

```

Then I looked online and some other people had this issue so I checked in Julia if the packages are installed or not but it does show both the packages:

```julia
julia> using Pkg

julia> Pkg.status()
Status `~/.julia/environments/v1.10/Project.toml`
  [6f49c342] RCall v0.14.1
  [fd094767] Suppressor v0.2.7

```

I also saw someone mentioning an issue with the General folder in the Registries directory but I checked and I do not have any folder:

```julia
~/.julia/registries$ cd ~/.julia/registries/General
ls
-bash: cd: /home/ubuntu/.julia/registries/General: No such file or directory

```

I also tried running this setup with a different package diffeqr but got the same error:

```julia
> de <- diffeqr::diffeq_setup(JULIA_HOME = "/home/ubuntu/julia-1.10.3/bin")
Julia version 1.10.3 at location /home/ubuntu/julia-1.10.3/bin will be used.
Loading setup script for JuliaCall...
WARNING: replacing module JuliaCall.
LoadError("/usr/local/lib/R/site-library/JuliaCall/julia/setup.jl", 16, ArgumentError("Package Suppressor not found in current path.\n- Run `import Pkg; Pkg.add(\"Suppressor\")` to install the Suppressor package.")) Error in .julia$cmd(paste0(Rhomeset, "Base.include(Main,\"", system.file("julia/setup.jl", :
  Error happens when you try to execute command ENV["R_HOME"] = "/usr/lib/R";Base.include(Main,"/usr/local/lib/R/site-library/JuliaCall/julia/setup.jl") in Julia.
                        To have more helpful error messages,
                        you could considering running the command in Julia directly
In addition: Warning message:
In system2(file.path(.julia$bin_dir, "julia"), shQuote(command), :
  running command ''/home/ubuntu/julia-1.10.3/bin/julia' '--startup-file=no' '/usr/local/lib/R/site-library/JuliaCall/julia/install_dependency.jl' '/usr/lib/R' 2>&1' had status 139

```

My main goal is to try to run the diffeqr package in R but the setup is not working.

Question: What is going on? How can I set my Julia up so R can call it and not face issues? Thanks!
