Hi,
I've upgraded the sub version of 2020.3 ( can't upgrade further yet ) to allow R Tool and pdftools.
I've installed the R Installer three times but I still receive the following error on all R Tools:
R (34) Error in loadNamespace(name) : there is no package called 'pdftools'
R (34) Execution halted
R (34) The R.exe exit code (1) indicated an error.
The following is how I configured the R Tools:
# read in the PDF file location which must
# be in a field called FullPath
data <- read.Alteryx("#1",mode="data.frame")
# Use pdf_text() function to return a character vector
# containing the text for each page of the PDF
txt <- pdftools::pdf_text(file.path(data$FullPath))
# convert the character vector to a data frame
df_txt <- data.frame(txt)
# output the data frame in steam 1
write.Alteryx(df_txt, 1)
I appreciate any assistance with debugging.
Thank you,
Chris