下载RPostgreSQL时出现问题

时间:2015-06-27 08:49:19

标签: r postgresql ubuntu packages cran

警告:无效的包'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

1 个答案:

答案 0 :(得分:1)

试试这个:

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