[R] Function for displaying arbitrary text as in 'help'.
Nicolás San Martín
@mnicol@@ @ending from gm@il@com
Wed Jan 2 19:36:52 CET 2019
In this case I am not able to store the text in a file, because it could be
modified at any time and I need to display the most recent version (I fetch
it from the internet). But I can assume that it is correctly organized for
displaying.
El mié., 2 ene. 2019 a las 14:31, Jeff Newmiller (<jdnewmil using dcn.davis.ca.us>)
escribió:
> You can probably cobble together something, but spitting large chunks of
> information at users when the program wants to is bad design. It would be
> better to make a vignette or help file in a package and put the associated
> code from which you had been planning to spit out that text.
>
> On January 2, 2019 5:47:52 AM PST, "Nicolás San Martín" <
> smnicolas using gmail.com> wrote:
> >Hi all,
> >
> >I am looking for a function that receives some text (any text) and
> >displays
> >it to the user in the same way as the 'help' function does. Unlike
> >'cat',
> >that outputs the text in the current window, the one I'm looking for
> >should
> >work as 'help' that, for example, in emacs ess opens a new buffer, in
> >the
> >linux terminar displays it as the more command, etc. Is there any
> >function
> >that does this?
> >
> > [[alternative HTML version deleted]]
> >
> >______________________________________________
> >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.
>
[[alternative HTML version deleted]]
More information about the R-help
mailing list