similar to: Help on executing R from java

Displaying 20 results from an estimated 700 matches similar to: "Help on executing R from java"

2006 Jul 09
0
help on executing JRClient examples
Dear All, I've installed Rserve and I've met in the bin directory of R and I've runn it and it appears //ready to answer the querie// and i've installed the Jrclient and I've put it on the desktop in the directory Jrclient and i've installed JDK and sur I'have the R language. Now when I compile the Jrclient exeamples : I've opened the concole commande and I
2009 Jun 12
0
JRclient.RSrvException Exception: Handshake
Hi all, first of all: Sorry for my bad englis, and now the Question: I have some problems with running R from Java. First i tried using rJava (JRI). But the examples didnt work properly. Now im trying to establish a connection by using Rserve and JRclient (RF503). I have the following code, which i`ve found: ------------------------------------------------------------------------ public
2007 May 20
0
Problems accessing Rconnect
Hi. I nearly have Rserve working.... I have the dialog box which says.. Rserve: Ok, read to answer queries. Having read all i can find, I followed the guidance given on http://rosuda.org/Rserve/example.shtml I tried to follow the first example but I am getting an error descirbed below. My IDE looks like this: http://www.nabble.com/file/p10705244/ide.jpg However, when I try and compile my
2005 Aug 22
1
Fetching Warning Messages
Hi, I am facing one problem of fetching R warning messages in Java Code using Rserve. It is easier to trap R Error messages by using catching RSrvException. I came to know one way of fetching R Warning messages, i.e. using "withCallingHandlers", below is my Java Program, which uses withCallingHandlers of R : import org.rosuda.JRclient.*;
2009 Mar 26
0
Using JRclient in java application
Hi, I'm wondering if anyone can help me. I'm writing java application that using JRclient and Rserve to communicate with R. I want to get response from R for command: x <- rbind(matrix(rnorm(100, sd = 0.3), ncol = 2),matrix(rnorm(100, mean = 1, sd = 0.3), ncol = 2)) kmeans(x, 2, 22, algorithm = "Hartigan-Wong") and put result of kmeans() function in my TextArea.I've
1999 Jan 20
1
JBuilder Reload buffers? confusion (any update?)
Hi, We've got some Java projects that are being developed on both Unix and NT and we're struggling with JBuilder 2.0 and its "File has been externally updated, reload buffers?" messages. Has anyone found a fix? Is it a bug in JBuilder? i.e should I save my hair and not spend any more time investigating/trying to fix this problem? More info: Our NT machines access files from
2008 Sep 09
1
passing graph image data from remote Rserve
Hello, I am using Rserve to create a dedicated computational back-engine. I generate and pass an array of data to a java application on a separate server. I was wondering if the same is possible for an image. I believe that Rserve supports passing certain R objects and JRclient can cast these objects into their Java counterparts. If I generate a barplot in R (remotely), can I pass the graph
2013 Apr 15
4
Rails' scaffold controller generator - should it test json format also?
(Forgive me if this is incorrect, because I recognized this initially as something in Rails 4.0.0.beta1 and have just done a cursory look over the latest generator code.) Noticed in Rails 4 that the test generated for a scaffold controller only tests the html format instead of both html and json:
1999 Jan 20
1
JBuilder Reload buffers? confusion (any update?) (PR#12876)
aideen@persimmon.co.uk wrote: > > Hi, > > We've got some Java projects that are being developed on both Unix and > NT and we're struggling with JBuilder 2.0 and its "File has been > externally updated, reload buffers?" messages. Has anyone found a fix? > Is it a bug in JBuilder? i.e should I save my hair and not spend any > more time investigating/trying
2013 Mar 14
0
Display custom links above top level arrays using Jbuilder
I have a custom JSON response in which I display a collection of 15 posts along with related data like comments etc., as part of an API call. I am displaying the entire collection using Jbuilder . json.array!(@posts) do |post| .. .. end I want to display pagination links above the response of the 15 posts, in order to get the next set of posts with the appropriate next set of next page and
2008 Jul 02
1
Extracting regression coef. and p-values in JRClient
Hi there, I am using JRClient to build logistic regression model in the following manner : Rconnection c = new Rconnection(); c.eval("KSN<-read.table(\"/Users/amine/Documents/Research/ Tools/R/D2R1.txt\",header=T,sep=\",\")"); c.eval("result <- glm(Nausea ~ Kaletra*Sustiva, family = binomial(link = logit), data =KSN)");
2014 Apr 14
0
Foundation & Authlogic
Seems I can get either Foundation or Authlogic to work but not both - After bundle install when I do a rails g foundation:install I get the following: C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activerecord-4.1.0/lib/acti ve_record/dynamic_matchers.rb:26:in `method_missing': undefined local variable o r method `inheritable_attributes' for ActiveRecord::Base:Class (NameError)
2004 Dec 18
0
Still the big Icecast problem!
Easy... when I made this java applet : http://rbg.online.stalig.net/jplayer/radio-bro-gwened.html I used a signed lib from jorbis without modifying it. I just made a subclass of JOrbisPlayer which change the behaviour for what I wanted. I can provide my wall JBuilder project for those interested to use it. Easy way: - just change the html file to feed it with your ogg stream url - do what you
2004 Sep 21
1
windows program over a samba share
Hi, I don't know if this is possible, but I'd like to install a window program (in the specific JBuilder Personal) over a samba share, and then to mount a network share as a disk from windows clients, so they can use the program. Is it possible? Any idea on how to share windows programs from a linux server? Thanks, Luca -- Luca Ferrari, fluca1978@infinito.it
2012 Sep 15
10
Versioning of Views; Our Approach
My friend Ben Willis and I have developed a gem for the versioning of Rails views. https://github.com/bwillis/versioncake The versioning is done by the naming convention. Image the following series of files : show.v3.json.jbuilder show.v2.json.jbuilder show.v1.json.jbuilder create.v2.json.jbuilder create.v1.json.jbuilder The developer pre-defines all view versions in their config. When a
2012 Sep 18
2
NoMethodError with rake db:migrate
Hi! First of all, this is my first application on Rails, and i''m stuck at a migration. i created a demo app (the demo_app from michael hartl''s tutorial) as usual: rails new demo_app, rails generate scaffold User name:string email:string, and when i do rake db:migrate, this stack appears: rake db:migrate --trace ** Invoke db:migrate (first_time) ** Invoke environment
2006 Jul 17
0
Handshake exception in Rserve [Broadcast]
We had something similar, and as far as I recall the problem turned out to be that we had not set the config file to allow remote connections. This would probably be better put on the Rosuda mailing list: http://mailman.rz.uni-augsburg.de/mailman/listinfo/stats-rosuda-devel Hope this helps, Matt Wiener -----Original Message----- From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces
2010 Dec 06
0
Error with Rserv
Hi I get this error with Rserve: eval failedeval failed, request status: R parser: syntax erroreval failed, request status: R parser: input incompleteorg.rosuda.REngine.Rserve.RserveException: eval failed at org.rosuda.REngine.Rserve.RConnection.eval(RConnection.java:233) at se.ucr.qrep.RGenerator.generateReport(RGenerator.java:45) Anyone know what it could mean? -- View this message in
2006 Oct 11
0
Accessing R from Java [Broadcast]
I've had good luck with Rserve. http://stats.math.uni-augsburg.de/Rserve/ Hope this helps, Matt -----Original Message----- From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of fuad Sent: Tuesday, October 10, 2006 9:58 PM To: R-help at stat.math.ethz.ch Subject: [R] Accessing R from Java [Broadcast] Hello All, I am Fuad from Indonesia. I
2011 Mar 09
0
java+R+serverEval failed+request status: control pipe to master process is closed/broken
hi: when I run the example program on windows XP+NetBeans: Rserve_0.6-3\Rserve\src\client\javanew\Rserve\test\test.java { // test control commands (works only when enabled and in Rserve 0.6-0 and higher only) - must be the last test since it closes the connection and shuts down the server System.out.println("* Test control commands (this will fail if control commands are disabled)