Displaying 20 results from an estimated 9000 matches similar to: "Threaded R-Java"
2004 May 17
1
Problem with package SJava
Hello all,
I'm trying to run SJava package (0.65 modified downloaded from :
http://stats.math.uni-augsburg.de/iPlots/alpha/) on windows NT 2000 and R
1.8.01. I have also downloaded the PDF Calling R from Java and when I want
to execute the following code:
import org.omegahat.R.Java.*;
import java.io.*;
public class Essai{
public static void main (String [] args) {
REvaluator e = new
2004 Apr 23
0
SJava embedded in R
Hi,
Here's some suggestions for troubleshooting the
install.
The CLASSPATH needs to be
$SJAVA_HOME/org/omegahat/Jars/Environment.jar,
$SJAVA_HOME/org/omegahat/Jars/antlr.jar
$SJAVA_HOME/org/omegahat/Jars/jas.jar
$SJAVA_HOME.
This allows the java compiler/interpreter to find
1)the ROmegahatInterpreter and REvaluator classes(in
a org/omegahat/R/Java tree under SJava
2)& the
2004 Feb 23
1
HTTP Post connections in R
Hi,
Is there any existing functions to open an HTTP
connection and HTTP POST some R data?
like
<form method="post" enctype="multipart/form-data">
etc.
</form>
but within R.
Thanks,
=====
Nathan Whitehouse
Statistics/Programming
Baylor College of Medicine
Houston, TX, USA
nlwhitehouse at yahoo.com
http://rho-project.org: rho- open source
2004 Feb 26
2
save() size in XDR
Dear R-devel,
Is there a way to find the size in bytes of a save()
command --before-- the file has been saved?
If not, can anyone point me to some resources on XDR
so I can find a way to calculate it?
Thanks,
=====
Nathan Whitehouse
Statistics/Programming
Baylor College of Medicine
Houston, TX, USA
nlwhitehouse@yahoo.com
http://rho-project.org: rho- open source web services for R.
2005 Jul 20
2
unable to call R t-test from Java
Hello,
My colleague and I would like to write Java code that invokes R to do a simple TTest. I've included my sample java code below. I tried various alternatives and am unable to pass a vector to the TTest method. In my investigation, I tried to call other R methods that take vectors and also ran into various degrees of failure. Any insight you can provide or other Web references you
2005 Apr 21
3
Objects in R
Hi,
A few comments from a fairly experienced R user who
worked for several years on a R-based bioinformatics
analysis framework.
I don't want to misrepresent anyone's views, but...
There are real disadvantages to the
"objects-as-C-structs" and functions/methods which
"mutate" based on argument type. i.e. S4.
(1)Novices simply don't understand it.
2006 May 06
1
R et Java
Bonjour,
Je developpe une application java et je veux integrer du code R dans mon programme . Le programme de test que j’ai fait est :
import org.omegahat.R.Java.*;
public class REvalSample {
public static void main(String [] args) {
String [] rargs = {"--slave", "--vanilla"};
System.out.println("Sample program to call R engine from
2003 Mar 03
1
Q: Best-Practice for Swing-GUI calling R-code on Windows?
org.omegahat.R.Java.REvaluator e = new
org.omegahat.R.Java.REvaluator();
Object val = e.eval("objects()");
if(val != null) {
String[] objects = (String[])val;
for(int i = 0 ; i < objects.length; i++)
System.err.println("("+i+") " + objects[i]);
}
hello,
thanks to Philippe Grosjean's work I finally got SJava working (on Windows
XP!!), so that I can
2005 Jul 27
1
unable to source a .R file using RJava
I am unable to source a ".R" file using RJava. I tried a couple of different tests:
1) using java and the evaluation method core dumps
2) using ./RJava --example --gui-none to invoke source core dumps.
3) The line of R works if I go directly thru R and not RJava.
Version info and code are below. Any help would be appreciated.
--Laura O'Brien
Applications
2004 Jun 08
3
SJAVA error
Hi
I'm trying to use SJava and I have troubles.
I try to run examples from "Calling R from Java"
but,I have an error that
"fatal error: enable to open the base package"
I heard SJAVA bug,
so,could you send me your compiled SJava package with the modified
REmbed.c because
in Windows i'm not able to recompile!!!
--example
package org.omegahat.R.Java;
public
2004 May 06
0
Re: R web interfaces
cashaw at bcm.tmc.edu,
youngas7 at yahoo.com
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Hi,
First, does anyone think it is a good idea to put up
a web server site similar to Phillippe Grosjean's site
for GUIs?
To answer foobar's question-
There are a several web 'interfaces', with different
focuses and degrees of sophistication.
Apologies to the
2004 May 07
0
Re: R web interfaces
Hi,
> I don't see any replies to this, but it does seem
> quite a good idea,
> especially as the existing information (eg in the
> FAQ) is rather thin
> and probably incomprehensible to most. I have no
> time to do it myself,
> though.
Someone in this lab(Andrew Young, Chad Shaw or I)
would be willing to put together a page. I think it's
a good way to collect
2004 May 07
0
Re: Sessioned R web interfaces
Frank,
Both RZope and Rho solve this problem.
RZope
(http://www.analytics.washington.edu/statcomp/projects/rzope/)solves
it by using *nix's fork command, which takes as much
time as a memcopy.
Rho(http://rho-project.org) solves it by maintaining
a pool of idling R processes, which it maintains
active & can pull to do a calculation immediately.
Both of these are pretty
2010 Feb 08
2
Error on start R in server
Hello all,
(Thank for your reply)
I have a web-application in Apache Tomcat, when i start R in this
application,
I used packe RSJava
Code
ROmegahatInterpreter interp;
String [] rargs = {"--no-save"};
REvaluator e;
interp = new ROmegahatInterpreter (
ROmegahatInterpreter.fixArgs(rargs),false );
e =new REvaluator ();
Errors
================
R version 2.10.1 (2009-12-14)
2001 Jun 19
3
RJava lib error
Hello all!
I recently install R-1.2.3 and Omegahat SJava pkg
(formely Java pkg) 0.62 and tried running the examples
by issuing "scripts/RJava --example --gui=none" and I
got the following:
Error in dyn.load(x, as.logical(local),
as.logical(now)) :
unable to load shared library
"/usr/lib/R/library/ctest/libs/ctest.so":
ld.so.1:
2003 Oct 23
0
Problem w/ SJava package
Hello,
Seems like it is almost working properly. I was able to run examples calling
R from Java successfully for the java code below. However, some commands,
such as "objects" when not commented out, give me the following error? If
you could point me to the correct place to find a solution, I would much
appreciate it. I am new to the R community and not sure where is the
appropriate
2006 May 06
5
R and Java
Hello
I m tryng to execute the code below and I have a problem with the R-Java connection.:
import org.omegahat.R.Java.*;
public class REvalSample {
public static void main(String [] args) {
String [] rargs = {"--slave", "--vanilla"};
System.out.println("Sample program to call R engine from Java");
ROmegahatInterpreter interp = new
2005 Jul 26
1
Anybody have a binary version of SJava for rw2001 (Windows)?
I am not a techie and have been struggling 2 days solid to try and install
SJava (the source from http://www.omegahat.org/RSJava/). Does anybody have a
binary file for me (I am Windows XP and rw2001)? I have tried installing
Perl, mingwin and the cygwin tools but still no luck. When I try “R CMD
INSTALL c:\SJava_0.78-0.tar.gz” I get the following (and haven’t a clue what
it could mean):
2002 Aug 15
0
SJava, another UnsatisfiedLinkError
Thanks for Professor Ripley and Brad's reply.
UnsatisfiedLinkError: SJava.dll is gone. But, I have another problem. I
have been trying to figure out, but, without success.
Here is my test.java:
import java.io.*;
import org.omegahat.R.Java.REvaluator;
public class test {
public static void main(String args[]) {
System.out.println("Hello...");
2003 May 15
0
Re: list GRASSLIST: List Message Rejected
I appologise sincerly, will not happen again.
mr. Ripley: Your suggestions were helpful, thanks. I figured I haven not
installed the devel RPMS.
>From: Prof Brian Ripley <ripley at stats.ox.ac.uk>
>To: listproc at baylor.edu
>CC: grass-request at baylor.edu, Miha STAUT <mihastaut at hotmail.com>
>Subject: Re: list GRASSLIST: List Message Rejected
>Date: Thu, 15 May