search for: revalu

Displaying 20 results from an estimated 36 matches for "revalu".

Did you mean: revalue
2009 Sep 06
3
[LLVMdev] Equivalent types
...NumParams() || FTy->getParamType(i) == Params[i]->getType()) && "Calling a function with a bad signature!") Actually I'm trying to load functions from .bc file and use them in the code that I'm building with IRBuilder. I found that function parameter type is %struct.reValue* and the type of the value that I'm passing to the function is {i32,i64}* But these types are quite equivalent, because of the definition: %struct.reValue = type { %"struct.reValue::$_44", %"struct.reValue::$_46" } %"struct.reValue::$_44" = type {...
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 Grosje...
2005 Jul 27
1
unable to source a .R file using RJava
...user.name="noone", passwd="pass"){ R <- 2 R } .java code to invoke the evaluate method ----------------------------------------- package com.icoria.rwrapper; import org.omegahat.R.Java.ROmegahatInterpreter; import org.omegahat.R.Java.REvaluator; public class JavaRCall3 { /** * want to see if I can eval a t.test command like what I would run in the * R command line */ static public void run_sourceRFile(REvaluator e, ROmegahatInterpreter interp) { /* produces a core */ System.err.println(&q...
2005 Jul 20
2
unable to call R t-test from Java
...her Web references you can point me to would be appreciated. Thank you, Laura O'Brien Application Architect --------------------------- code ------------------------------ package org.omegahat.R.Java.Examples; import org.omegahat.R.Java.ROmegahatInterpreter; import org.omegahat.R.Java.REvaluator; public class JavaRCall2 { /** * want to see if I can eval a t.test command like what I would run in the * R command line */ static public void runTTestByEval_cores(REvaluator e, ROmegahatInterpreter interp) { /* produces a core */ System.err.print...
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..."); org.omegahat.R.Java.REvaluator e = new REvaluator(); Object val = e.eval("objects()"); if (val != null) { String[] objects = (St...
2004 May 17
1
Problem with package SJava
...: 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 REvaluator(); Object val = e.eval("objects()"); if (val!= null) { String[] objects = (String[]) val; for (int i = 0; i< objects.length; i++) { System.out.println("("+i+") " + objects[i]); } } } } I have in return: An unexpected exc...
2002 Sep 03
2
Problem with SJava sample "JavaRCall"
Hi, I am trying to run the example "JavaRCall" with SJava 0.65 and R1.5.1 under Windows NT4.0. Although loadLibrary("RInterpreter") worked successfull, the following error occurs: "Exception breakpoint occurred at line 65 of ROmegahatInterpreter.java. java.lang.UnsatisfiedLinkError: boolean org.omegahat.R.Java.ROmegahatInterpreter.initR(java.lang.String[]) boolean
2009 Sep 06
0
[LLVMdev] Equivalent types
...amType(i) > == Params[i]->getType()) && "Calling a function with a bad > signature!") > Actually I'm trying to load functions from .bc file and use them in > the code that I'm building with IRBuilder. > > I found that function parameter type is %struct.reValue* and > the type of the value that I'm passing to the function is {i32,i64}* > > But these types are quite equivalent, because of the definition: > %struct.reValue = type { %"struct.reValue::$_44", > %"struct.reValue::$_46" } > %"struct.r...
2003 Aug 20
0
SJava in R
...0x40232040 Library=/usr/java/j2sdk/j2sdk1.4.2/jre/lib/i386/client/libjvm.so NOTE: We are unable to locate the function name symbol for the error just occurred. Please refer to release documentation for possible reason and solutions. Current Java thread: at org.omegahat.R.Java.REvaluator.call(Native Method) at org.omegahat.R.Java.REvaluator.call(REvaluator.java:137) at org.omegahat.R.Java.REvaluator.call(REvaluator.java:127) at org.omegahat.R.Java.REvaluator.call(REvaluator.java:118) at JavaRCall.main(JavaRCall.java:43) Dynamic libraries: 080480...
2003 Oct 23
0
Problem w/ SJava package
...n=(null)+0x4039A074 Library=/opt/sunjdk/1.4.1_01-b01/jre/lib/i386/client/libjvm.so NOTE: We are unable to locate the function name symbol for the error just occurred. Please refer to release documentation for possible reason and solutions. Current Java thread: at org.omegahat.R.Java.REvaluator.call(Native Method) at org.omegahat.R.Java.REvaluator.call(REvaluator.java:137) at org.omegahat.R.Java.REvaluator.call(REvaluator.java:127) at org.omegahat.R.Java.REvaluator.call(REvaluator.java:118) at SJ.<init>(SJ.java:26) at SJ.main(SJ.java:39) Dynamic libraries: 08048000-0804e00...
2002 Sep 24
1
Threaded R-Java
...utility that allows multi-threaded data analysis using S+. We want to migrate it to R. However, the guy who preceded me here left some documentation indicating that he couldn't implement it because R didn't support threading. Also, he noted that the R-Java interface(org.omegahat.R.Java.REvaluator) wasn't thread safe even if R was. Can anybody who knows about this comment on it? I'd like to know if this is completed(his documentation claimed it was a work in progress?) Thanks a bunch, Nathan Whitehouse Programmer Shaw/Shaulsky Lab Baylor College of Medicine Hou...
2004 Jun 08
3
SJAVA error
...lass REvalSample { public static void main(String[] args) { String[] rargs = { "--slave", "--vanilla" }; System.out.println("Java??R???????????"); ROmegahatInterpreter interp = new ROmegahatInterpreter( ROmegahatInterpreter.fixArgs(rargs), false); REvaluator e = new REvaluator(); Object val = e.eval("x <- sin(seq(0, 2*pi, length=30))"); val = e.eval("x * 2.0"); if (val != null) { double[] objects = (double[]) val; for (int i = 0; i < objects.length; i++) { System.err.println("(" + i + ") &q...
2005 Jul 27
0
core dump when call t.test via the "RJava --example --gui-none" interface
...[omegahat->R] t.test (c (1,2,3), c(4,5,6)) Unexpected Signal : 11 occurred at PC=0xFE0C2B44 Function=[Unknown. Nearest: JVM_Close+0x6BFC4] Library=/imports/filer04/tools/app/j2sdk1.4.1_02-20030305/j2sdk1.4.1_02/jre/lib/sparc/client/libjvm.so Current Java thread: at org.omegahat.R.Java.REvaluator.eval(Native Method) at org.omegahat.R.Java.REvaluator.eval(REvaluator.java:90) at org.omegahat.R.Java.REvaluator.eval(REvaluator.java:40) at org.omegahat.R.Java.Examples.JavaRPrompt.main(JavaRPrompt.java:26) Dynamic libraries: 0x10000 /tools/app/j2sdk1.4.1_02-20...
2006 May 06
1
R et Java
...tatic void main(String [] args) { String [] rargs = {"--slave", "--vanilla"}; System.out.println("Sample program to call R engine from Java"); ROmegahatInterpreter interp = new ROmegahatInterpreter(ROmegahatInterpreter.fixArgs(rargs),false); REvaluator e = new REvaluator(); Object val = e.eval("demo()"); val = e.eval("x * 2.0"); if (val != null) { double[] objects = (double[])val; for (int i=0; i<objects.length; i++) { System.err.println("("+i+&q...
2004 Apr 23
0
SJava embedded in R
...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 base omegahat interpreter libraries from which the ROmegahatInterpreter & REvaluator classes descend.(Found in those jar files) on Unix-like systems, the LD_LIBRARY_PATH has to point to the shared objects(so)/dynamic link...
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) Copyright (C) 2009 The R Foundation for Statistical Computing ISBN 3-900051-07-0 R is free software and comes with ABSOLUT...
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:
2002 Jan 19
0
Troubles in SJava
...S : Win95 R Version : 1.4.0 JDK Version : 1.3.0 Hi, R-statisticians all over the world. I'm trying to handling R objects in the Java code as follows: [c:\myjava\R2JTest.java] import org.omegahat.R.Java.*; class R2JTest { public static void main(String args[]) { REvaluator e = new REvaluator(); Object val = e.eval("objects()"); int i; if (val != null) { String[] objs = (String[])val; for (i = 0; i < objs.length; i ++) { System.err.println("(" + i + ")" +...
2012 Dec 10
1
qplot error -
Dear friends, I'm on windows, R 2.15.1 - library(ggplot2) #compiled under 2.15.2 qplot(mpg, wt, data=mtcars, colour=cyl) # directly from the qplot help Error in rename(x, .base_to_ggplot, warn_missing = FALSE) : could not find function "revalue" Is that due to a .1 lack in R All the best Troels Ring
2005 Jul 26
1
Anybody have a binary version of SJava for rw2001 (Windows)?
...ven’t a clue what it could mean): ---------Making package SJava-------------- Building JNI header files... Extracting the classes from Environment.jar /jdk1.3/bin/jar: not found RForeignReference /jdk1.3/bin/javah: not found ROmegahat Interpreter /jdkl.3/bin/javah: not found REvaluator /jdkl.3/bin/Javah: not found RManualFunctionActionListener /jdk1.3/bin/javah: not found /jdkl.3/bin/javah: not found adding build stamp to DESCRIPTION running src/Makefile.win (cd .. ; ./configure.win c:/PROGRW1/R/rw200l) /configure.win: not found make[3]: *** [conf ig] Error 127...