Mercurial > repos > ecology > vigiechiro_bilanenrichipf
diff BilanEnrichiPF.R @ 2:911f80dce38d draft default tip
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/vigiechiro commit 4707473e9991d095310f475a54e041c95accd873
author | ecology |
---|---|
date | Wed, 05 Jun 2019 13:48:45 -0400 |
parents | 775809e2f6c8 |
children |
line wrap: on
line diff
--- a/BilanEnrichiPF.R Fri Apr 26 12:19:29 2019 -0400 +++ b/BilanEnrichiPF.R Wed Jun 05 13:48:45 2019 -0400 @@ -21,15 +21,15 @@ -IdC2=fread(args[1]) +IdC2=fread(args[1],encoding="UTF-8") if(substr(IdC2$`nom du fichier`[1],2,2)!="a") { # print("Protocole non conforme, ce script doit etre lance uniquement pour un protocole Point Fixe") print("Wrong protocol, please only use this tool for a \'Point Fixe\' protocol.") }else{ - refPF=fread(args[2]) - GroupList=fread(args[3]) + refPF=fread(args[2],encoding="UTF-8") + GroupList=fread(args[3],encoding="UTF-8") IdC2$ConfV[is.na(IdC2$ConfV)]="" @@ -232,6 +232,6 @@ saveWidget(SummHTMLH,"output-hourly.html") # write.csv2(SummPartH,"output-hourly.tabular",row.names=F) - write.table(SummPartH,"output-hourly.tabular",row.names=F,sep="\n") + write.table(SummPartH,"output-hourly.tabular",row.names=F,sep="\t") }