Thank you Bert and Rui. Everything mentioned on your posts was OK with
the exception of a typo in my original post where [a] was instead
[[a]]. I stumbled one something that stated if i delete the
sub-directory and create it it again might work. In my case once that
was done, it worked.
Thanks aga
Hello,
I would add that it's probably better to assign
for(i in seq_along(file.names)){
A[[i]] <- extract_tables(file.names[i])
}
(It's a list so double [[, not just [).
Hope this helps,
Rui Barradas
Às 01:45 de 23/09/2018, Bert Gunter escreveu:
for(i in 1:length(file.names)){
A[i] <-
You probably want pattern = "\\.PDF" , as "." has a special meaning for
regex's. However, that really shouldn't make any difference.
Obvious questions:
1. dir() returns a vector of file names. Are they pdf's "PDF" or "pdf"
(case matters!) ?
2. extract.tables() almost certainly wants the full path
Hi All,
I am using the R Tabulizer package to extract tables from a set of pdf
files. Tabulizer creates a list of data frames; each corresponds to a
table in a file. My aim is to create a list of lists, one for each
file.i have 8 files
The code below kept giving me the error "Error in
normalizePat
4 matches
Mail list logo