Background: there is a data file whose records, after a header, can be describedby the Fortran format given in the header.
YES, you can easily read that file in R, and you don't even need to know anything about Fortran formats to do it. You can read the file as a data frame using read.table using the skip=8 parameter to skip the header and the colnames=c("x", "y", ...) parameter to supply the column names. You will need to supply the column names yourself because one of the column names given has a space in it. On Wed, 21 Sept 2022 at 20:29, javad bayat <j.bayat...@gmail.com> wrote: > [[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.