2012/10/31 Roberto de Pinho <[email protected]>: > tbm sem sucesso: > > ata1 <- read.delim(url,header=TRUE,sep="\t", fill=TRUE, fileEncoding = > "UTF-16", as.is=T) > ata1 <- read.delim(url,header=TRUE,sep="\t", fill=TRUE, fileEncoding = > "UTF-16") > ata1 <- read.delim(url,header=TRUE,sep="\t", fill=TRUE, fileEncoding = > "UTF-16LE", as.is=T) > ata1 <- read.delim(url,header=TRUE,sep="\t", fill=TRUE, fileEncoding = > "UTF-16LE")
Se estiver usando um sistema operacional que tenha o programa sed instalado (qualquer distribuição do Linux), uma tentativa pode ser "limpar" o arquivo, removendo os 0s: sed -e 's/\x00//g' teste.csv > teste2.csv sed -e 's/\xff\xfe//' teste2.csv > teste3.csv _______________________________________________ R-br mailing list [email protected] https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br Leia o guia de postagem (http://www.leg.ufpr.br/r-br-guia) e forneça código mínimo reproduzível.
