警告:无效的包“RPostgreSQL_0.4.tar.gz”
错误:错误:未指定包
警告消息:

In install.packages("RPostgreSQL_0.4.tar.gz", lib = "/home/anirudh/Downloads/",  :
  installation of package ‘RPostgreSQL_0.4.tar.gz’ had non-zero exit status
>

install.packages('RPostgreSQL_0.4.tar.gz',lib='/home/anirudh/Downloads',repos=NULL
Warning: invalid package ‘RPostgreSQL_0.4.tar.gz’
Error: ERROR: no packages specified
Warning message:
In install.packages("RPostgreSQL_0.4.tar.gz", lib = "/home/anirudh/Downloads",  :
  installation of package ‘RPostgreSQL_0.4.tar.gz’ had non-zero exit status

最佳答案

试试这个:

install.packages("/home/anirudh/Downloads/RPostgreSQL_0.4.tar.gz",
                 repos = NULL, type="source")

关于r - 下载RPostgreSQL时出现问题,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/31086893/

10-12 18:52