[R-es] Problemas al instalar R 2.14 en Ubuntu 11.10

Carlos J. Gil Bellosta cgb en datanalytics.com
Mie Nov 30 13:01:00 CET 2011


El problema es que si tienes R instalado en tu $HOME, dependiendo de
la variable de entorno $PATH, uno de los ejecutables se llama primero
al llamar a R.

Lo más natural sería eliminar R de $HOME ya que tienes instalada la
versión actual "como Dios manda".

Un saludo,

Carlos J. Gil Bellosta
http://www.datanalytics.com


El día 30 de noviembre de 2011 01:55, marlene marchena
<marchenamarlene en gmail.com> escribió:
> Hola! Muchas gracias por la ayuda!
>
> Ya creia que estaba enloqueciendo. Bueno sospecho que Carlos tiene razón,
> debo de tener dos versiones instaladas.
>
> Aqui las salidas de los comandos:
>
>  $ which R
>
> /home/marlene/bin/R
>
>  $ /usr/bin/R --version
>
> R version 2.14.0 (2011-10-31)
>
> Copyright (C) 2011 The R Foundation for Statistical Computing
>
> ISBN 3-900051-07-0
>
> Platform: x86_64-pc-linux-gnu (64-bit)
>
>  R is free software and comes with ABSOLUTELY NO WARRANTY.
>
> You are welcome to redistribute it under the terms of the
>
> GNU General Public License version 2.
>
> For more information about these matters see
>
> http://www.gnu.org/licenses/.
>
>
> #Pero cuando digito solamente R tengo
>
>  $ R
>
> R version 2.13.1 (2011-07-08)
>
> Copyright (C) 2011 The R Foundation for Statistical Computing
>
> ISBN 3-900051-07-0
>
> Platform: x86_64-unknown-linux-gnu (64-bit)
>
> ....
> $ dpkg -l |grep r- |grep GNU
>
> ii browser-plugin-gnash 0.8.10~git20110618-3ubuntu1 GNU Shockwave Flash
> (SWF) player - Plugin for Mozilla and derivatives
>
> ii r-base 2.14.0-1oneiric0 GNU R statistical computation and graphics
> system
>
> ii r-base-core 2.14.0-1oneiric0 GNU R core of statistical computation and
> graphics system
>
> ii r-base-html 2.14.0-1oneiric0 GNU R html docs for statistical computing
> system functions
>
> ii r-cran-abind 1.3.0-1 GNU R abind multi-dimensional array combination
> function
>
> ii r-cran-boot 1.3-3-1oneiric0 GNU R package for bootstrapping functions
> from Davison and Hinkley
>
> ii r-cran-car 2.0-10-1 GNU R Companion to Applied Regression by John Fox
>
> ii r-cran-chron 2.3-40-1 GNU R package for chronologically ordered objects
>
> ii r-cran-class 7.3-3-1oneiric0 GNU R package for classification
>
> ii r-cran-cluster 1.14.1-1oneiric0 GNU R package for cluster analysis by
> Rousseeuw et al
>
> ii r-cran-codetools 0.2-8-1 GNU R package providing code analysis tools
>
> ii r-cran-colorspace 1.0.1-1build1 GNU R Color Space Manipulation
>
> ii r-cran-effects 2.0.12-1 GNU R graphical and tabular effects display for
> glm models
>
> ii r-cran-foreign 0.8.47-1oneiric0 GNU R package to read/write data from
> other stat. systems
>
> ii r-cran-hmisc 3.8-3-1 GNU R miscellaneous functions by Frank Harrell
>
> ii r-cran-kernsmooth 2.23-7-1oneiric0 GNU R package for kernel smoothing
> and density estimation
>
> ii r-cran-lattice 0.20-0-1oneiric0 GNU R package for 'Trellis' graphics
>
> ii r-cran-lmtest 0.9.28-1 GNU R package for diagnostic checking in linear
> models
>
> ii r-cran-mass 7.3-16-1oneiric0 GNU R package of Venables and Ripley's MASS
>
> ii r-cran-matrix 1.0-2-1oneiric0 GNU R package of classes for dense and
> sparse matrices
>
> ii r-cran-mgcv 1.7-11-1oneiric0 GNU R package for multiple parameter
> smoothing estimation
>
> ii r-cran-multcomp 1.2-7-1 GNU R package for multiple comparison procedures
>
> ii r-cran-mvtnorm 0.9-9991-1 GNU R package to compute multivariate Normal
> and T distributions
>
> ii r-cran-nlme 3.1.102-1oneiric0 GNU R package for (non-)linear mixed
> effects models
>
> ii r-cran-nnet 7.3-1-1oneiric0 GNU R package for feed-forward neural
> networks
>
> ii r-cran-rcmdr 1.6-4-1 GNU R platform-independent basic-statistics GUI
>
> ii r-cran-relimp 1.0-2-1 GNU R package for inference on relative importance
> of regressors
>
> ii r-cran-rgl 0.92.798-1 GNU R package for three-dimensional visualisation
> using OpenGL
>
> ii r-cran-rpart 3.1.50-1oneiric0 GNU R package for recursive partitioning
> and regression trees
>
> ii r-cran-sandwich 2.2-7-1 GNU R package for model-robust standard error
> estimates
>
> ii r-cran-sm 2.2-4.1-1 GNU R package for kernel smoothing methods
>
> ii r-cran-spatial 7.3-2-1oneiric0 GNU R package for spatial statistics
>
> ii r-cran-strucchange 1.4-5-1 GNU R package for structural change
> regression estimation
>
> ii r-cran-survival 2.36-9-1 GNU R package for survival analysis
>
> ii r-cran-zoo 1.7-2-1 GNU R package for totally ordered indexed
> observations
>
> ii r-doc-html 2.14.0-1oneiric0 GNU R html manuals for statistical computing
> system
>
> ii r-recommended 2.14.0-1oneiric0 GNU R collection of recommended packages
> [metapackage]
>
>
>  $ apt-cache policy r-base
>
> r-base:
>
> Installed: 2.14.0-1oneiric0
>
> Candidate: 2.14.0-1oneiric0
>
> Version table:
>
> *** 2.14.0-1oneiric0 0
>
> 500 http://cran-r.c3sl.ufpr.br/bin/linux/ubuntu/ oneiric/ Packages
>
> 100 /var/lib/dpkg/status
>
> 2.13.2-1oneiric 0
>
> 500 http://cran-r.c3sl.ufpr.br/bin/linux/ubuntu/ oneiric/ Packages
>
> 2.13.1-1 0
>
> 500 http://br.archive.ubuntu.com/ubuntu/ oneiric/universe amd64 Packages
>
>
>  He visto que en el directorio Home tengo una pasta R-2.13.1 y una pasta
> bin con tres archivos: R, R-2.13 y R-2.13.1
>
> La verdad aún no entiendo como esa versión fue instalada localmente (no fui
> yo pq yo no sé hacer eso:-( y tampoco entiendo como es que el terminal sólo
> reconoce esa instalación. Antes de salir deletando cosas queria preguntar
> que me aconsejan hacer.
>
>
> De nuevo muchas gracias!
>
> Marlene.
>
>
>
>
>
>
> 2011/11/29 Rubén Gómez Antolí <lobo en mucharuina.com>
>
>> Hola:
>>
>> El 29/11/11 10:03, Carlos J. Gil Bellosta escribió:
>>
>>  Hola, ¿qué tal?
>>>
>>> Lo único que se me ocurre es que puedes tener R (2.13) instalado
>>> manualmente (sin usar la infraestructura apt-get) en alguna parte. Por
>>> eso "desinstalas" y "aún lo tienes".
>>>
>>> ¿Puede ser el caso? ¿Qué pasa si haces
>>>
>>> which R
>>>
>>> en la terminal?
>>>
>>> ¿Y si después de instalar R (2.14, supongo) ejecutas
>>>
>>> /usr/bin/R --version
>>>
>>> ?
>>>
>>
>> Aparte de esto, también nos puede ayudar la salida de:
>>
>> $ dpkg -l |grep r- |grep GNU
>>
>> y
>>
>> $ apt-cache policy r-base
>>
>> Es curioso, yo no tengo instalado r-base:
>>
>> $ apt-cache policy r-base
>> r-base:
>>  Instalados: (ninguno)
>>  Candidato:  2.14.0-1
>>  Tabla de versión:
>>     2.14.0-1 0
>>        500 http://ftp.es.debian.org/**debian/<http://ftp.es.debian.org/debian/>unstable/main powerpc Packages
>>        500 http://ftp.de.debian.org/**debian/<http://ftp.de.debian.org/debian/>unstable/main powerpc Packages
>>
>> Pero si tengo instalado r-base-core, que esta en las dependencias:
>>
>> $ apt-cache depends r-base
>> r-base
>>  Depende: r-base-core
>>  Depende: r-recommended
>>  Sugiere: ess
>>  |Sugiere: r-doc-info
>>  Sugiere: r-doc-pdf
>>  Recomienda: r-base-html
>>  Recomienda: r-doc-html
>>
>> Revisa por ahí a ver si es algo de eso.
>>
>>
>>  Un saludo,
>>>
>>> Carlos J. Gil Bellosta
>>> http://www.datanalytics.com
>>>
>>
>> Salud y Revolución.
>>
>> Lobo.
>> --
>> Libertad es poder elegir en cualquier momento. Ahora yo elijo GNU/Linux,
>> para no atar mis manos con las cadenas del soft propietario.
>> ---------
>> Desde El Ejido, en Almería, usuario registrado Linux #294013
>> http://www.counter.li.org
>>
>>
>> ______________________________**_________________
>> R-help-es mailing list
>> R-help-es en r-project.org
>> https://stat.ethz.ch/mailman/**listinfo/r-help-es<https://stat.ethz.ch/mailman/listinfo/r-help-es>
>>
>
>        [[alternative HTML version deleted]]
>
>
> _______________________________________________
> R-help-es mailing list
> R-help-es en r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-help-es
>



Más información sobre la lista de distribución R-help-es