powered by
Load data from text file.
carga.datos( nombre.filas = TRUE, ruta = NULL, separador = ";", sep.decimal = ",", encabezado = TRUE, deleteNA = TRUE, preview = FALSE )
A data.frame object with the information of a file.
a logical value indicating whether the file contains the names of the rows as its first column.
the name of the file which the data are to be read from.
the field separator character.
the character used in the file for decimal points.
a logical value indicating whether the file contains the names of the variables as its first line.
a logical value indicating if rows with NA should be removed.
a logical value indicating if only load the first 10 rows.
Diego Jimenez <diego.jimenez@promidat.com>
tf <- tempfile() write.table(iris, tf, sep = ";", dec = ",", row.names = FALSE) carga.datos(ruta = tf, nombre.filas = FALSE, preview = TRUE)
Run the code above in your browser using DataLab