readtext icon indicating copy to clipboard operation
readtext copied to clipboard

an R package for reading text files

Results 36 readtext issues
Sort by recently updated
recently updated
newest added

I encountered an error when reading in a (text) file with `[1]` in the name: ``` > readr::write_file("test", file="test[1].txt") > readtext::readtext("test[1].txt") Error in list_files(file, ignore_missing, TRUE, verbosity) : File ''...

I am undertaking a media content analysis and have downloaded DOCX files from nexus.com and am trying to import them into R. I have unzipped the file, and imported them...

[Not sure whether it's 'kosher' to make suggestions for the documentation in github issues, but trying anyway] The documentation of quanteda (and readtext) is impressive. But there are often small...

I recently learn that the TEI XML format is becoming popular in the linguistics community. In this format, texts are saved in small chunks with associated meta information (e.g. speaker),...

### Error This should parse out the filepaths, not filepaths _and_ filenames. ```r > (rt3 list.files(path = paste0(DATA_DIR, "txt/movie_reviews/"), recursive = TRUE) [1] "neg/neg_cv000_29416.txt" "neg/neg_cv001_19502.txt" "neg/neg_cv002_17424.txt" [4] "neg/neg_cv003_12683.txt" "neg/neg_cv004_12641.txt" "pos/pos_cv000_29590.txt"...

bug

Apologies for what follows: ``` Package: readtext Check: tests New result: ERROR Running ‘testthat.R’ [9s/9s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > Sys.setenv("R_TESTS" = "") > > library(testthat)...

I am now trying to extract a large number of word files (1500) placed in one folder, using readtext (after creating a list using list.files) I am getting errors with...

Hi All I'm new to R, so I appreciate your help and patience. I am not able to install readtext. I've copied below the console information as well as my...

Let's create example files: ``` csv1 readtext::readtext("/tmp/csv2.csv", docid_field = "doc_id", text_field = "text") readtext object consisting of 1 document and 2 docvars. # Description: df[,4] [1 × 4] doc_id text...

It's amazing that readtext could read multiple files all at once and import into R environment. Is there a way to write them all into split files? Is it possible...