且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

错误:找不到函数"geom_sf";

更新时间:2023-11-18 14:57:46

如果从引用的URL下载,则适当的下一步是在R会话命令行执行此操作,假设您的软件包位于工作目录中:

If you downloaded from the URL you cited then the appropriate next step would be to execute this at the R session command line assuming your package is in the working directory:

install.packages('ggplot2', repo=NULL, lib = 'C:/filepath')

.zip扩展名隐含在尝试从Windows二进制文件安装的过程中,您需要告诉它不要尝试从CRAN下载.

The .zip extension is implicit in trying to install from a binary windows file and you need to tell it NOT to attempt downloading from CRAN.