You need to install XQuartz. This is IMO stated somewhat clearly at https://cran.r-project.org/bin/macosx/ ("somewhat", because - as always - it seems pretty clear when you know what its trying to say)
Kasper On Thu, Apr 4, 2024 at 9:13 AM Gregory via R-SIG-Mac < r-sig-mac@r-project.org> wrote: > Hello, > > I'm having an issue with R looking for tcltk in the wrong place. Whenever > I start R, I get a message: tcltk DLL is linked to > '/opt/X11/lib/libX11.6.dylib'. However, there is no /opt/X11 on my system > and tcltk is really in /opt/R/arm64, where the R binary installer put it. > Where is R getting the /opt/X11 path and how do I correct that? So far I've > tried exporting DYLD_LIBRARY_PATH=opt/R/arm64:$DYLD_LIBRARY_PATH to my > environment in my zprofile, but that hasn't worked. > > Possibly relevant details: > M2 MacBook Pro, MacOS Sonoma 14.4.1 > R.version 4.3.3 installed with binary installer from CRAN. > > Thanks in advance, > Gregory > > Sent with [Proton Mail](https://proton.me/) secure email. > [[alternative HTML version deleted]] > > _______________________________________________ > R-SIG-Mac mailing list > R-SIG-Mac@r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-mac > -- Best, Kasper [[alternative HTML version deleted]] _______________________________________________ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac