Hi, I am having real problems downloading the package 'QRMlib'. The tar.gz file is shown here: http://cran.r-project.org/src/contrib/Archive/QRMlib/ I have downloaded this to my local folder and entered the following command: nstall.packages("myLocalFolder/QRMlib_1.4.5.1.tar.gz", repos = NULL) but I am getting the following error message Installing package(s) into ?C:/Program Files/R/R-2.14.1/library? (as ?lib? is unspecified) Warning in install.packages : error 1 in extracting from zip file Warning in install.packages : cannot open compressed file 'QRMlib_1.4.5.1.tar.gz/DESCRIPTION', probable reason 'No such file or directory' Error in install.packages : cannot open the connection What am I doing wrong?? Thanks -- View this message in context: http://r.789695.n4.nabble.com/Installing-package-QRMlib-tp4425269p4425269.html Sent from the R help mailing list archive at Nabble.com.
Do you perhaps need to add install.packages(..., type="src")? Just a (untested) guess... Michael On Mon, Feb 27, 2012 at 12:07 PM, DT54321 <deepan.tailor88 at gmail.com> wrote:> Hi, > I am having real problems downloading the package 'QRMlib'. The tar.gz file > is shown here: > > http://cran.r-project.org/src/contrib/Archive/QRMlib/ > > I have downloaded this to my local folder and entered the following command: > > nstall.packages("myLocalFolder/QRMlib_1.4.5.1.tar.gz", repos = NULL) > > but I am getting the following error message > > Installing package(s) into ?C:/Program Files/R/R-2.14.1/library? > (as ?lib? is unspecified) > Warning in install.packages : > ?error 1 in extracting from zip file > Warning in install.packages : > ?cannot open compressed file 'QRMlib_1.4.5.1.tar.gz/DESCRIPTION', probable > reason 'No such file or directory' > Error in install.packages : cannot open the connection > > What am I doing wrong?? > > Thanks > > -- > View this message in context: http://r.789695.n4.nabble.com/Installing-package-QRMlib-tp4425269p4425269.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.
Please quote context. You can open it with any plain text editor. (i.e., notepad) Michael On Tue, Feb 28, 2012 at 2:42 PM, DT54321 <deepan.tailor88 at gmail.com> wrote:> Yes, I did. But my Windows did not know what program to open it with... > > -- > View this message in context: http://r.789695.n4.nabble.com/Installing-package-QRMlib-tp4425269p4429275.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.