Re: [R] removing a non empty directory

2010-06-11 Thread Phil Spector
?unlink - Phil Spector Statistical Computing Facility Department of Statistics UC Berkeley sp

[R] removing a non empty directory

2010-06-11 Thread mauede
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 remov