[Rd] Feature request: make file.exists interruptable

Christopher Hammill chr|@topher@h@mm||| @end|ng |rom @|ckk|d@@c@
Mon Apr 15 19:44:05 CEST 2019


Hi R developers,

On slow file systems with large lists of files, file.exists can take a long time to run. It would be nice if users could interrupt this function. I think it would be simple to add:

https://svn.r-project.org/R/trunk/src/main/platform.c,

at line 1373, add "R_CheckUserInterrupt();" perhaps every some number of iterations if performance is a concern here.

Thanks,

Chris


________________________________

This e-mail may contain confidential, personal and/or health information(information which may be subject to legal restrictions on use, retention and/or disclosure) for the sole use of the intended recipient. Any review or distribution by anyone other than the person for whom it was originally intended is strictly prohibited. If you have received this e-mail in error, please contact the sender and delete all copies.

	[[alternative HTML version deleted]]



More information about the R-devel mailing list