Variable: ob-R-transfer-variable-table-without-header
ob-R-transfer-variable-table-without-header is a variable defined in
ob-R.el.gz.
Value
"%s <- local({\n con <- textConnection(\n %S\n )\n res <- utils::read.table(\n con,\n header = %s,\n row.names = %s,\n sep = \"\\t\",\n as.is = TRUE,\n fill = TRUE,\n col.names = paste(\"V\", seq_len(%d), sep =\"\")\n )\n close(con)\n res\n })"
Documentation
R code used to transfer a table defined as a variable from org to R.
This function is used when the table does not contain a header.
Source Code
;; Defined in /usr/src/emacs/lisp/org/ob-R.el.gz
(defconst ob-R-transfer-variable-table-without-header
"%s <- local({
con <- textConnection(
%S
)
res <- utils::read.table(
con,
header = %s,
row.names = %s,
sep = \"\\t\",
as.is = TRUE,
fill = TRUE,
col.names = paste(\"V\", seq_len(%d), sep =\"\")
)
close(con)
res
})"
"R code used to transfer a table defined as a variable from org to R.
This function is used when the table does not contain a header.")