Re: [R] unlink disables help?

From: Peter Dalgaard <p.dalgaard_at_biostat.ku.dk>
Date: Fri 18 Aug 2006 - 04:31:13 EST

"Kuhn, Max" <Max.Kuhn@pfizer.com> writes:

> I was hoping that someone could try to reproduce an error that I am
> getting. The R Site Search keeps timing out on me, so apologies of this
> has already come up.
>
> I'm using
>
> > R.version
<never mind>

>
> When I use unlink as below, the help system is disabled:
>
> > ?print
> > testPath <- tempdir()
> > print(testPath)
> [1] "C:\\WINDOWS\\TEMP\\Rtmpo5Wnqb"
> > file.exists(testPath)
> [1] TRUE
> > unlink(testPath, recursive = TRUE)
> > ?print
> Error in int.unzip(file.path(path, zipname), topic, tmpd) :
> 'destination' does not exist
>
> I can produce the same error with Version 2.3.0 (2006-04-24) on Windows.

Read the documentation *carefully*:

Value:

     For 'tempfile' ....

     For 'tempdir', the path of the per-session temporary directory.

And there is only one, and it is in there that the help system keeps its stuff....

-- 
   O__  ---- Peter Dalgaard             ุster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)                  FAX: (+45) 35327907

______________________________________________
R-help@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.
Received on Fri Aug 18 04:35:20 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Fri 18 Aug 2006 - 06:22:42 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.