Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
154 views
in Technique[技术] by (71.8m points)

r - Cannot install the staplr package

I want to install the staplr package but I got this error:

Installing package into ‘C:/Users/DELL/DATA/Documents/R/win-library/3.5’ (as ‘lib’ is unspecified)

There is a binary version available but the source version is later: binary source needs_compilation staplr 2.9.0 3.1.1 FALSE

installing the source package ‘staplr’

trying URL 'https://cran.rstudio.com/src/contrib/staplr_3.1.1.tar.gz' Content type 'application/x-gzip' length 4483778 bytes (4.3 MB) downloaded 4.3 MB

  • installing source package 'staplr' ... ** package 'staplr' correctement décompressé et sommes MD5 vérifiées ** R ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices converting help for package 'staplr' finding HTML links ... fini get_fields html
    idenfity_form_fields html
    input_filepath html
    output_filepath html
    overwrite html
    remove_pages html
    rename_files html
    rotate_pages html
    rotate_pdf html
    select_pages html
    set_fields html
    split_from html
    split_pdf html
    staple_pdf html
    staplr html
    ** building package indices ** testing if installed package can be loaded *** arch - i386 Error: package or namespace load failed for 'staplr': .onLoad failed in loadNamespace() for 'staplr', details: call: NULL error: .onLoad failed in loadNamespace() for 'rJava', details: call: fun(libname, pkgname) error: No CurrentVersion entry in Software/JavaSoft registry! Try re-installing Java and make sure R and Java have matching architectures. Erreur : le chargement a échoué Exécution arrêtée *** arch - x64 ERROR: loading failed for 'i386'
  • removing 'C:/Users/DELL/DATA/Documents/R/win-library/3.5/staplr' In R CMD INSTALL Warning in install.packages : installation of package ‘staplr’ had non-zero exit status

The downloaded source packages are in ‘C:UsersDELLAppDataLocalTempRtmp8WD3YUdownloaded_packages’*

Anyone have an idea how to solve the problem?

question from:https://stackoverflow.com/questions/65917059/cannot-install-the-staplr-package

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...