SyntaxFix
Write A Post
Hire A Developer
Questions
The key here is to unlist the row first.
colnames(DF) <- as.character(unlist(DF[1,])) DF = DF[-1, ]