[R] Alter a line in a file.
Joel
joda2457 at student.uu.se
Thu May 5 14:16:04 CEST 2011
Hi all R users
Ive got a file that contains diffrent settings in the manor of:
setting1="value1"
setting2="value2"
setting3="value3"
setting4="value4"
.
.
.
What I want to do is open the file and change the value of a specific
setting
like wanna change setting4="value4" -> setting4="value5" and then save the
file again.
setting1="value1"
setting2="value2"
setting3="value3"
setting4="value5"
.
.
.
--
View this message in context: http://r.789695.n4.nabble.com/Alter-a-line-in-a-file-tp3498187p3498187.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list