Mudanças entre as edições de "Linguagem R:Manipulação de arquivos"
Ir para navegação
Ir para pesquisar
(Criou página com '= Leitura de arquivo texto = f <- 'd:/projeto/dados_da_pesquisa.txt' t <- scan(f, what="character", sep=';', encoding="UTF-8")') |
|||
| Linha 2: | Linha 2: | ||
f <- 'd:/projeto/dados_da_pesquisa.txt' | f <- 'd:/projeto/dados_da_pesquisa.txt' | ||
t <- scan(f, what="character", sep=';', encoding="UTF-8") | t <- scan(f, what="character", sep=';', encoding="UTF-8") | ||
| + | |||
| + | == Exportar Data.Frame para EXCEL (.CSV) == | ||
| + | |||
| + | write.csv(Your DataFrame,"Path where you'd like to export the DataFrame\\File Name.csv", row.names = FALSE) | ||
Edição das 16h33min de 22 de junho de 2020
Leitura de arquivo texto
f <- 'd:/projeto/dados_da_pesquisa.txt' t <- scan(f, what="character", sep=';', encoding="UTF-8")
Exportar Data.Frame para EXCEL (.CSV)
write.csv(Your DataFrame,"Path where you'd like to export the DataFrame\\File Name.csv", row.names = FALSE)