
Prezados, minha intenção é instalar o pacote speedR. No entanto, ao tentar instalá-lo, aparece a mensagem de que está faltando o rJava. Bom... ao tentar instalar o rJava aparece a mensagem abaixo:
install.packages() Carregando a interface Tcl/Tk ... pronto --- Please select a CRAN mirror for use in this session --- Installing package(s) into ‘/home/ecbodevan/R/i686-pc-linux-gnu-library/2.14’ (as ‘lib’ is unspecified) tentando a URL 'http://cran-r.c3sl.ufpr.br/src/contrib/rJava_0.9-3.tar.gz' Content type 'application/x-gzip' length 537153 bytes (524 Kb) URL aberta ================================================== 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... /bin/grep checking for egrep... /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 : '' compiler : '' header prep.: '' cpp flags : '' java libs : '-L/usr/lib/jvm/java-6-openjdk-i386/jre/lib/i386/server -L/usr/lib/jvm/java-6-openjdk-i386/jre/lib/i386 -L/usr/lib/jvm/java-6-openjdk-i386/jre/../lib/i386 -L/usr/java/packages/lib/i386 -L/usr/lib/i386-linux-gnu/jni -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -L/usr/lib/jni -L/lib -L/usr/lib -ljvm' *configure: error: Java Development Kit (JDK) is missing or not registered in R Make sure R is configured with full Java support (including JDK). Run R CMD javareconf as root to add Java support to R.* If you don't have root privileges, run R CMD javareconf -e to set all Java-related variables and then install rJava. *ERROR: configuration failed for package ‘rJava’ * removing ‘/home/ecbodevan/R/i686-pc-linux-gnu-library/2.14/rJava’ * The downloaded packages are in ‘/tmp/RtmpTC1ljU/downloaded_packages’ Mensagens de aviso perdidas: In install.packages() : installation of package ‘rJava’ had non-zero exit status Alguém sabe como resolver? Agradeço qualquer ajuda. Atenciosamente, Emerson. OBS.: ao tentar instalar o speedR e o rJava, eu rodava o R como "sudo". Uso o ubuntu.