Added as.is=TRUE argument to read.table so that strings are kept as strings and not converted to factors

This commit is contained in:
Dan Davison 2009-05-15 00:32:17 -04:00
parent a62776cabe
commit 0947747759
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ R process in `litorgy-R-buffer'."
(with-temp-file transition-file
(insert (orgtbl-to-tsv value '(:sep "\t" :fmt litorgy-R-quote-tsv-field)))
(insert "\n"))
(litorgy-R-input-command (format "%s <- read.table(\"%s\")" name transition-file)))))
(litorgy-R-input-command (format "%s <- read.table(\"%s\", as.is=TRUE)" name transition-file)))))
(defun litorgy-R-to-elisp (func-name)
"Return the result of calling the function named FUNC-NAME in