can't install tscR
Entering edit mode
cperk • 0
Last seen 2.6 years ago
United States

I tried to install tscR per the instructions but get this error when I try to load it:

> require(tscR)
Loading required package: tscR
Loading required package: dplyr

Attaching package: ‘dplyr’

The following objects are masked from ‘package:stats’:

    filter, lag

The following objects are masked from ‘package:base’:

    intersect, setdiff, setequal, union

Error in dyn.load(dynlib <- getDynlib(dir)) : 
  unable to load shared object '/Library/Frameworks/R.framework/Versions/4.0/Resources/library/rgl/libs/':
  dlopen(/Library/Frameworks/R.framework/Versions/4.0/Resources/library/rgl/libs/, 6): Library not loaded: /opt/X11/lib/libGLU.1.dylib
  Referenced from: /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rgl/libs/
  Reason: image not found
Error: package or namespace load failed for ‘tscR’:
 .onLoad failed in loadNamespace() for 'rgl', details:
  call: rgl.init(initValue, onlyNULL)
  error: OpenGL is not available in this build
Warning messages:
1:  Loading rgl's DLL failed. 
    This build of rgl depends on XQuartz, which failed to load.
 See the discussion in 
2: Trying without OpenGL... 

Any assistance would be much appreciated!

tscR • 916 views
Entering edit mode

Check here for the references to XQuartz. Is it installed properly? To help us understand the context of your problem please provide the result of sessionInfo() at the time of error, should further assistance be needed.


Login before adding your answer.

Traffic: 576 users visited in the last hour
Help About
Access RSS

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6