R write dataframe column to csv having leading zeroes

后端 未结 7 1056
故里飘歌
故里飘歌 2020-12-21 04:21

I have a table that stores prefixes of different lengths.. snippet of table(ClusterTable)

ClusterTable[ClusterTable$FeatureIndex == \"Prefix2\",\'Feat

7条回答
  •  有刺的猬
    2020-12-21 05:00

    Save the file as a csv file, but with a txt extension. Then read it using read.table with sep=",":

    write.csv(ClusterTable,file="My_Clusters.txt")
    read.table(file=My_Clusters.txt, sep=",")
    

提交回复
热议问题