R: How to save lists into csv?

前端 未结 3 1157
野趣味
野趣味 2020-12-05 12:01

So im actually working on twitteR and i need a way to store my tweets into a csv file and pull it out when i need it . This is due to the idea i want to compile the tweets i

3条回答
  •  我在风中等你
    2020-12-05 12:41

    You can use the following to convert tweets into tweets dataframe:

    tweets.df <- do.call("rbind", lapply(tweets, as.data.frame)) 
    

    Then use tweets.df in your write.csv function.

提交回复
热议问题