我最近从windows切换到ubuntu并且无法使rgdal包正常工作。
我知道这里有很多帖子,但我无法让它发挥作用。
我已经在https://gist.github.com/lossyrob/4348503之后安装了gdal但是仍然rgdal在我已安装的软件包列表中根据rgdal%in%installed.packages()但是当我包含library(rgdal)它返回Error in library(rgdal) : there is no package called 'rgdal' 。
任何帮助表示赞赏。
I have recently switched from windows to ubuntu and can't make the rgdal package working properly.
I know there are a lot of posts on this but I just can't make it work.
I have installed gdal following https://gist.github.com/lossyrob/4348503 but still rgdal is in my list of installed packages according to rgdal%in%installed.packages() but when I include with library(rgdal) it returns Error in library(rgdal) : there is no package called ‘rgdal’.
Any help is appreciated.
最满意答案
所以我根据这篇文章安装了gmail通知程序(意大利人抱歉)...
这就是我做到的,感谢大家,没有你们我就不会做到这一点!
所以根据sudo apt-get update返回的内容,根据这篇文章,我用错误消息中显示的URL取消了同样命名的PPA。
我重新运行了@EDi建议的sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable ; sudo apt-get update; sudo apt-get install libproj-dev sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable ; sudo apt-get update; sudo apt-get install libproj-dev sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable ; sudo apt-get update; sudo apt-get install libproj-dev ,它就像一个魅力!
我在这上花了那么多时间....谢谢大家!
So it was the gmail notifier after all that I had installed according to this post (in Italian sorry)...
This is how I did it, thanks to everybody, I wouldn't have made it without you guys!
So according to what was returned by sudo apt-get update and according to this post I unticked the similarly named PPA with the URL shown in the error message.
I re-ran what @EDi suggested sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable ; sudo apt-get update; sudo apt-get install libproj-dev and it worked like a charm!
I spent so much time on this.... Thanks everybody!
更多推荐
发布评论