search for: inp_file

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

Did you mean: in_file
2010 Apr 25
1
Manipulating text files
...ization between “lower” and “upper”), (c) insert those parameter values into the input file in the proper spot, and then run this altered input file(step 2). Is this the right way to start? #function optimfxn<- function (x) { #(1)(a) would I do something like this? txt<-readLines("inp_File.inp") #From here I need help finishing step 1. I have not worked much with text files in R. I have read a lot of help files but am not getting anywhere. #Do I have to use textConnection() to write to the text file? #How do I incorporate the parameter values selected in each iteration of...