DEL is built in to CMD. Use the R "unlink" function.
---------------------------------------------------------------------------
Jeff Newmiller The ..... ..... Go Live...
DCN:<jdnewmil@dcn.davis.ca.us> Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteries O.O#. #.O#. with
/Software/Embedded Controllers) .OO#. .OO#. rocks...1k
--------------------------------------------------------------------------- 
Sent from my phone. Please excuse my brevity.

syrvn <mentor_@gmx.net> wrote:

It's all in the context of calling commands via the system command in R.

I just found out that you can run system("pdflatex file") and it works fine.
So R finds the command "pdflatex" but not the "del" command which I can use
to delete files.

I am wondering how I have to call this command to be able for R to find it.

--
View this message in context: http://r.789695.n4.nabble.com/Delete-files-with-system-command-on-Windows-7-tp3885478p3885554.html
Sent from the R help mailing list archive at Nabble.com.

_____________________________________________

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

