r - Creating a for loop to save each data in a separate file -


i trying take list of users dataframe, , create for loop followers. want followers user 1,2,3,4..., don't want them saved in same file. here code, missing?

## vector of users users <- unique(dat$screen_name)  for(i in seq_along(users)){   print(users[i])   d <- get_followers(users[i], n= "all", page = "-1", parse = true, token = null) } 

this overwriting, deletes first user followers, , write on 2nd , on.


Comments

Popular posts from this blog

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -