search for: maxl18

Displaying 6 results from an estimated 6 matches for "maxl18".

2009 Mar 19
4
Import R-output into Java
Hello, I want to import R-output via Rserve to Java, especially for the function ctree from the package party. Rserve is working properly. Yet, I only get the predictions with the Java code try{ RConnection c = new RConnection(); ... c.voidEval("modell <- ctree(...)"); REXP y = c.eval("nodes(modell,1)[[1]]$prediction"); ...
2009 Mar 12
3
set size of a plot
Hi, I have the following R-code: pdf(file="test.pdf") hist(rcauchy(100)) dev.off() How can I set the size of the histogram in my pdf? I tried to do with par(...) but I didn't find the right parameter yet. Thanks, Max -- View this message in context: http://www.nabble.com/set-size-of-a-plot-tp22477083p22477083.html Sent from the R help mailing list archive at Nabble.com.
2009 Apr 02
1
Start Klimt from R
Hello, I want to start Klimt from S.Urbanek directly from R. In the description of klimt is the following R-Code: source("klimt.r"); d<-read.table("mydataset.txt"); t<-tree(OUT2~.,d); Klimt(t,d); One should make sure, that the klimt.jar is in the working directory of R (in my case "C:\Program FilesR\R-2.8.1" I think). But although I copied klimt.jar into
2009 Mar 10
0
Install JRI?
Hi all, Who can help me to install JRI I downloaed the file "JRI_0.3-6.tar" and although I read the documentation I don't know what to do now. I use Windows XP, Java 1.5.0_17 and R 2.8.1. Thanks for your response, Max -- View this message in context: http://www.nabble.com/Install-JRI--tp22430947p22430947.html Sent from the R help mailing list archive at Nabble.com.
2009 Mar 11
1
RServe
Dear all, I'm trying to use R-functions from Java. I want to use the Package Rserve. Everthing is installed and I can run my Java-testprogramm. ... Rconnection r = new Rconnection(); double[] d = r.eval("rnorm(10)").asDoubleArray(); ... But now I get always arrays with ten "0.0", which is not correct I suppose, that is is a problem from R, because at the fist time (last
2009 Mar 13
0
ctree from Java via Rserve
Hi, I want to run the R-function ctree (package party) from Java over Rserve with the following Java-Code: try{ RConnection v = new RConnection(); v.voidEval("library(party)"); v.voidEval("try(load(\"C:\\Documents and Settings\\daten2.rda\"))"); v.voidEval("try(pdf(\"C:\\Documents and Settings\\test4.pdf\"))"); v.voidEval("plot