A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/rstudio/rstudio/issues/4606 below:

RStudio crashes when loading RQGIS3, R in terminal works · Issue #4606 · rstudio/rstudio · GitHub

System details
RStudio Edition : Desktop
RStudio Version : 1.2.1268
OS Version      : Ubuntu 18.04, all Ubuntu versions and all Arch distributions tested so far
R Version       : 3.5.3
Steps to reproduce the problem

Install QGIS on system, e.g. via commands documented here: https://github.com/jannes-m/RQGIS3/blob/master/vignettes/install_guide.Rmd

Install RQGIS3 with:

remotes::install_github("jannes-m/RQGIS3")

Run the following lines in RStudio:

library(RQGIS3)
set_env()
find_algorithms()

And it hangs.

When one runs the result in a shell it generates the correct result, e.g.:

library(RQGIS3);find_algorithms()
#> Loading required package: reticulate
#> Assuming that your root path is '/usr'!
#>   [1] "Aspect----------------------------------------------->gdal:aspect"                                                             
#>   [2] "Assign projection------------------------------------>gdal:assignprojection"                                                   
#>   [3] "Buffer vectors--------------------------------------->gdal:buffervectors"                                                      
#>   [4] "Build virtual raster--------------------------------->gdal:buildvirtualraster"                                                 
...

Created on 2019-04-09 by the reprex package (v0.2.1)

Describe the problem in detail

For some reason RStudio hangs when you call find_algorithms(), while R in the terminal does not. I suspect it has something to do with reticulate.

Describe the behavior you expected

I would expect the command to produce the result pasted in the reprex above, even when running in Rstudio.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4