When reading the following helpfile it should be possible to add a prefix to the column names :
colnames(x, do.NULL = TRUE, prefix = \"col\")
The updated tidyverse method (with dplyr 1.0.2) uses rename_with() as the rename_all() function has been superseded.
tidyverse
dplyr 1.0.2
rename_with()
rename_all()
iris %>% rename_with( ~ paste("Sub", .x, sep = "_"))