Colleagues,

(Running R 2.7.0)

I have a script that I want to delete as it completes execution.  The  
penultimate line of the script (before the quit command) is:
	file.remove("Scriptname")
The script is executed as:
	R --no-save < Scriptname

In OS X and Linux this is successful and returns:
> > file.remove("x")
> [1] TRUE
and the file is deleted

In Windows XP, it returns:
> [1] FALSE

and the file is not deleted.

I realize that this is an OS issue rather than an issue with execution  
of the command.  Is there some means to delete the script from within R?

Dennis

Dennis Fisher MD
P < (The "P Less Than" Company)
Phone: 1-866-PLessThan (1-866-753-7784)
Fax: 1-415-564-2220
www.PLessThan.com


	[[alternative HTML version deleted]]

