gstudio
gstudio copied to clipboard
write_population() only outputting a single line in text format
Attempting to use write_population() with the "text" output option does not work with either my own dataset or the builtin arapat data. Using the latest version of gstudio, R version 4.0.3, Ubuntu linux.
data(arapat)
write_population(arapat, "genetable.csv")
Produces a csv file with just this one line:
2,5,2,17,26.38014,-109.12633,02:02,01:01,03:03,01:02,,,02:02,03:13
It appears to be the last line of the dataframe, but with some of the text converted to numbers. The same thing happens to my data.