How to save a data frame as CSV to a user selected location using tcltk

前端 未结 3 1968
一向
一向 2021-01-31 01:52

I have a data frame called, Fail.

I would like to save Fail as a CSV in a location that the user selects. Below is some example code that I

3条回答
  •  甜味超标
    2021-01-31 02:39

    Take a look at the write.csv or the write.table functions. You just have to supply the file name the user selects to the file parameter, and the dataframe to the x parameter:

    write.csv(x=df, file="myFileName")
    

提交回复
热议问题