
Se vc estiver usando Ubuntu gdal está disponível nos repositórios. O problema é que só vai funcionar se vc estiver rodando a última versão do Ubuntu (11.10). Para versões anteriores vc tem que baixar do site mesmo. Abs, D 2012/2/14 Benilton Carvalho <beniltoncarvalho@gmail.com>
o arquivo nao eh instalado pelo pacote...
vc tem q ir no site www.gdal.org (o mostrado na mensagem de erro) e instalar a biblioteca do sistema (isso eh independente do R) que vai estar disponivel la...
depois de vc instalar a biblioteca GDAL, vc volta ao R e tenta instalar o pacote rgdal.
b
2012/2/14 Pedro Rafael <pedro.rafael.marinho@gmail.com>:
Eu abri o condigo fonte do pacote e o arquivo que ele reclama não está dentro do pacote....Vou tentar ver como resolver o problema por aqui.
Em 14 de fevereiro de 2012 15:26, beniltoncarvalho [via R-br] <ml-node+s2285057n4387990h67@n4.nabble.com> escreveu:
a msg de erro descreve nao ter encontrado o GDAL instalado (que ele checa via gdal-config)... dai' sugere:
If you have not installed the GDAL libraries, you can download the source from http://www.gdal.org/ If you have installed the GDAL libraries, then make sure that gdal-config is in your path. Try typing gdal-config at a shell prompt and see if it runs. If not, use: --configure-args='--with-gdal-config=/usr/local/bin/gdal-config' with appropriate values for your installation.
b
2012/2/14 Pedro Rafael <[hidden email]>:
Pessoal alguém sabe me informar como corrigir este problema na instalação do pacote rgdal?
install.packages("rgdal") Installing package(s) into ‘/usr/local/lib/R/site-library’ (as ‘lib’ is unspecified) tentando a URL 'http://www.vps.fmvz.usp.br/CRAN/src/contrib/rgdal_0.7-8.tar.gz' Content type 'application/x-gzip' length 1427851 bytes (1.4 Mb) URL aberta ================================================== downloaded 1.4 Mb
* installing *source* package ‘rgdal’ ... ** package ‘rgdal’ successfully unpacked and MD5 sums checked gdal-config: gdal-config ./configure: line 2013: gdal-config: command not found Error: gdal-config not found The gdal-config script distributed with GDAL could not be found. If you have not installed the GDAL libraries, you can download the source from http://www.gdal.org/ If you have installed the GDAL libraries, then make sure that gdal-config is in your path. Try typing gdal-config at a shell prompt and see if it runs. If not, use: --configure-args='--with-gdal-config=/usr/local/bin/gdal-config' with appropriate values for your installation.
ERROR: configuration failed for package ‘rgdal’ * removing ‘/usr/local/lib/R/site-library/rgdal’
The downloaded packages are in ‘/tmp/RtmpcOSraQ/downloaded_packages’ Mensagens de aviso perdidas: In install.packages("rgdal") : installation of package ‘rgdal’ had non-zero exit status
-- Saudações, Pedro Rafael Diniz Marinho. Estatístico - Secretaria de Estado da Saúde - PB. _______________________________________________ R-br mailing list [hidden email] https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br Leia o guia de postagem (http://www.leg.ufpr.br/r-br-guia) e forneça código mínimo reproduzível.
R-br mailing list [hidden email] https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br Leia o guia de postagem (http://www.leg.ufpr.br/r-br-guia) e forneça código mínimo reproduzível.
________________________________ If you reply to this email, your message will be added to the discussion below:
http://r-br.2285057.n4.nabble.com/R-br-Duvida-Problema-na-instalacao-rgdal-t...
To unsubscribe from R-br, click here. NAML
-- Saudações, Pedro Rafael Diniz Marinho. Estatístico - Secretaria de Estado da Saúde - PB.
_______________________________________________ R-br mailing list R-br@listas.c3sl.ufpr.br https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br Leia o guia de postagem (http://www.leg.ufpr.br/r-br-guia) e forneça código mínimo reproduzível.
R-br mailing list R-br@listas.c3sl.ufpr.br https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br Leia o guia de postagem (http://www.leg.ufpr.br/r-br-guia) e forneça código mínimo reproduzível.