[R] R2HTML output shows NULL

Greg Snow 538280 at gmail.com
Fri Apr 27 23:52:08 CEST 2012


Jeff, there are also many times that people are told not to post HTML,
so this case would be a bit of a Catch 22.  Also some of us (well me
at least, I expect others have as well) have experienced this already
and fully understand what is being discussed without needing an
example (and for this case I don't know that those who don't already
understand what she is saying would benefit much from the example
without the output).

Erin,

I have seen the same thing (as well as all the output from the hist
function being printed and other things that are usually invisible)
and have not found a way to suppress/hide the usually invisible
output.

An alternative is the txtStart and friends functions in the
TeachingDemos package (which were inspired by, but not as fancy as,
the R2HTML package).  Like R2HTML those functions will copy your
session to a file (currently plain text, enhanced text (can be post
processed with the enscript program to provide color and embedded
graphics), or MS Word documents (via the R2wd package), .rtf files
(via the rtf package) are planned).  These functions by default do not
include output that is returned invisibly.

On Fri, Apr 27, 2012 at 2:06 PM, Jeff Newmiller
<jdnewmil at dcn.davis.ca.us> wrote:
> Haven't you been asked to provide an example of code that illustrates your problem often enough by now to anticipate the request in your first post?
> ---------------------------------------------------------------------------
> Jeff Newmiller                        The     .....       .....  Go Live...
> DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
>                                      Live:   OO#.. Dead: OO#..  Playing
> Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
> /Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
> ---------------------------------------------------------------------------
> Sent from my phone. Please excuse my brevity.
>
> Erin Hodgess <erinm.hodgess at gmail.com> wrote:
>
>>Hello R People:
>>
>>I am using the R2HTML program for the first time (actually yesterday),
>>and I have a question, please:
>>
>>I am getting NULL in the webpage in several places, presumably where
>>NULL would appear on the screen.
>>
>>How would I go about fixing that, please?
>>
>>Thanks,
>>Erin
>>
>>
>>--
>>Erin Hodgess
>>Associate Professor
>>Department of Computer and Mathematical Sciences
>>University of Houston - Downtown
>>mailto: erinm.hodgess at gmail.com
>>
>>______________________________________________
>>R-help at r-project.org mailing list
>>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.
>
> ______________________________________________
> R-help at r-project.org mailing list
> 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.



-- 
Gregory (Greg) L. Snow Ph.D.
538280 at gmail.com



More information about the R-help mailing list