#doesn't work
install.packages(pkgs="http://courses.nus.edu.sg/course/psycwlm/internet/metaSEM/metaSEM_0.8-4.tar.gz",
repos="http://courses.nus.edu.sg/course/psycwlm/internet/metaSEM", type="source")
#but this works (on my MAC)
install.packages(pkgs="~/Dropbox/Rworkingdirectory/metaSEM_0.8-4.tar.gz",
repos=NULL, type="source")
为什么?
答案 0 :(得分:0)
试
library(devtools)
install_url("http://courses.nus.edu.sg/course/psycwlm/internet/metaSEM/metaSEM_0.8-4.tar.gz")
这对我不起作用,因为我还没有安装依赖项(例如OpenMX
);你可能必须手工完成这部分。