[R] Problem loading BiodiversityR, Error: package ‘tcltk’ could not be loaded

Ivan Krylov
Sun, 14 Jul 2024 10:16:00 -0000

? Sat, 13 Jul 2024 16:04:17 +0100
Adam Hillier <adam.c.hillier at gmail.com> ?????:

>   error: X11 library is missing: install XQuartz from www.xquartz.org

Does the problem go away if you install XQuartz from www.xquartz.org?

"R installation and administration" section 4 also documents the
requirement to have XQuartz installed in order to use the tcltk package
(which is part of R itself) and the x11() device:
https://cran.r-project.org/doc/manuals/R-admin.html#Installing-R-under-macOS

For macOS-specific problems, r-sig-mac at r-project.org may give you more
precise advice. If installing XQuartz doesn't help, make sure to
provide your sessionInfo() output.

--
Best regards,
Ivan