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

前端 未结 3 1919
一向
一向 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:38

    write.csv([enter name of dataframe here],file = file.choose(new = T))
    

    After running above script this window will open :

    Type the new file name with extension in the File name field and click Open, it'll ask you to create a new file to which you should select Yes and the file will be created and saved in the desired location.

提交回复
热议问题