Andre Jung
2006-Sep-27 12:57 UTC
[R] Searching for keyword values in a text (configuration) file
Hi, I would like to read values from an ASCII text file that contains information in the following format: DEVICE = 'PC' CPU_SPEED = '1999', '233' ... It's like a config file. How can I e.g. get R to read the 2nd value of CPU_SPEED? How do I go through text files and search for keywords and their values? Thanks a lot, Andre
Andre Jung
2006-Sep-27 13:07 UTC
[R] Searching for keyword values in a text (configuration) file
Hi, I would like to read values from an ASCII text file that contains information in the following format: DEVICE = 'PC' CPU_SPEED = '1999', '233' ... It's like a config file. How can I e.g. get R to read the 2nd value of CPU_SPEED? How do I go through text files and search for keywords and their values? Thanks a lot, Andre