floresfdev / instagram-r-scraper

Instagram scraper in R using a third-party Java lib.
5 stars 1 forks source link

Error / image not found #1

Open janooosh opened 5 years ago

janooosh commented 5 years ago

Hey, thanks for this!

However, i get the following error:

Fehler: package or namespace load failed for ‘rJava’: .onLoad in loadNamespace() für 'rJava' fehlgeschlagen, Details: Aufruf: dyn.load(file, DLLpath = DLLpath, ...) Fehler: kann shared object '/Library/Frameworks/R.framework/Versions/3.5/Resources/library/rJava/libs/rJava.so' nicht laden: dlopen(/Library/Frameworks/R.framework/Versions/3.5/Resources/library/rJava/libs/rJava.so, 6): Library not loaded: /Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home/lib/server/libjvm.dylib Referenced from: /Library/Frameworks/R.framework/Versions/3.5/Resources/library/rJava/libs/rJava.so Reason: image not found

Thanks for help!

floresfdev commented 5 years ago

Hey, thanks for reporting this issue!

Seems to be a problem with the Java setup in R, please check out a similar problem discussed in this GH issue (in particular: R CMD javareconf).

Keep in mind this code is almost 2 years old, and the Instagram GUI is different for sure. If you still have issues, I'd recommend to take a look at the original Java scrapper, or even better, the PHP version which seems up-to-date and working well.