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]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to