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

2019-01-02 Thread Duncan Murdoch
On 02/01/2019 1:36 p.m., Nicolás San Martín wrote: 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. It is

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

2019-01-02 Thread Nicolás San Martín
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 () escribi

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

2019-01-02 Thread Nicolás San Martín
Yes, the file.show() is good enough. Thanks El mié., 2 ene. 2019 a las 13:48, Duncan Murdoch () escribió: > 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 th

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

2019-01-02 Thread Jeff Newmiller
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

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

2019-01-02 Thread Duncan Murdoch
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 'he

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

2019-01-02 Thread Duncan Murdoch
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 'he

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

2019-01-02 Thread Nicolás San Martín
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 buffe