Commit 37658072 authored by Alberto Ramos's avatar Alberto Ramos

Use DelimitedFiles to read variables from table

parent 545c4d59
...@@ -145,8 +145,8 @@ This function is called by `org-babel-execute-src-block'." ...@@ -145,8 +145,8 @@ This function is called by `org-babel-execute-src-block'."
"TRUE" "FALSE")) "TRUE" "FALSE"))
(row-names (if rownames-p "1" "NULL"))) (row-names (if rownames-p "1" "NULL")))
(if (= max min) (if (= max min)
(format "%s = readcsv(\"%s\")" name file) (format "%s = DelimitedFiles.readdlm(\"%s\",\',\')" name file)
(format "%s = readcsv(\"%s\")" (format "%s = DelimitedFiles.readdlm(\"%s\",\',\')"
name file)))) name file))))
(format "%s = %s" name (org-babel-julia-quote-csv-field value)))) (format "%s = %s" name (org-babel-julia-quote-csv-field value))))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment