dcomtois / summarytools

R Package to Quickly and Neatly Summarize Data
522 stars 78 forks source link

Rd formatting #1

Closed krlmlr closed 9 years ago

krlmlr commented 9 years ago

The output of dfSummary would look nice in the data documentation created by roxygen2 (klutometis/roxygen#307). Converting a data frame to .Rd is straightforward, but the data frames created by dfSummary contain embedded newlines -- this makes it a bit more difficult.

dcomtois commented 9 years ago

Thanks Kirill for your feedback! :)

Line breaks are for sure a source of complications. It also makes Pandoc conversions go nuts.

2014-11-24 19:40 GMT-05:00 Kirill Müller notifications@github.com:

The output of dfSummary would look nice in the data documentation created by roxygen2 (klutometis/roxygen#307 https://github.com/klutometis/roxygen/issues/307). Converting a data frame to .Rd is straightforward, but the data frames created by dfSummary contain embedded newlines -- this makes it a bit more difficult.

— Reply to this email directly or view it on GitHub https://github.com/dcomtois/summarytools/issues/1.

dcomtois commented 9 years ago

I'm working on a solution for the multi-line tables of dfSummary to be properly converted to html, along with an option to display the results in the RStudio viewer rather than in a text file or console.

2014-11-24 19:40 GMT-05:00 Kirill Müller notifications@github.com:

The output of dfSummary would look nice in the data documentation created by roxygen2 (klutometis/roxygen#307 https://github.com/klutometis/roxygen/issues/307). Converting a data frame to .Rd is straightforward, but the data frames created by dfSummary contain embedded newlines -- this makes it a bit more difficult.

— Reply to this email directly or view it on GitHub https://github.com/dcomtois/summarytools/issues/1.

dcomtois commented 9 years ago

Pls try new version using htmltools, if something goes wrong we'll reopen the issue.