Description Usage Arguments Details Value Author(s) See Also Examples
Outputs the objects, concatenating the representations, and sandwiches the output between XML tags.
1 2 3 |
... |
R objects (see Details for the types of objects allowed). |
sep |
character string to insert between the objects to print. |
trim |
used to convert numeric data to character using |
digits |
used to convert numeric data to character using |
nsmall |
used to convert numeric data to character using |
width |
used to convert numeric data to character using |
na.encode |
used to convert numeric data to character using |
x
scientific |
used to convert numeric data to character using |
odfCat is an analog to cat and is useful for
producing output in user-defined functions. It converts its arguments to
character strings, concatenates them, separating them by the given
'sep=' string. It then sandwiches the text between <text:p> tags,
and then outputs them. Note that this will produce paragraphs and cannot
sequentially produce sentences within a paragraph.
cat uses an internal function, so there will be some differences between cat and odfCat. For example, factors are naively converted to character and numeric data are converted to character.
Since the text is embedded in ODF tags escaped characters
(e.g. \n) don't have any effect. Exceptions are single- and double-quotes.
The paragraph uses the current paragraph style. The document formatting.odt in the package's examples directory illustrates the process of changing the appearance of the paragraph.
a character strng of class odfCat
Max Kuhn
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.