Buenos días,
He tenido un problema con R y me ha dejado de funcionar. Deinstale todo e intente volver a instalar siguiendo las pautas del pdf del curso Instalacion en Mac. Me sigue dando error y no se ya como resolverlo.
Tengo OS high sierra 10.13.6 y me descargue la ultima version de R 4.0.2.
el error apenas abro R es:
Loading required package: randtests
Loading required package: rmarkdown
Loading required package: TeachingDemos
Loading required package: tseries
Registered S3 method overwritten by 'quantmod':
method from
as.zoo.data.frame zoo
‘tseries’ version: 0.10-47
‘tseries’ is a package for time series analysis and computational
finance.
See ‘library(help="tseries")’ for details.
Attaching package: ‘tseries’
The following object is masked from ‘package:randtests’:
runs.test
Error: package or namespace load failed for ‘RcmdrPlugin.UCA’:
.onLoad failed in loadNamespace() for 'tcltk', details:
call: dyn.load(file, DLLpath = DLLpath, ...)
error: unable to load shared object '/Library/Frameworks/R.framework/Versions/4.0/Resources/library/tcltk/libs/tcltk.so':
dlopen(/Library/Frameworks/R.framework/Versions/4.0/Resources/library/tcltk/libs/tcltk.so, 10): Library not loaded: /opt/X11/lib/libX11.6.dylib
Referenced from: /Library/Frameworks/R.framework/Versions/4.0/Resources/library/tcltk/libs/tcltk.so
Reason: image not found
In addition: Warning message:
In system2("/usr/bin/otool", c("-L", shQuote(DSO)), stdout = TRUE) :
running command ''/usr/bin/otool' -L '/Library/Frameworks/R.framework/Resources/library/tcltk/libs//tcltk.so'' had status 1
[R.app GUI 1.72 (7847) x86_64-apple-darwin17.0]
[Workspace restored from /Users/valentinaamaral/.RData]
[History restored from /Users/valentinaamaral/.Rapp.history]
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
le agradezco si me podria indicar como empezar de 0 y volver a tener todo intalado de nuevo (R, R-commander, Rstudio y R-UCA)
Gracias