Message-ID: <BAY135-W40E108D0F36B55737A773688910@phx.gbl>
Date: 2009-03-26T12:33:06Z
From: Steve Murray
Subject: Column name assignment problem
Dear all,
I'm trying to assign a name to the fourth column whilst using 'assign', but keep encountering errors. What have I done wrong?!
> assign(colnames(c(paste("arunoff_",table_year, sep="")[4]), "COUNT"))
Error in if (do.NULL) NULL else if (nc> 0) paste(prefix, seq_len(nc), :
argument is not interpretable as logical
Hope someone is able to help.
Thanks for any pointers,
Steve
_________________________________________________________________
[[elided Hotmail spam]]