Foro de debate

Instalar R, R-commander, Rstudio y R-UCA OSX

Instalar R, R-commander, Rstudio y R-UCA OSX

de Valentina Amaral Acosta -
Número de respuestas: 4

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

En respuesta a Valentina Amaral Acosta

Re: Instalar R, R-commander, Rstudio y R-UCA OSX

de Manuel Muñoz Márquez -

Buenas:

Empieza por borra el fichero

/Users/valentinaamaral/.RData

Un saludo.

En respuesta a Manuel Muñoz Márquez

Re: Instalar R, R-commander, Rstudio y R-UCA OSX

de Valentina Amaral Acosta -

gracias por su pronta respuesta. 

Ya lo he borrado. Ahora lo que sucede es que cuando intento abrir R queda pillado en Loading R... mucho tiempo y no carga..

 

 

En respuesta a Valentina Amaral Acosta

Re: Instalar R, R-commander, Rstudio y R-UCA OSX

de Valentina Amaral Acosta -

Me he cambiado a una version de R anterior y borre los RDdata y Rapp.history pero me sigue dando error:

 

R version 3.6.3 (2020-02-29) -- "Holding the Windsock"
Copyright (C) 2020 The R Foundation for Statistical Computing
Platform: x86_64-apple-darwin15.6.0 (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

Loading required package: randtests
Loading required package: rmarkdown
Error: package ‘TeachingDemos’ required by ‘RcmdrPlugin.UCA’ could not be found
[R.app GUI 1.70 (7735) x86_64-apple-darwin15.6.0]

>

 

no se que más probar. Gracias por su ayuda