Hola,

Disculpen, quisiera aprovechar el tema [si no es adecuado, por favor
háganmelo saber] porque hace tiempo he tenido yo un problema con la
instalación de rJava. Yo al intentar instalar obtengo los mensajes
siguientes:

> install.packages("rJava")
Installing package(s) into
‘/home/vate01/R/x86_64-unknown-linux-gnu-library/2.15’
(as ‘lib’ is unspecified)
--- Please select a CRAN mirror for use in this session ---
Loading Tcl/Tk interface ... done
probando la URL 'http://cran.at.r-project.org/src/contrib/rJava_0.9-3.tar.gz
'
Content type 'application/x-gzip' length 537153 bytes (524 Kb)
URL abierta
==================================================
downloaded 524 Kb

* installing *source* package ‘rJava’ ...
** package ‘rJava’ successfully unpacked and MD5 sums checked
checking for gcc... gcc -std=gnu99
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc -std=gnu99 accepts -g... yes
checking for gcc -std=gnu99 option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for string.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking whether time.h and sys/time.h may both be included... yes
configure: checking whether gcc -std=gnu99 supports static inline...
yes
checking whether setjmp.h is POSIX.1 compatible... yes
checking whether sigsetjmp is declared... yes
checking whether siglongjmp is declared... yes
checking Java support in R... present:
interpreter : '/usr/bin/java'
archiver    : '/usr/bin/jar'
compiler    : '/usr/bin/javac'
header prep.: '/usr/bin/javah'
cpp flags   : '-I/usr/lib/jvm/java-7-openjdk/jre/../include
-I/usr/lib/jvm/java-7-openjdk/jre/../include/linux'
java libs   : '-L/usr/lib/jvm/java-7-openjdk/jre/lib/amd64
-L/usr/lib/jvm/java-7-openjdk/jre/lib/amd64/server -ljvm'
checking whether JNI programs can be compiled... yes
checking JNI data types... configure: error: One or more JNI types differ
from the corresponding native type. You may need to use non-standard
compiler flags or a different compiler in order to fix this.
ERROR: configuration failed for package ‘rJava’
* removing ‘/home/vate01/R/x86_64-unknown-linux-gnu-library/2.15/rJava’
* restoring previous
‘/home/vate01/R/x86_64-unknown-linux-gnu-library/2.15/rJava’

The downloaded source packages are in
‘/tmp/RtmpE2Ykm0/downloaded_packages’
Mensajes de aviso perdidos
In install.packages("rJava") :
  installation of package ‘rJava’ had non-zero exit status
>


¿Alguien tendrá una idea de cómo solucionarlo?

Mil gracias.


2013/2/24 Michael Herradora <mherradora@gmail.com>

> Javier: Según el salida que envías, el package rJava si se instaló
> adecuadamente. Sin embargo, lo que señala Carlos J. es importante pues si
> no configuras R, para usar los libraries de Java instalados en tu distro,
> vas a tener problemas para poder cargar el package rJava.
>
> --
> Michael A. Herradora Quesada
> Sociólogo
>
>         [[alternative HTML version deleted]]
>
>
> _______________________________________________
> R-help-es mailing list
> R-help-es@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-help-es
>
>


-- 
«But Gwindor answered: 'The doom lies in yourself, not in your name.'»

JRR Tolkien

	[[alternative HTML version deleted]]

