search for: v2_1

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

Did you mean: v2.1
2008 May 28
1
Search&replace string?
...it is possible to modify a text file with a R function. In fact I would like to know if a function "Search & Replace" exists. My problem is to create config files from a Base file in which I have to modify values of parameters. My Base File: #... #... Param1= V1_1 #... Param2 = V2_1 Param3 = V3_1 #... What I would like for each created file i: #... #... Param1= V1_i #... Param2 = V2_i Param3 = V3_i #... For the moment my solution is to read each line of the config file, modify if needed the line and recopy it in the new file. But the problem is that my file is about 500...