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

2010-05-20 Thread Sergey Goriatchev
Thanks, Tal

Will check it out.

Regards,
Sergey

On Thu, May 20, 2010 at 10:51, Tal Galili  wrote:
> Check out:
> ?unlink
>
>
>
>
> Contact
> Details:---
> Contact me: tal.gal...@gmail.com |  972-52-7275845
> Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) |
> www.r-statistics.com (English)
> --
>
>
>
>
> On Thu, May 20, 2010 at 11:46 AM, Sergey Goriatchev 
> 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.
>
>



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

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


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

2010-05-20 Thread Sergey Goriatchev
Thank you, Dave!

Regards,
Sergey

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



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

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


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

2010-05-20 Thread Dave Deriso
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  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.


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

2010-05-20 Thread Tal Galili
Check out:
?unlink





Contact
Details:---
Contact me: tal.gal...@gmail.com |  972-52-7275845
Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) |
www.r-statistics.com (English)
--




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

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


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

2010-05-20 Thread Sergey Goriatchev
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.