On 27/02/2012 3:01 PM, R. Michael Weylandt wrote:
Do you perhaps need to add install.packages(...,  type="src")? Just a
(untested) guess...

That should be type="source", and that should solve the problem, assuming Deepan has the necessary tools installed. If not, he can get them from CRAN in the bin/windows/Rtools directory.

Duncan Murdoch

Michael

On Mon, Feb 27, 2012 at 12:07 PM, DT54321<deepan.tailo...@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@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.

______________________________________________
R-help@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.

______________________________________________
R-help@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.

Reply via email to