Skip to content

need help using read.fortran

2 messages · Julie Royster, Duncan Murdoch

#
On 06/03/2013 12:57 PM, jsdroyster wrote:
The paste() call will try to find variables with those names, and 
concatenate their contents.  That's not what you want.  You want 
something like

col.names = c("idno", "empmo", ....)
dimnames() is a function that returns a list of row names and column 
names.  The column names are the second component, so

dimnames(AN35)[[2]] <- something

changes the column names.

Duncan Murdoch