read.org.table.RdRead an emacs “Org” table (in file or text) by
read.table().
read.org.table(file, header = TRUE, skip = 0,
encoding = "native", fileEncoding = "", text, quiet=FALSE, ...)a file name, a file or other connection.
logical indicating if the org table has header line (in
the usual "|"-separated org table format).
integer number of initial lines to skip.
to be used in the main
readLines(file, encoding=encoding) call.
if file is a file name, i.e., a
character string, and fileEncoding is not the
empty string, file(file, "rt", encoding = fileEncoding) will
be used.
instead of file, a character or
string (of a few lines, typically).
logical to suppress the message
which is signalled when no nrows=* has been specified and the
automatic number of rows is smaller than 95% of the rows / non-header
lines of the file.
further arguments passed to read.table.
You should not use encoding (but possibly
fileEncoding!) here, as we do not call
read.table on file (but on a
textConnection).
TODO: It should be easy to extend read.org.table() to also
work for some of the proposed Markdown formats for tables.
Please write to maintainer("sfsmisc") or open a
github issue if you are interested.
Org-Mode Manual on tables, https://orgmode.org/manual/Tables.html
Org tutorial for tables, https://orgmode.org/worg/org-tutorials/tables.html
CRAN package ascii
can write org tables.
read.table