Issue
How to extract the datasets that are provided in r libraries into csv files. Faced this issue when trying to implement R related data analysis programs in python.
Solution
First you can make sure the data is loaded from the package with data()
and then write it out with write.csv
data(Boston, package = "MASS")
write.csv(Boston, "Boston.csv")
Answered By - MrFlick Answer Checked By - Dawn Plyler (PHPFixing Volunteer)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.