[R] Checking for similar file names in two different directories

Thomas Subia t@ub|@ @end|ng |rom |mgprec|@|on@com
Thu Dec 26 18:54:16 CET 2019


I have two locations where my data resides.
One folder is for data taken under treatment A
One folder is for data taken under treatment B

"G:\ 0020-49785 10806.xls"
"Q:\ 301864 4519 10806.xls"

Here the 10806 is the part which is common to both directories.

Is there a way to have R extract parts common to both directories?

Thomas Subia 
Statistician / Senior Quality Engineer

IMG Companies 
225 Mountain Vista Parkway
Livermore, CA 94551
T. (925) 273-1106
F. (925) 273-1111
E. tsubia using imgprecision.com

Precision Manufacturing for Emerging Technologies

The contents of this message, together with any attachments, are intended only for the use of the individual or entity to which they are addressed and may contain information that is legally privileged, confidential and exempt from disclosure. If you are not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this message, or any attachment, is strictly prohibited. If you have received this message in error, please notify the original sender or IMG Companies, LLC at Tel: 925-273-1100 immediately by telephone or by return E-mail and delete this message, along with any attachments, from your computer. Thank you.

More information about the R-help mailing list