Hello Stephan. I’ve deleted this message and open an issue on the DataFrames package. I’ve mistaken and write() behave properly (I think).
But I think there’s still a problem with the writetable() for single backslashes. You can find a detailed explanation here : https://github.com/JuliaStats/DataFrames.jl/issues/885 <https://github.com/JuliaStats/DataFrames.jl/issues/885> Let me know if it’s not clear enough. Lionel > Le 12 nov. 2015 à 19:13, Stefan Karpinski <[email protected]> a écrit : > > Can you provide some example code – printing to the terminal or a file should > be the same. > > On Thu, Nov 12, 2015 at 3:26 AM, Lionel du Peloux <[email protected] > <mailto:[email protected]>> wrote: > > Hi, > > Same problem here, but a little bit different : I want to write a latex > string to a .txt file, including backslashes (to make an automatic graph with > latex labels from a .csv generated in Julia). > > For instance, I want to write "{$ \lambda $}" in a txt file. In julia I can > escape the backslash like this "{\$ \\lambda \$}" and println("{\$ \\lambda > \$}") gives me a nice "{$ \lambda $}" in the REPL. > > However, I can't find a syntax to write a simple backslash in a text file : > the same string used with Julia's write function gives me "{\$ \\lambda \$}" > in the file. > > Any advice ? > > Thanks, > Lionel >
