Colleagues,
R 2.9.0
Windows XP
Task is as follows:
A folder FOLDERNAME exists at the root level of some drive, e.g., E:
\FOLDERNAME
I want to search all possible drives to find the location of this
folder but I don't know what drives exist or are mounted.
The command:
dir(path="C:/", pattern=FOLDERNAME)
happens to be successful.
However, the command:
dir(path="C:/", pattern=FOLDERNAME)
results is a pop-up message:
"There is no disk in the drive. Please insert a disk into drive D:"
Can I avoid the pop-up message? i.e., can I execute a command that
silently reports only successes?
Thanks in advance.
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
______________________________________________
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.