<div dir="ltr"><p style="font-family:arial,sans-serif;font-size:13px;margin:0px">Hi, I'm trying to install the ltm package for R via Rkward, and get the following error message when I try:</p><p style="font-family:arial,sans-serif;font-size:13px;margin:0px">
<br class=""><font color="#ff0000">Error in download.file(url, destfile, method, mode = "wb", ...) :</font></p><p style="font-family:arial,sans-serif;font-size:13px;margin:0px"><span style="color:rgb(255,0,0)">unused argument (suggested_packages = TRUE)</span></p>
<p style="font-family:arial,sans-serif;font-size:13px;margin:0px"><span style="color:rgb(255,0,0)">Warning in download.packages(pkgs, destdir = tmpd, available = available, :</span></p><p style="font-family:arial,sans-serif;font-size:13px;margin:0px">
<span style="color:rgb(255,0,0)">download of package 'polycor' failed</span></p><p style="font-family:arial,sans-serif;font-size:13px;margin:0px"><span style="color:rgb(255,0,0)">Error in download.file(url, destfile, method, mode = "wb", ...) :</span></p>
<p style="font-family:arial,sans-serif;font-size:13px;margin:0px"><span style="color:rgb(255,0,0)">unused argument (suggested_packages = TRUE)</span></p><p style="font-family:arial,sans-serif;font-size:13px;margin:0px"><span style="color:rgb(255,0,0)">Warning in download.packages(pkgs, destdir = tmpd, available = available, :</span></p>
<p style="font-family:arial,sans-serif;font-size:13px;margin:0px"><span style="color:rgb(255,0,0)">download of package 'ltm' failed</span></p><p style="font-family:arial,sans-serif;font-size:13px;margin:0px"><span style="color:rgb(255,0,0)"><br>
</span></p><p style="font-family:arial,sans-serif;font-size:13px;margin:0px"><font color="#000000">When I try it without installing suggested packages I get a longer error message:</font></p><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px"><div><br></div><div><p style="margin:0px">> options (repos= c("<a href="http://cran.md.tsukuba.ac.jp/" target="_blank">http://cran.md.tsukuba.ac.jp</a>", "<a href="http://rkward.sf.net/R/" target="_blank">http://rkward.sf.net/R/</a>", "<a href="http://rkward.sf.net/R/" target="_blank">http://rkward.sf.net/R/</a>"))</p>
<p style="margin:0px">> options (pkgType="source")</p><p style="margin:0px">> install.packages (pkgs=c ("ltm"), lib="/Users/stewartjeff/.rkward/library")</p><p style="margin:0px"><br></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">also installing the dependencies 'msm', 'mvtnorm', 'polycor'</span></p><p style="margin:0px;color:rgb(255,0,0)"><br></p><p style="margin:0px">
<span style="color:rgb(255,0,0)">trying URL '<a href="http://cran.md.tsukuba.ac.jp/src/contrib/msm_1.2.tar.gz" target="_blank">http://cran.md.tsukuba.ac.jp/src/contrib/msm_1.2.tar.gz</a>'</span></p><p style="margin:0px">
<span style="color:rgb(255,0,0)">Content type 'application/x-gzip' length 704042 bytes (687 Kb)</span></p><p style="margin:0px"><span style="color:rgb(255,0,0)">opened URL</span></p><p style="margin:0px"><span style="color:rgb(255,0,0)">==================================================</span></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">downloaded 687 Kb</span></p><p style="margin:0px;color:rgb(255,0,0)"><br></p><p style="margin:0px"><span style="color:rgb(255,0,0)">trying URL '<a href="http://cran.md.tsukuba.ac.jp/src/contrib/mvtnorm_0.9-9996.tar.gz" target="_blank">http://cran.md.tsukuba.ac.jp/src/contrib/mvtnorm_0.9-9996.tar.gz</a>'</span></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">Content type 'application/x-gzip' length 140034 bytes (136 Kb)</span></p><p style="margin:0px"><span style="color:rgb(255,0,0)">opened URL</span></p><p style="margin:0px">
<span style="color:rgb(255,0,0)">==================================================</span></p><p style="margin:0px"><span style="color:rgb(255,0,0)">downloaded 136 Kb</span></p><p style="margin:0px;color:rgb(255,0,0)"><br>
</p><p style="margin:0px"><span style="color:rgb(255,0,0)">trying URL '<a href="http://cran.md.tsukuba.ac.jp/src/contrib/polycor_0.7-8.tar.gz" target="_blank">http://cran.md.tsukuba.ac.jp/src/contrib/polycor_0.7-8.tar.gz</a>'</span></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">Content type 'application/x-gzip' length 8238 bytes</span></p><p style="margin:0px"><span style="color:rgb(255,0,0)">opened URL</span></p><p style="margin:0px">
<span style="color:rgb(255,0,0)">==================================================</span></p><p style="margin:0px"><span style="color:rgb(255,0,0)">downloaded 8238 bytes</span></p><p style="margin:0px;color:rgb(255,0,0)">
<br></p><p style="margin:0px"><span style="color:rgb(255,0,0)">trying URL '<a href="http://cran.md.tsukuba.ac.jp/src/contrib/ltm_0.9-9.tar.gz" target="_blank">http://cran.md.tsukuba.ac.jp/src/contrib/ltm_0.9-9.tar.gz</a>'</span></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">Content type 'application/x-gzip' length 157791 bytes (154 Kb)</span></p><p style="margin:0px"><span style="color:rgb(255,0,0)">opened URL</span></p><p style="margin:0px">
<span style="color:rgb(255,0,0)">==================================================</span></p><p style="margin:0px"><span style="color:rgb(255,0,0)">downloaded 154 Kb</span></p><p style="margin:0px;color:rgb(255,0,0)"><br>
</p><p style="margin:0px"><span style="color:rgb(255,0,0)">* installing *source* package 'mvtnorm' ...</span></p><p style="margin:0px"><span style="color:rgb(255,0,0)">** package 'mvtnorm' successfully unpacked and MD5 sums checked</span></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">** libs</span></p><p style="margin:0px"><span style="color:rgb(255,0,0)">sh: make: command not found</span></p><p style="margin:0px"><span style="color:rgb(255,0,0)">ERROR: compilation failed for package 'mvtnorm'</span></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">* removing '/Users/stewartjeff/.rkward/library/mvtnorm'</span></p><p style="margin:0px"><span style="color:rgb(255,0,0)">ERROR: dependency 'mvtnorm' is not available for package 'msm'</span></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">* removing '/Users/stewartjeff/.rkward/library/msm'</span></p><p style="margin:0px"><span style="color:rgb(255,0,0)">ERROR: dependency 'mvtnorm' is not available for package 'polycor'</span></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">* removing '/Users/stewartjeff/.rkward/library/polycor'</span></p><p style="margin:0px"><span style="color:rgb(255,0,0)">ERROR: dependencies 'msm', 'mvtnorm', 'polycor' are not available for package 'ltm'</span></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">* removing '/Users/stewartjeff/.rkward/library/ltm'</span></p><p style="margin:0px"><span style="color:rgb(255,0,0)">Warning messages:</span></p><p style="margin:0px">
<span style="color:rgb(255,0,0)">1: In install.packages(pkgs = c("ltm"), lib = "/Users/stewartjeff/.rkward/library") :</span></p><p style="margin:0px"><span style="color:rgb(255,0,0)">installation of package 'mvtnorm' had non-zero exit status</span></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">2: In install.packages(pkgs = c("ltm"), lib = "/Users/stewartjeff/.rkward/library") :</span></p><p style="margin:0px"><span style="color:rgb(255,0,0)">installation of package 'msm' had non-zero exit status</span></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">3: In install.packages(pkgs = c("ltm"), lib = "/Users/stewartjeff/.rkward/library") :</span></p><p style="margin:0px"><span style="color:rgb(255,0,0)">installation of package 'polycor' had non-zero exit status</span></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">4: In install.packages(pkgs = c("ltm"), lib = "/Users/stewartjeff/.rkward/library") :</span></p><p style="margin:0px"><span style="color:rgb(255,0,0)">installation of package 'ltm' had non-zero exit status</span></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)"><br></span></p><p style="margin:0px"><span style="color:rgb(255,0,0)"><br></span></p><p style="margin:0px"><font color="#000000">Any ideas on what I can try?</font></p>
</div></div></div>