Giter Club home page Giter Club logo

Comments (7)

leeper avatar leeper commented on May 27, 2024

@leopoldinho A couple of general suggestions:

  • ghit::install_github(c("leeper/tabulizerjars", "leeper/tabulizer"), INSTALL_opts = "--no-multiarch", verbose = TRUE) will give you some more details on what is failing.
  • Make sure rJava is installed first, that seems to be causing problems for some people.
  • The png package also seems to cause problems on some platforms, so I would recommend trying to install that first, too.

from tabulapdf.

leopoldinho avatar leopoldinho commented on May 27, 2024

Thanks for your answer. I think the problem is indeed with rJava which seems not to work even if I install it first.

That's what the error message I get (part of it).

  • installing source package 'tabulizerjars' ...
    ** R
    ** inst
    ** preparing package for lazy loading
    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.
    ERROR: lazy loading failed for package 'tabulizerjars'
  • removing 'C:/Users/Raffo/Documents/R/win-library/3.3/tabulizerjars'
    ERROR: dependency 'tabulizerjars' is not available for package 'tabulizer'
  • removing 'C:/Users/Raffo/Documents/R/win-library/3.3/tabulizer'

I've seen elsewhere on the web that this seems to be a pretty common problem with that package. Any suggestion on how to fix it?

Thanks a lot for any help.

from tabulapdf.

leeper avatar leeper commented on May 27, 2024

It might be your JAVA_HOME environment variable. Try something like Sys.setenv(JAVA_HOME = "C:/Program Files/Java/jdk1.8.0_92") maybe?

from tabulapdf.

leopoldinho avatar leopoldinho commented on May 27, 2024

Thanks for the suggestion but even that doesn't seem to work for me, unfortunately

from tabulapdf.

aayush-nangru avatar aayush-nangru commented on May 27, 2024

@leopoldinho - Were you able to get around the issue? I get the same error while trying to install tabulizer. I am able to install rJava though.

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.
ERROR: lazy loading failed for package 'tabulizerjars'

from tabulapdf.

leopoldinho avatar leopoldinho commented on May 27, 2024

No, unfirtunately I could not solve the problem and had to give up Tabulizer

from tabulapdf.

aayush-nangru avatar aayush-nangru commented on May 27, 2024

Ah okay. Thanks for your response.

from tabulapdf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.