我是 R 新手,我想从 PDF 中提取数据。在某些情况下,我按照教程设置 rJava,然后尝试运行代码:
pacman::p_load(
rJava,
tabulizer,
tidyverse)
Df <- extract_tables(
file = "C:/Users/afons/Epidemiology2021/BOLETIM EPIDEMIOLÓGICO COVID_FMV_26Julho-8Agosto2021.pdf",
method = "decide",
output = "data.frame")
当我这样做时,我收到以下错误:
Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, :
java.lang.IllegalAccessException: class RJavaTools cannot access a member of class java.util.ArrayList$Itr (in module java.base) with modifiers "public"
这可能是什么原因造成的?这是一个 3 页 PDF,第 2 页上的表格带有标题
请帮忙