R write dataframe column to csv having leading zeroes

后端 未结 7 1061
故里飘歌
故里飘歌 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=",")
    
    0 讨论(0)
提交回复
热议问题