rgdal在ubuntu 12.04中无效(rgdal not working in ubuntu 12.04)

编程入门 行业动态 更新时间:2024-10-26 21:28:28
rgdal在ubuntu 12.04中无效(rgdal not working in ubuntu 12.04)

我最近从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!

更多推荐

本文发布于:2023-07-29 15:46:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1317565.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:ubuntu   rgdal   working

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!