asWordTable: Convert an R Table to a WordProcessingML Table

View source: R/word.R View source: R/word.R

asWordTableR Documentation

Convert an R Table to a WordProcessingML Table

Description

This function accepts an R object of class table, and creates a corresponding WordProcessingML compliant XML node.

Usage

asWordTable(tb, parent = newXMLNode("w:p", namespaceDefinitions = WordXMLNamespaces))

Arguments

tb

the table to be converted.

parent

an XML (WordProcessingML) node which the table node should be added to as child.

Value

This function returns the parent XML node specified by parent, after the table node has been constructed and added as a child.

Author(s)

Duncan Temple Lang

References

ISO.Microsoft OOXML Specification

See Also

toWordprocessingML


duncantl/RWordXML documentation built on Nov. 23, 2023, 4:23 p.m.