警告:无效的包'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
答案 0 :(得分:1)
试试这个:
install.packages("/home/anirudh/Downloads/RPostgreSQL_0.4.tar.gz",
repos = NULL, type="source")