Dear William,
Please use a more informative subject line (as the posting guide asks you to
do).
Backslash have a special function. In file paths you need to use either double
backslashes or forward slashes.
'C:\\Users\\Bill\\Desktop\\DMwR_0.2.1.zip'
'C:/Users/Bill/Desktop/DMwR_0.2.1.zip'
Best regards,
Thierry
PS It might be time to upgrade your R version. R 2.10.1 is quite old. R 2.14.0
will be available within a month.
> -----Oorspronkelijk bericht-----
> Van: r-help-bounces at r-project.org [mailto:r-help-bounces at
r-project.org]
> Namens William Claster
> Verzonden: woensdag 5 oktober 2011 7:06
> Aan: r-help at r-project.org
> Onderwerp: [R] (no subject)
>
> Hi. I am trying to install using the following. Can someone suggest what is
> wrong? I am using Windows 7 64bit, and R 2.10.1
>
> ('C:\Users\Bill\Desktop\DMwR_0.2.1.zip', repos=NULL ) Warning in
> install.packages("C:UsersBillDesktopDMwR_0.2.1.zip", repos =
NULL) :
> ? argument 'lib' is missing: using
'C:\Users\Bill\Documents/R/win-library/2.10'
> Error in zip.unpack(pkg, tmpDir) :
> ? zipfile 'C:UsersBillDesktopDMwR_0.2.1.zip' not found In addition:
Warning
> messages:
> 1: \U used without hex digits
> 2: '\B' is an unrecognized escape in a character string
> 3: '\D' is an unrecognized escape in a character string
> 4: '\D' is an unrecognized escape in a character string
> 5: unrecognized escapes removed from
> "C:\Users\Bill\Desktop\DMwR_0.2.1.zip"
> >
>
> I also tried to install using the install menu.
>
> Thank you.
> [[alternative HTML version deleted]]