You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How can we avoid this in literate analysis can be annoying for code like the example below:
#+begin_src julia :session :results output :exports all
# reading:
fname = "../data/example.dat"
f1 = open(fname) # IOStream(<file example.dat>)
data = readlines(f1)
# 3-element Array{Union(ASCIIString,UTF8String),1}:
# "this is line 1.\r\n"
# "this is line 2.\r\n"
# "this is line 3."
for line in data
println(line)
# process(line)
end
close(f1)
#+end_src
The exported results have this behavior:
#+RESULTS:
#+begin_example
"../data/example.dat"
IOStream(<file ../data/example.dat>)
3-element Array{String,1}:
"this is line 1."
"42; 3.14"
"this is line 3."
this is line 1.
42; 3.14
this is line 3.
#+end_example
Any idea? Best regards!
The text was updated successfully, but these errors were encountered:
How can we avoid this in literate analysis can be annoying for code like the example below:
The exported results have this behavior:
Any idea?
Best regards!
The text was updated successfully, but these errors were encountered: