Turning RData file into script files

前端 未结 3 2067
甜味超标
甜味超标 2020-12-29 14:23

Is there a straightforward way to turn the functions of a .RData file into a normal code file (.R)?

3条回答
  •  滥情空心
    2020-12-29 14:47

    There's another solution from another post using sink

    sink(file="Function.R")
    Function # The object
    sink()
    

提交回复
热议问题