From 7e5653c4c8b2f102c3948e96e72b2144bb2630fb Mon Sep 17 00:00:00 2001 From: David Hong Date: Wed, 3 Apr 2024 18:18:16 -0400 Subject: [PATCH] Fix possible typo (#516) --- docs/src/installation.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/installation.md b/docs/src/installation.md index 28706457..2bff734b 100644 --- a/docs/src/installation.md +++ b/docs/src/installation.md @@ -43,9 +43,9 @@ const RCALL_UUID = UUID("6f49c342-dc21-5d91-9882-a32aef131414") CondaPkg.add("r") target_rhome = joinpath(CondaPkg.envdir(), "lib", "R") if Sys.iswindows() - target_libr = joinpath(Rhome, "bin", Sys.WORD_SIZE==64 ? "x64" : "i386", "R.dll") + target_libr = joinpath(target_rhome, "bin", Sys.WORD_SIZE==64 ? "x64" : "i386", "R.dll") else - target_libr = joinpath(Rhome, "lib", "libR.$(Libdl.dlext)") + target_libr = joinpath(target_rhome, "lib", "libR.$(Libdl.dlext)") end set_preferences!(RCALL_UUID, "Rhome" => target_rhome, "libR" => target_libr) ```