I'm stuck, I think, trying to use R which I barely learned 5 years ago to read and parse a word document.
I'm looking at the following webpage: https://www.r-bloggers.com/2020/07/how-to-read-and-create-word-documents-in-r/
So I do the following and get no error:
install.packages("officer")
install.packages("dplyr")
library(officer)
library(dplyr)
I then try:
d <- read_docx("file.docx")
and it tells me it could not find the function "read_docx" I thought this function was defined in the library "officer" which it didn't have any problem installing and when I do a ls("packages:officer") I see the function "read_docx" is defined.
Any idea why it doesn't see the function and how I can fix it?