Decompress gz file using R

后端 未结 5 1185
逝去的感伤
逝去的感伤 2020-11-27 04:52

I have used ?unzip in the past to get at contents of a zipped file using R. This time around, I am having a hard time extracting the files from a .gz file whic

5条回答
  •  眼角桃花
    2020-11-27 05:01

    library(vroom)
    columns3 = c('A', 'B',...) ## define column names
    Data1<- vroom(".../XXX.tsv",col_names = columns3)
    

    works fine with tsv.gz

提交回复
热议问题