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

Adam Hillier
Sat, 13 Jul 2024 15:04:17 -0000

Hi,

I get the following error when trying to load the BiodiversityR package

> library(> library(BiodiversityR)
Loading required package: tcltk
tcltk DLL is linked to '/opt/X11/lib/libX11.6.dylib'
Error: package or namespace load failed for ?tcltk?:
 .onLoad failed in loadNamespace() for 'tcltk', details:
  call: fun(libname, pkgname)
  error: X11 library is missing: install XQuartz from www.xquartz.org
Error: package ?tcltk? could not be loaded


In my package library I can see ?tcltk2? but not ?tcltk?.

Have see a few others online facing the same issue.

Can you help ?

Thanks.

Adam