I prepared an emtpy dataframe in Julia (I am working with Atom) with
res_df = DataFrame( Col_1 = String, Col_2 = UInt8, Col_3 = Float16)
then I populated it and I saved it with
CSV.write("df.tsv", res_df; delim='\t', append=false)
It works and I can open it with Julia. However, I need to open the file with R:
o_df <- read.table( "df.tsv", header = TRUE, row.names = NULL, dec = ".", sep = "\t", fill = TRUE, stringsAsFactors = FALSE, comment.char = "" )
The object is created but one or more of the line must have some problems with the delimiters or the quotations because I can’t visualize the object and R actually crashes. I have seen on the internet that there is an issue with atom/julia and R.
Is there a save way to export dataframes from Julia to R?