[R] Function for displaying arbitrary text as in 'help'.

Duncan Murdoch murdoch@dunc@n @ending from gm@il@com
Wed Jan 2 17:48:40 CET 2019


On 02/01/2019 8:47 a.m., Nicolás San Martín 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?
> 

The file.show() function will display a text file without all the bells 
and whistles of the help system; maybe it will be good enough.

Duncan Murdoch



More information about the R-help mailing list