Skip to content
Prev 67989 / 398506 Next

using imported tables

I guess one of the reasons that you have not had a reply is that you have not followed the posting guide. If you give the list something to work with (a small reproducible example)

You use the word package which in R is very precise, but which I think you are using to describe the file you are reading. This amkes it harder for us to understand what your problem is.

if you type ?read.table and read the help you will find that the parameter col.names is a "a vector of optional names for the variables. The default is to use '"V"' followed by the column number." Typically this would look something like col.names = c("ColA","ColB", ..., "ColZ") That is one for each column in the matrix or data.frame.

But I'm guessing. If I saw the code I might see something else that you've done to to see what you mean by "assigns a name to the entire table."

Now's a good time to reread the posting guide, assuming that you have already done so.

Tom