[R] Adding lines to the page

Stats Student @t@t@@@tudent4647 @end|ng |rom gm@||@com
Thu Jun 28 15:24:42 CEST 2018


Didn't know about linesGrob(). Thanks



On Wed, Jun 27, 2018, 4:38 PM Bert Gunter <bgunter.4567 using gmail.com> wrote:

> "Considering that there are ways to add text on a page through textGrobs.."
>
> ... and the linesGrob() function would do the same for lines, no?
>
> Cheers,
> Bert
>
>
>
> Bert Gunter
>
> "The trouble with having an open mind is that people keep coming along and
> sticking things into it."
> -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
>
> On Wed, Jun 27, 2018 at 3:56 PM, Stats Student <
> stats.student4647 using gmail.com> wrote:
>
>> Thanks, Jeff. The Task View page was very informative.
>>
>> To answer your question, I'm using ggplot to generate my plots and
>> grid/gridExtra/gtable to place those plots on a page.
>>
>> Considering that there are ways to add text on a page through textGrobs,
>> independent of the plots, I was wondering if there was a similar
>> functionality for adding lines. Also noticed a package called pagenum for
>> adding page numbers.
>>
>> knitr is certainly interesting, but might be an overkill for what I am
>> trying to do (creating basic multipage reports with basic headers,
>> footers).
>>
>>
>>
>>
>> On Jun 27, 2018, 2:07 PM, at 2:07 PM, Jeff Newmiller <
>> jdnewmil using dcn.davis.ca.us> wrote:
>> >That would depend how you are generating the page... plots alone don't
>> >really have such options. If you don't know what this means then I
>> >suggest you read the Reproducible Research Task View [1]. knitr in
>> >conjunction with LaTeX (Rnw files) is very powerful, but there are many
>> >other tools as well (e.g. bookdown) depending on your preferences.
>> >
>> >[1] https://cran.r-project.org/web/views/ReproducibleResearch.html
>> >
>> >On June 27, 2018 1:53:58 PM PDT, Stats Student
>> ><stats.student4647 using gmail.com> wrote:
>> >>Hi, I'm looking for a way to add lines to a report. To be clear, I
>> >>don't want to add lines to any specific plot, but instead to add
>> >>line(s) to the page itself - e.g. add a line to the footer area, above
>> >>the actual footer text.
>> >>
>> >>Any thoughts on how to do this? Many thanks.
>> >>
>> >>______________________________________________
>> >>R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
>> >>https://stat.ethz.ch/mailman/listinfo/r-help
>> >>PLEASE do read the posting guide
>> >>http://www.R-project.org/posting-guide.html
>> >>and provide commented, minimal, self-contained, reproducible code.
>> >
>> >--
>> >Sent from my phone. Please excuse my brevity.
>>
>> ______________________________________________
>> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide
>> http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>>
>
>

	[[alternative HTML version deleted]]




More information about the R-help mailing list