[Qgis-user] R in Qgis not running

julio cesar oliveira oliveirajc1 at gmail.com
Mon Oct 4 13:19:36 PDT 2021


Dear,

I installed *Processing R Provide*r and I can't run the scripts.

For example:
run *Summary Statistics* script, the following error appears:

Installing package into
'C:/Users/olive/AppData/Roaming/QGIS/QGIS3/profiles/default/processing/rlibs'
(as 'lib' is unspecified)
also installing the dependencies 'mapview', 'rmarkdown', 'rgeos'

tentando a URL '
http://cran.at.r-project.org/bin/windows/contrib/4.1/mapview_2.10.0.zip'
Content type 'application/zip' length 2298195 bytes (2.2 MB)
================
downloaded 732 KB

tentando a URL '
http://cran.at.r-project.org/bin/windows/contrib/4.1/rmarkdown_2.11.zip'
Content type 'application/zip' length 3661128 bytes (3.5 MB)
==================================================
downloaded 3.5 MB

tentando a URL '
http://cran.at.r-project.org/bin/windows/contrib/4.1/rgeos_0.5-8.zip'
Content type 'application/zip' length 2444280 bytes (2.3 MB)
==================================================
downloaded 2.3 MB

tentando a URL '
http://cran.at.r-project.org/bin/windows/contrib/4.1/rgdal_1.5-27.zip'
Content type 'application/zip' length 42857284 bytes (40.9 MB)
==================================================
downloaded 40.9 MB

Error in read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) :
não é possível abrir a conexão
Calls: tryCatch ... install.packages -> .install.winbinary -> unpackPkgZip
-> read.dcf
Além disso: Warning messages:
1: In download.file(url, destfile, method, mode = "wb", ...) :
downloaded length 749568 != reported length 2298195
2: In unzip(zipname, exdir = dest) :
erro 1 na extração a partir de arquivo zip
3: In read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) :
não foi possível abrir o arquivo comprimido 'mapview/DESCRIPTION', motivo
provável 'No such file or directory'
Execução interrompida

=======================================

Observation:
The package *rgdal_1.5-27* is installed and running in Rstudio (version
1.4.1717)

SessionInfo()
R version 4.1.1 (2021-08-10)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19043)

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20211004/1a51a0e8/attachment.html>


More information about the Qgis-user mailing list