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

Sergey Goriatchev sergeyg at gmail.com
Thu May 20 10:57:28 CEST 2010

Thank you, Dave!


On Thu, May 20, 2010 at 10:55, Dave Deriso <dderiso at ucsd.edu> wrote:
> 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 <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.

Simplicity is the last step of art./Bruce Lee
The more you know, the more you know you don't know. /Myself

I'm not young enough to know everything. /Oscar Wilde
Experience is one thing you can't get for nothing. /Oscar Wilde
When you are finished changing, you're finished. /Benjamin Franklin
Luck is where preparation meets opportunity. /George Patten

Kniven skärpes bara mot stenen.

More information about the R-help mailing list