unlink("D:/ffdata", recursive = TRUE)

On Fri, Nov 12, 2010 at 6:29 AM, Xiaobo Gu <guxiaobo1...@gmail.com> wrote:

> Hi,
> It seems file.remove can't remove directories,  regardless whether
> it's an empty one, but how to delete a directory in R
>
> > file.remove("D:/ffdata")
> [1] FALSE
> Warning message:
> In file.remove("D:/ffdata") :
>  cannot remove file 'D:/ffdata', reason 'Permission denied'
> Thanks.
> Xiaobo Gu
>
> ______________________________________________
> 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<http://www.r-project.org/posting-guide.html>
> and provide commented, minimal, self-contained, reproducible code.
>

        [[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.

Reply via email to