<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">o texto em negrito que você colocou já
mostra a solução para o problema.<br>
<pre class="moz-signature" cols="72">[]s
Leonard de Assis
assis <dot> leonard <at> gmail <dot> com
</pre>
Em 29/10/2012 14:15, Emerson Cotta Bodevan escreveu:<br>
</div>
<blockquote
cite="mid:CAP5i-swqFayhXqeM=j2VpZ9d+i4Bwo=8-yA8-S-0jK-mS0S19A@mail.gmail.com"
type="cite">Prezados,<br>
<br>
minha intenção é instalar o pacote speedR. No entanto, ao tentar
instalá-lo, aparece a mensagem de que está faltando o rJava.<br>
<br>
Bom... ao tentar instalar o rJava aparece a mensagem abaixo:<br>
<br>
> install.packages()<br>
Carregando a interface Tcl/Tk ... pronto<br>
--- Please select a CRAN mirror for use in this session ---<br>
Installing package(s) into
‘/home/ecbodevan/R/i686-pc-linux-gnu-library/2.14’<br>
(as ‘lib’ is unspecified)<br>
tentando a URL '<a moz-do-not-send="true"
href="http://cran-r.c3sl.ufpr.br/src/contrib/rJava_0.9-3.tar.gz">http://cran-r.c3sl.ufpr.br/src/contrib/rJava_0.9-3.tar.gz</a>'<br>
Content type 'application/x-gzip' length 537153 bytes (524 Kb)<br>
URL aberta<br>
==================================================<br>
downloaded 524 Kb<br>
<br>
* installing *source* package ‘rJava’ ...<br>
** package ‘rJava’ successfully unpacked and MD5 sums checked<br>
checking for gcc... gcc -std=gnu99<br>
checking for C compiler default output file name... a.out<br>
checking whether the C compiler works... yes<br>
checking whether we are cross compiling... no<br>
checking for suffix of executables... <br>
checking for suffix of object files... o<br>
checking whether we are using the GNU C compiler... yes<br>
checking whether gcc -std=gnu99 accepts -g... yes<br>
checking for gcc -std=gnu99 option to accept ISO C89... none
needed<br>
checking how to run the C preprocessor... gcc -std=gnu99 -E<br>
checking for grep that handles long lines and -e... /bin/grep<br>
checking for egrep... /bin/grep -E<br>
checking for ANSI C header files... yes<br>
checking for sys/wait.h that is POSIX.1 compatible... yes<br>
checking for sys/types.h... yes<br>
checking for sys/stat.h... yes<br>
checking for stdlib.h... yes<br>
checking for string.h... yes<br>
checking for memory.h... yes<br>
checking for strings.h... yes<br>
checking for inttypes.h... yes<br>
checking for stdint.h... yes<br>
checking for unistd.h... yes<br>
checking for string.h... (cached) yes<br>
checking sys/time.h usability... yes<br>
checking sys/time.h presence... yes<br>
checking for sys/time.h... yes<br>
checking for unistd.h... (cached) yes<br>
checking for an ANSI C-conforming const... yes<br>
checking whether time.h and sys/time.h may both be included... yes<br>
configure: checking whether gcc -std=gnu99 supports static
inline...<br>
yes<br>
checking whether setjmp.h is POSIX.1 compatible... yes<br>
checking whether sigsetjmp is declared... yes<br>
checking whether siglongjmp is declared... yes<br>
checking Java support in R... present:<br>
interpreter : '/usr/bin/java'<br>
archiver : ''<br>
compiler : ''<br>
header prep.: ''<br>
cpp flags : ''<br>
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'<br>
<b>configure: error: Java Development Kit (JDK) is missing or not
registered in R<br>
Make sure R is configured with full Java support (including
JDK). Run<br>
R CMD javareconf<br>
as root to add Java support to R.</b><br>
<br>
If you don't have root privileges, run<br>
R CMD javareconf -e<br>
to set all Java-related variables and then install rJava.<br>
<br>
<b>ERROR: configuration failed for package ‘rJava’<br>
* removing
‘/home/ecbodevan/R/i686-pc-linux-gnu-library/2.14/rJava’<br>
</b><br>
The downloaded packages are in<br>
‘/tmp/RtmpTC1ljU/downloaded_packages’<br>
Mensagens de aviso perdidas:<br>
In install.packages() :<br>
installation of package ‘rJava’ had non-zero exit status<br>
<br>
<br>
Alguém sabe como resolver? Agradeço qualquer ajuda.<br>
<br>
Atenciosamente,<br>
Emerson.<br>
<br>
OBS.: ao tentar instalar o speedR e o rJava, eu rodava o R como
"sudo". Uso o ubuntu.<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
R-br mailing list
<a class="moz-txt-link-abbreviated" href="mailto:R-br@listas.c3sl.ufpr.br">R-br@listas.c3sl.ufpr.br</a>
<a class="moz-txt-link-freetext" href="https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br">https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br</a>
Leia o guia de postagem (<a class="moz-txt-link-freetext" href="http://www.leg.ufpr.br/r-br-guia">http://www.leg.ufpr.br/r-br-guia</a>) e forneça código mínimo reproduzível.</pre>
</blockquote>
<br>
</body>
</html>