Comments (3)
It seems that your'e not working off a proper tar ball - did you run mkdist
to create a distribution tar ball?
from rjava.
I have had the same problem install the package rJava into R-3.1.0 on a Centos 6 environment.
Eventually worked out that my CLASSPATH variable was defined and it NOT include ".". By default java looks in the current directory if CLASSPATH has no value. If it is defined, java does not look in the current directory, hence the class getsp was not found. By defining CLASSPATH using:
export CLASSPATH=.:/my_other_classpath_directory
my installation of the rJava package worked
cheers,
Keith
from rjava.
@gitkit7 thanks! That was indeed the actual issue here. I have added a work-ardound for cases where CLASSPATH
is already overridden by the user. Note that setting CLASSPATH
will cause issues down the road anyway (it may invoke a different class loader and cause confusion), so it's better to unset it.
from rjava.
Related Issues (20)
- wrong class in method signatures HOT 5
- R freezes when executing rJava::.jinit() HOT 1
- how to load jar by J()? HOT 1
- Termination Error with rJava When Executing Complex R Code from Java Application HOT 3
- rJava issue HOT 1
- Struggling with rJava and dependent packages in Rstudio Mac M1. Error: package or namespace load failed for ‘rJava’: HOT 3
- Segmentation Fault when try re.eval("library('forecast')") HOT 2
- *** caught segfault *** address 0xfffffffffffffff8, cause 'invalid permissions' HOT 1
- long vectors not supported yet: memory.c:3888 HOT 1
- Please submit rJava 1.0-8 to CRAN HOT 1
- Error: "Sorry, parameter type 'X' is ambiguous or not supported." HOT 2
- Error: package or namespace load failed for ‘rJava’ HOT 2
- Can't install from source package on Mac OS 14.2 HOT 1
- rJava install error on macOS M2 with homebrew-installed java HOT 1
- Issue in the installation of rJava: Cannot compile a simple JNI program HOT 2
- Licensing uncertainty HOT 2
- Can objects generated by rJava be saved locally? HOT 2
- R session Aborted Rjava HOT 1
- Is remote Java debugging supported? HOT 1
- StackOverflowError in "process reaper" thread when using .jcall() or J() with java.lang.Runtime and exec HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rjava.