SyntaxFix
Write A Post
Hire A Developer
Questions
Here a solution if you want an empty data frame with a defined number of rows and NO columns:
df = data.frame(matrix(NA, ncol=1, nrow=10)[-1]