SyntaxFix
Write A Post
Hire A Developer
Questions
Maybe
df <- do.call("cbind", list(df, rep(list(NA),length(namevector)))) colnames(df)[-1*(1:(ncol(df) - length(namevector)))] <- namevector