Displaying 4 results from an estimated 4 matches for "doc_in".
Did you mean:
doc_id
2023 Dec 29
1
Help request: Parsing docx files for key words and appending to a spreadsheet
...setwd(tk_choose.dir())
doc_path <- list.files(getwd(), pattern = ".docx", full.names = TRUE)
files <- list.files(getwd(), ".docx")
files
length(files)
## This works to here - obtain a list of docx files in directory 'TEST
with 9 files'. However, the next line
doc_in <- read_docx(files)
Results in this error:Error in filetype %in% c("docx") &&
grepl("^([fh]ttp)", file) :'length = 9' in coercion to 'logical(1)'
No idea how to debug that.
Even when trying Calum's suggestion with officer:
content <- office...
2023 Dec 29
1
Help request: Parsing docx files for key words and appending to a spreadsheet
? Fri, 29 Dec 2023 20:17:41 +0000
Andy <phaedrusv at gmail.com> ?????:
> doc_in <- read_docx(files)
>
> Results in this error:Error in filetype %in% c("docx") &&
> grepl("^([fh]ttp)", file) :'length = 9' in coercion to 'logical(1)'
help(read_docx) says that the function only imports one docx file. In
order to read mult...
2009 Jun 17
2
weird permissions issue
...valid users = @it @eng @mycompany @webdev
force group = mycompany
create mask = 0664
directory mask = 0775
## recycle bin config ##
vfs objects = recycle
recycle:repository = .Recycler
recycle:keeptree = Yes
recycle:versions = Yes
[Doc_IN]
comment = MFG, Eng Doc deposit
inherit acls = Yes
path = /data/docdeposit
read only = No
valid users = mainshare @it @eng @mycompany @webdev
force user = docdepositor
force group = mycompany
create mask = 0664
directory mask =...
2023 Dec 29
2
Help request: Parsing docx files for key words and appending to a spreadsheet
Hi Andy:
I don?t have an answer but I do have what I hope is some friendly advice. Generally the more information you can provide, the more likely you will get help that is useful. In your case you say that you tried several packages and they didn?t do what you wanted. Providing that code, as well as why they didn?t do what you wanted (be specific) would greatly facilitate things.
Happy