Write a new gmacs.dat file. This function is used to modify within R a pre-existent gmacs.dat file.
writeGmacs.dat(
  Dir = NULL,
  FileName = NULL,
  gmacsDat = NULL,
  stock = "",
  model_name = "",
  Ass_Year = "",
  DirTPL = NULL,
  Ver_number = NULL
)(character string)- directory where to save the new gmacs.dat file.
(character string)- name of the new gmacs.dat file.
(character string)- Object (list) containing the ex gmacs.dat
file - The list is created using the readGMACS_dat() function.
(character string)- name of the stock of interest.
(character string)- name of the model currently considered (e.g., "model 22.A").
(character string)- Year of this assessment.
(character string)- the directory where the gmacsbase.TPL file you are using for the stock assessment is hold.
(character)- The version of Gmacs. This is used only when developing new code versions of Gmacs.
create a new gmacs.dat file.