I'm trying to read an EPUB file in r. It is placed in the working directory. I wrote this code:
library(epubr)
library(tm)
x <- epub("Perchisuonalacampana.epub") # parse entire e-book
But I obtained the following error:
Error in file.exists(path) :
file name conversion problem -- name too long?
(My EPUB file contains a novel.)
EDIT
getwd()
[1] "C:/Users/Standard/Downloads/aaa"
list.files()
[1] "dtm from pdf.R" "Perchisuonalacampana.epub"