Skip to content

Saving report() as an object rather than displaying on the console #409

@andrewbcooper

Description

@andrewbcooper

I've poked around quite a bit but haven't found anything about this. The report() function is fantastic, but I can only get it to display on the console. I'm not able to save it as an object and then, say, reformat it or re-arrange the elements in a Markdown document. I've been able to partially accomplish this using:

myoutput <- utils::capture.output(report(mymodel))

But that's pretty clunky (and I don't trust that the location of the character strings will be consistent across different model formulations) Is there an option within the report() function to save it as an object?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions