You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
>j<- julia_setup(JULIA_HOME="/scratch/midway3/zepengmu/miniconda3/envs/R42/bin")
Juliaversion1.8.2atlocation/scratch/midway3/zepengmu/miniconda3/envs/R42/binwillbeused.LoadingsetupscriptforJuliaCall...WARNING:replacingmoduleJuliaCall.
LoadError("/scratch/midway3/zepengmu/miniconda3/envs/R42/lib/R/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.")) Errorin.julia$cmd(paste0(Rhomeset, "Base.include(Main,\"", system.file("julia/setup.jl", :ErrorhappenswhenyoutrytoexecutecommandENV["R_HOME"] ="/scratch/midway3/zepengmu/miniconda3/envs/R42/lib/R";Base.include(Main,"/scratch/midway3/zepengmu/miniconda3/envs/R42/lib/R/library/JuliaCall/julia/setup.jl") inJulia.Tohavemorehelpfulerrormessages,
youcouldconsideringrunningthecommandinJuliadirectlyInaddition:Warningmessage:In system2(file.path(.julia$bin_dir, "julia"), shQuote(command), :runningcommand''/scratch/midway3/zepengmu/miniconda3/envs/R42/bin/julia''--startup-file=no''/scratch/midway3/zepengmu/miniconda3/envs/R42/lib/R/library/JuliaCall/julia/install_dependency.jl''/scratch/midway3/zepengmu/miniconda3/envs/R42/lib/R' 2>&1'hadstatus1
However, this only happens in RStudio. In Julia REPL, I can run using Supressor without any problem. Also, running ENV["R_HOME"] = "/scratch/midway3/zepengmu/miniconda3/envs/R42/lib/R";Base.include(Main,"/scratch/midway3/zepengmu/miniconda3/envs/R42/lib/R/library/JuliaCall/julia/setup.jl") in Julia returns no error. I can also run my R script from terminal using Rscript and again julia_setup returns no error.
I should say previously I was able to run my script in RStudio, but in terminal some packages like MixedModels I am using cannot be found. I had to install it again in terminal, but then the script stopped working in RStudio.
Hi,
I'm encountering this error in
julia_setup
:However, this only happens in RStudio. In Julia REPL, I can run
using Supressor
without any problem. Also, runningENV["R_HOME"] = "/scratch/midway3/zepengmu/miniconda3/envs/R42/lib/R";Base.include(Main,"/scratch/midway3/zepengmu/miniconda3/envs/R42/lib/R/library/JuliaCall/julia/setup.jl")
in Julia returns no error. I can also run my R script from terminal usingRscript
and againjulia_setup
returns no error.I should say previously I was able to run my script in RStudio, but in terminal some packages like
MixedModels
I am using cannot be found. I had to install it again in terminal, but then the script stopped working in RStudio.julia version 1.8.2
Session Info
The text was updated successfully, but these errors were encountered: