Displaying 1 result from an estimated 1 matches for "colnamesmy".
Did you mean:
colnames
2010 Jun 05
1
Write.fwf works from Mac, throws different number of row error in Windows
...n I run the
following line (last line of the script):
> write.fwf(outframe,file=outfile1,sep="",quote=FALSE,rownames=FALSE,colnames=FALSE,
+
width=c(4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8),append=TRUE,justify='right')
I get the following error:
Error in data.frame(colname = colnamesMy, nlevels = 0, position = 0, width =
0, :
arguments imply differing number of rows: 0, 1
In addition: Warning message:
In write.fwf(outframe, file = outfile1, sep = "", quote = FALSE, :
recycling 'width'
I can't see the reason for this. The data in outframe are all nume...