Hi, There was a .txt attachment that is some type of data file. Maybe what you mean is can the header be stripped and the rest written out in a format that can be input with a FORTRAN read routine. Yes, you just have to read it into a data frame and write it out so that it is in either free or fixed format. You will have to define the variable names in your FORTRAN code and work out the input format specifications for the fields.
Jim On Wed, Sep 21, 2022 at 8:30 PM Ebert,Timothy Aaron <teb...@ufl.edu> wrote: > > This post was empty. > > Tim > > From: R-help <r-help-boun...@r-project.org> On Behalf Of javad bayat > Sent: Wednesday, September 21, 2022 2:09 AM > To: R-help@r-project.org > Subject: [R] Write text file in Fortran format > > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.