Displaying 1 result from an estimated 1 matches for "base_file".
Did you mean:
base_file1
2008 May 28
1
Search&replace string?
...nes and I would like to create a lot of different version of Config_file from my Base file so with this method it takes a long time and i'm sure i can improve it. (For example for 85 differents files I have to wait 10min...)
My dream would be a function like this one :
Function <- function(Base_file, Param_array, Value_array)
{
file.copy(Base_file, Config_file)
...
for (i in length(Param_array)
{
Search&Replace(Config_file, "Param_array[i] = something", "Param_array[i] = Vallue_array[i]")
}
...
}
I hope I have been clear enough. If not,...