I have an existing tinytable "object" (R labels it "Formal class tinytable", call it "VIEWTotal") obtained after a custom function. Screenshot R View of VIEWTotal tinytable object The available posts I have been able to find, including the documentation, all show applying tinytable(), save_tt(), etc. to the dataframe rather than the S4 object. I cannot apply tinytable directly to the dataframe and get the result. Documentation states that the transition to Word requires two steps: (1) generate markdown table, (2) use Pandoc software to convert markdown to Word. I haven't been able to get Step (1), much less Step (2).
I'd appreciate any suggestions. (I am not a complete newbie, but not advanced R user either.)
Similar post: Use kableExtra to manipulate and save tex file after modelsummary
I have an existing tinytable "object" (R labels it "Formal class tinytable", call it "VIEWTotal") obtained after a custom function. Screenshot R View of VIEWTotal tinytable object The available posts I have been able to find, including the documentation, all show applying tinytable(), save_tt(), etc. to the dataframe rather than the S4 object. I cannot apply tinytable directly to the dataframe and get the result. Documentation states that the transition to Word requires two steps: (1) generate markdown table, (2) use Pandoc software to convert markdown to Word. I haven't been able to get Step (1), much less Step (2).
I'd appreciate any suggestions. (I am not a complete newbie, but not advanced R user either.)
Similar post: Use kableExtra to manipulate and save tex file after modelsummary
Share Improve this question asked Mar 6 at 0:50 Va Nee L. Van VleckVa Nee L. Van Vleck 31 bronze badge1 Answer
Reset to default 0All you need to do is call:
library(tinytable)
save_tt(existing_tinytable_object, "path/to/file.docx")
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745000956a4605488.html
评论列表(0条)