[R] Searching for keyword values in a text (configuration) file

Andre Jung ajung at gfz-potsdam.de
Wed Sep 27 14:57:57 CEST 2006


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


More information about the R-help mailing list