pjreddie / darknet

Convolutional Neural Networks
http://pjreddie.com/darknet/
Other
25.68k stars 21.32k forks source link

Cannot install rJava in R studio #917

Open discoverdata opened 6 years ago

discoverdata commented 6 years ago

Hi everyone, When I issue the following command install.packages("rJava", lib="/usr/local/lib/R/site-library")

I get the following error. I am on Linux Mint

================= Error =================== gcc -std=gnu99 -o libjri.so Rengine.o jri.o Rcallbacks.o Rinit.o globals.o rjava.o -shared -L/usr/lib/jvm/default-java/jre/lib/amd64/server -ljvm -Wl,--export-dynamic -fopenmp -Wl,-Bsymbolic-functions -Wl,-z,relro -L/usr/lib/R/lib -lR -lpcre -llzma -lbz2 -lz -lrt -ldl -lm /usr/bin/ld: cannot find -lpcre /usr/bin/ld: cannot find -llzma collect2: error: ld returned 1 exit status Makefile.all:35: recipe for target 'libjri.so' failed make[2]: Leaving directory '/tmp/RtmpbvcdZ9/R.INSTALL606d664547e2/rJava/jri/src' make[2]: [libjri.so] Error 1 Makefile.all:19: recipe for target 'src/JRI.jar' failed make[1]: Leaving directory '/tmp/RtmpbvcdZ9/R.INSTALL606d664547e2/rJava/jri' make[1]: [src/JRI.jar] Error 2 Makevars:14: recipe for target 'jri' failed make: *** [jri] Error 2 ERROR: compilation failed for package ‘rJava’

georoen commented 5 years ago

This has nothing to do with YOLO. I recomend @pjreddie to close this issue. sry bro