?unlink

                                        - Phil Spector
                                         Statistical Computing Facility
                                         Department of Statistics
                                         UC Berkeley
                                         spec...@stat.berkeley.edu


On Fri, 11 Jun 2010, mau...@alice.it wrote:

I'd like to remove automatically a directory that may be non empty.
I tried:
file.remove(NewDir, recursive=TRUE)
[1] FALSE
Warning message:
In file.remove(NewDir, recursive = TRUE) :
 cannot remove file 'Prostate_Validated_mirWalk', reason 'Directory not empty'

Is there another command to remove entire directories including their contents ?
Thank you.
Maura


tutti i telefonini TIM!


        [[alternative HTML version deleted]]

______________________________________________
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