Skip to content

Instantly share code, notes, and snippets.

@verajosemanuel
Last active November 14, 2017 09:35
Show Gist options
  • Save verajosemanuel/83305ca4bda1f83ba7a362bd4f30f17c to your computer and use it in GitHub Desktop.
Save verajosemanuel/83305ca4bda1f83ba7a362bd4f30f17c to your computer and use it in GitHub Desktop.
#loop to assign in #R
for (i in 1:4) {
assign(paste("df_name",i,sep = ""), read.csv(paste0("df",i,".csv"), sep = ";", stringsAsFactors = FALSE))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment