diff --git a/man/melt_table.Rd b/man/melt_table.Rd index 2d5455d0..a6d9be0e 100644 --- a/man/melt_table.Rd +++ b/man/melt_table.Rd @@ -91,9 +91,13 @@ and each field is in the same position in every line. It first finds empty columns and then parses like a fixed width file. } \examples{ +fwf <- readr_example("fwf-sample.txt") +writeLines(read_lines(fwf)) +melt_table(fwf) + ws <- readr_example("whitespace-sample.txt") -writeLines(read_file(ws)) -melt_table(ws) +writeLines(read_lines(ws)) +melt_table2(ws) } \seealso{ \code{\link[=melt_fwf]{melt_fwf()}} to melt fixed width files where each column diff --git a/man/read_table.Rd b/man/read_table.Rd index 0578ec59..8abaf684 100644 --- a/man/read_table.Rd +++ b/man/read_table.Rd @@ -128,8 +128,8 @@ characters between columns, and the lines can be of different lengths. } \examples{ ws <- readr_example("whitespace-sample.txt") -writeLines(read_file(ws)) -read_table(ws, col_names = FALSE) +writeLines(read_lines(ws)) +read_table(ws) } \seealso{ \code{\link[=read_fwf]{read_fwf()}} to read fixed width files where each column