Hey everyone, just a quick question about .fwf files. In .fwf files, does each COLUMN have a set number of characters, or does each ROW have a set number of character? Kind of confused about that. Thank you.
For a simple .csv file I think each column has a width
Create data file as fix.csv file
122333444455555
122333444455555
Read in
dat1 <- read.fwf("fix.csv", widths = c(1,2,3,4,5))
Have a look at read.fwf function - RDocumentation
1 Like
This topic was automatically closed 42 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.