search for: pn_format

Displaying 1 result from an estimated 1 matches for "pn_format".

Did you mean: pg_format
2009 Mar 18
2
Profiling question: string formatting extremely slow
...sing R to find duplicates in a set of 6 files containing Part Number information. Before applying the intersect method to identify the duplicates I need to normalize the P/Ns. Converting the P/N to uppercase if alphanumerical and applying an 18 char long zero padding if numerical. When I apply the pn_formatting function (see code below) to "Part Number" column of the data.frame (character vectors up to 18 char long) it consumes a lot of memory, my computer (Windows XP SP3) starts to swap memory, CPU goes to zero and completion takes hours to complete. Part Number columns can have from 7'...