file_to_delete = file.choose() file.remove(file_to_delete) Best, Dave Deriso UCSD Psychology
On Thu, May 20, 2010 at 1:46 AM, Sergey Goriatchev <serg...@gmail.com> wrote: > Hello, > > I have an Excel file on a drive and I extract data from it into R session. > Once I have extracted the data, I want to delete that Excel file from the > drive. > Can I do that from within R, please? > > Thank you for help! > > Regards, > Sergey > > ______________________________________________ > 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.