[R] Deleting a file on a drive from within R

Dave Deriso dderiso at ucsd.edu
Thu May 20 10:55:36 CEST 2010

file_to_delete = file.choose()

Dave Deriso
UCSD Psychology

On Thu, May 20, 2010 at 1:46 AM, Sergey Goriatchev <sergeyg at 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 at 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.

More information about the R-help mailing list