similar to: Using JRI and Java 1.6 on MAC OS X

Displaying 20 results from an estimated 60000 matches similar to: "Using JRI and Java 1.6 on MAC OS X"

2009 Feb 28
2
Using JRI and Java 1.6 on MAC OS X
Dear R-Help, I am trying to get JRI (the rJava interface allowing Java to connect to R) to work. I was able to run it a week ago when I was doing some testing using Java 1.5. However, I am developing a GUI application using some of the new Java 1.6 features and I just can't get JRI to work with this setup. Here is what I get: Cannot find JRI native library! Please make sure that the JRI
2007 Jul 12
1
JRI problem on 64bit Linux
Sorry if this isn't the correct list, but I couldn't find any mailing lists on the JRI site. I am able to install JRI on a 32 bin linux machine without any problem, but I am unable to isntall on a 64 bit machine. I have R installed with the correct option, R_HOME is set up and libR.so is in there. However, I get the following error when running "./configure", any help is
2011 Feb 07
1
rjava does not install
I am on a fedora server on which I am not root privileges. I am trying to locally install rJava... Here are my steps : $uname -a Linux 2.6.18-194.17.4.el5 #1 SMP Mon Oct 25 15:50:53 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux $ java -version java version "1.6.0_22" Java(TM) SE Runtime Environment (build 1.6.0_22-b04) Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode) $ echo
2018 Mar 28
0
R and Java 10 ➜ rJava not able to build
I am not a Mac user, but I do use Linux and I would recommend not running R with sudo unless you are an admin ninja. That defensive practice would render the answer to your question moot. It is possible that your problem may have started with inappropriate use of sudo in configuring java, but configuring Java is not on-topic here. -- Sent from my phone. Please excuse my brevity. On March 27,
2018 Mar 28
1
R and Java 10 ➜ rJava not able to build
Hi Jeff!! I really don?t know if running R CMD javareconf with sudo has posed a problem here, now or in the past. What I know is sometimes it?s the only way to really config it, if I don?t run with sudo, in the end it asks me if I want to overwrite the configuration from root override rw-r--r-- root/admin for /usr/local/Cellar/r/3.4.4/lib/R/etc/Makeconf? (y/n [n]) y override rw-r--r--
2018 Mar 28
0
R and Java 10 ➜ rJava not able to build
Hi Ista! Thanks a lot for your support!! It puzzles me because it?s the first time that something like this happens to me. I?m aware that root and user don?t have the same environmental variables here. However, I don?t know why root chooses Java 9 and my user chooses Java 10. Isn?t Java 10 ready to be used as a root? It seems that we are going to have to wait until rJava releases a new
2018 Mar 27
7
R and Java 10 ➜ rJava not able to build
Hi! I?m on macOS 10.13.3 and just installed the new Java 10 using Homebrew Cask. I also have installed R with Homebrew. Everything seems to work fine, however I just get different outputs if I run sudo R CMD javareconf or R CMD javareconf. With sudo I get pointed to Java 9 and without sudo I get pointed to Java 10. I really don?t know why. Without sudo: $ R CMD javareconf
2009 May 07
0
compiling 64 bit JRI.dll with 64bit XP
Hi all, I was able to run my Java-R program using a 32-bit jdk on my 64-bit machine; however I wish to use the 64-bit jdk so my Java program can take advantage of the larger memory capabilities etc. I'm currently trying to compile JRI_0.4-1 on a 64-bit XP I got to a point that I was able to generate a 32-bit dll, but I don't know exactly how to modify it so that it's able to generate
2007 Jan 08
0
Using JRI Calling R function from Java
Hey guys. I have Installed and running JRI from Java and it works. Using : java -cp jri.jar; MainApp.java The problem is How do I calling R function that need R library I have tried these with my Java program : x = re.eval("glm( y ~ x1 + x2, family = poisson)"); String resultString = x.asString(); but it did'n't work, resultString variable
2007 Sep 13
3
Someone Using Java/R Interface--- JRI ?
Hi all, I am writing R code and I want to interface with JAVA i.e. I want to call R from JAVA. That's why i have installed JRI on my machine. There is also documentation available in "Javadoc". But as i am very new to JAVA and well as R, I don't understand much of it. If someone is using this package i.e. JRI, please let me know whether i am going in right direction or not.
2008 Jan 19
1
a problem when i use JRI package in java
I used JRI package in java to connect R ,and want to use R do some work fo me. but most thing is ok, but there is a problem for me these is some code of the program: re.eval("library(lattice)"); y=re.idleEval("print(1:10)"); y=re.eval("feq <- read.delim('c:/minist.txt',header=T)");
2010 Apr 28
2
JRI API: sourcing from Java String
Hi all, I have been using 'source(filename)' to load R code from a file object. However, now I have a special case where I don't have a file since I am loading an R script from a Jar file. I would like to avoid creating temporary files. Is there a way to use the 'source' command with a Java String? Are there any other, better ways to do that? Ralf
2008 Apr 21
0
Problem with graphic exhibition in Java using JRI
Dear all I am working on a Java class which calls R functions. To do that, I use JRI. Everything works fine up to now. The only problem I have is the following: when I call the command plot(….) from java, a blank "R Graphics" window appears and if I click on it the program does not answer any more. Could anyone please tell me what should I do to fix this problem? Thanks in advance.
2006 Sep 28
2
calling R from within Java, using jri
Hi, I want to call R from within Java, using jri as per http://www.rosuda.org/software/jri/ So I am following the instructions in the README file for JRI 0.2-4. I have run 'sh configure.win' and 'make' and they seemed to be successful. (See below for the output from make, for example.) But when I try 'run.bat rtest' (with and without R command line arguments) the output
2009 Mar 30
0
Problem in S4 object displaying from within a Java application using JRI
I am using JRI (Java R Interface) library in order to call R from within my Java application. But since the "rmu1" and "rmu2" ,see the following code, are objects of type S4 once i run the application the value of Null will be returned for both of them. On this regard, i would appreciate it if anyone can tell me how i am going to display and/ or convert these objects to Java
2007 Jan 31
0
Fwd: Unable to load rJava - Undefined Symbol GetCreatedJavaVMs
Could some pls help with this error message. Pls see below thanks Rupak ---------- Forwarded message ---------- From: Rupak Khurana <khurana.rupak@gmail.com> Date: Jan 31, 2007 2:46 PM Subject: Unable to load rJava - Undefined Symbol GetCreatedJavaVMs To: simon.urbanek@r-project.org Simon I am unable to load rJava. Pls see the log below. Any help is welcome and appreciated. thanks
2010 Aug 13
1
Installing rJava fails on Gentoo (amd64) with Sun JDK - checking JNI data types... error
Installing rJava fails consistently, whether installed via the command line as below, or through "install.packages( 'rJava' )", and whether 0.84 or 0.85 is used, with the message :- "checking JNI data types... configure: error: One or more JNI types differ from the corresponding native type. You may need to use non-standard compiler flags or a different compiler in order to
2008 Jun 03
1
R-2.7.0 rJava installation failure on x86_64
attempting to install rJava on R-2.7.0, x86_64 platform, config.log shows the following error: configure:3880: checking whether JNI programs can be compiled configure:3898: gcc -m64 -std=gnu99 -o conftest -g -O2 -I/path/to/x86-64-linux/jdk-1.6.0_06/jre/../include conftest.c -L/path/to/x86-64-linux/jdk-1.6.0_06/jre/lib/amd64/server -L/path/to/x86-64-linux/jdk-1.6.0_06/jre/lib/amd64
2007 Feb 04
1
Java Bindings on a Mac
I had to make some changes (sorry no diff available) to "configure" in 0.9.9 of the bindings so that I could compile them for OS X 10.4.8. Essentially I replaced the the paths to jni.h with /System/Library/Frameworks/JavaVM.framework/Headers. It compiled without error and created both libxapian_jni.so and xapian_jni.jar in the "built" subdirectory when I ran "make
2010 Aug 19
4
How to compile 64-bit Wine 1.3.0 under Mac OS X 10.6.4
Hello, Sorry if this has been addressed elsewhere, if so please let me know where! I'd like to compile 64-bit Wine 1.3.0 via GCC 4.5.1 (I use GCC 4.5.1 according to the instructions here: http://wiki.winehq.org/Wine64) on my Mac running Mac OS X 10.6.4 with a goal of taking advantage of the 8.0 GB of RAM I've got. I set CFLAGS="-march=native -m64", CXXFLAGS="-march=native