babel: R: allow forcing of colnames without hline
This commit is contained in:
parent
7f3e64bfb4
commit
10a07a644b
|
@ -121,7 +121,7 @@ called by `org-babel-execute-src-block'."
|
|||
(insert "\n"))
|
||||
(format "%s <- read.table(\"%s\", header=%s, row.names=%s, sep=\"\\t\", as.is=TRUE)"
|
||||
name transition-file
|
||||
(if (and (eq (second value) 'hline) colnames-p) "TRUE" "FALSE")
|
||||
(if (or (eq (second value) 'hline) colnames-p) "TRUE" "FALSE")
|
||||
(if rownames-p "1" "NULL")))
|
||||
(format "%s <- %s" name (org-babel-R-quote-tsv-field value))))
|
||||
|
||||
|
|
Loading…
Reference in New Issue