[R] Write text file in Fortran format
drj|m|emon @end|ng |rom gm@||@com
Wed Sep 21 12:59:02 CEST 2022
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.
On Wed, Sep 21, 2022 at 8:30 PM Ebert,Timothy Aaron <tebert using ufl.edu> wrote:
> This post was empty.
> From: R-help <r-help-bounces using r-project.org> On Behalf Of javad bayat
> Sent: Wednesday, September 21, 2022 2:09 AM
> To: R-help using r-project.org
> Subject: [R] Write text file in Fortran format
> [[alternative HTML version deleted]]
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help