Oh, *please* do consult the list archives as the posting guide suggests: I
posted an answer to this earlier this morning, referencing a comprehensive
answer from Sunday.
The problem is a lack of understanding of how Vista security works. You
are using a version of R which predates Vista, so unsurprisingly the
issues are not discussed there, but they are in R 2.5.0 due out next week.
But I found a correct answer to this way back in October in the list
archives via RSiteSearch("Vista"), and several later ones.
On Thu, 19 Apr 2007, toftaker at stud.ntnu.no wrote:
>
> Hi
>
> I am having problems innstalling new packages in R on my vista system.
> The error message was
>
> Error in zip.unpack(pkg, tmpDir) : cannot open file 'C:/Program
> Files/R/R-2.4.1/library/file195610e4/tree/chtml/tree.chm
>
> When I tried to find a solution to the problem it became clear to me that
> I was not the only one having the same problem. I tried deleting the
> file from the .zip file and then innstall again, but then the error
> message was
>
> Error in zip.unpack(pkg, tmpDir) : cannot open file 'C:/Program
> Files/R/R-2.4.1/library/file74c36fd9/tree_1.0-25[1]/tree/libs/tree.dll
>
> so it seems like it is not only .chm files that are problematic.
>
> H?kon Toftaker
>
> ______________________________________________
> R-help at stat.math.ethz.ch 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.
>
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595