I need to include some functions in plot3D. When I installed the package, it shows
trying URL 'https://cran.rstudio.com/bin/macosx/contrib/4.0/plot3D_1.4.tgz'
Content type 'application/x-gzip' length 2795822 bytes (2.7 MB)
downloaded 2.7 MB
The downloaded binary packages are in
But after that, when I try to load the library, it shows an error as the following:
Error: package or namespace load failed for ‘plot3D’:
.onLoad failed in loadNamespace() for 'tcltk', details:
call: fun(libname, pkgname)
error: X11 library is missing: install XQuartz from www.xquartz.org
How to solve the problem? Any idea?
Thanks in advance!