Displaying 20 results from an estimated 300 matches similar to: "yajb - java-ruby bridge"
2006 Nov 24
0
Calling Java in Rails (JRuby, jrb, yajb) - real-world experience?
Hi,
I''d be interested to hear from people who have used either JRuby or one
of the Java-Ruby bridges like jrb or yajb to call out to Java classes
from Rails.
Which bridge did you use, how did it work out? Which one do you
recommend?
Is anybody running Rails on JRuby on a production server, or is Rails
on JRuby still to experimental for that?
Thanking you in advance,
Elmar
2007 Jan 16
1
calling java API from ruby
ok, i want to be able to send some data from my rails app to a CRM. The
library that defines the API for talking to the CRM is written in java.
I got JRuby working, which is pretty cool, but to my understanding i
would have to convert my ruby on rails app to a jruby on rails app
which, as far as i''ve understood, is different deal altogether and
would be set up more like a java server
2017 Aug 22
1
Error in .jnew(“java/io/FileOutputStream”, jFile)
I don't know R absolutely, but I have to do this work for my diploma. So I'm sorry for strange message below. Please, help me anybody decides this issue.
If you need any information, I'll show you all what you need.
**error**:<br>
> #save
> #csv
>file.create("C:\\Users\\Sapl\\Desktop\\NATA\\code\\Results\\Created by R\\ab_ret_banks_short_form_10.05.2006.csv")
2002 Mar 20
0
Question re:S4 classes and design; clashing classes?
On Wed, 20 Mar 2002, John Chambers wrote:
> It wasn't entirely clear what your design goals were, but the general
> question of comparing functional method languages (S, CLOS, Dylan) and
> OOP languages (Java, etc) is of much interest to me, so here are some
> general comments. Maybe we can then iterate on your example, with or
> without r-devel.
I'll keep it on r-devel
2012 Nov 08
0
FW: Interfacing R and Weka
-----Original Message-----
From: Patrick Connolly
Sent: Friday, 9 November 2012 11:29 a.m.
To: Peter Alspach
Subject: Interfacing R and Weka
> version
_
platform x86_64-unknown-linux-gnu
arch x86_64
os linux-gnu
system x86_64, linux-gnu
status
major 2
minor 15.2
year 2012
month 10
day 26
svn rev
2010 Dec 02
1
openNLP package error
Hello list,
I seem to have a problem with the openNLP package, I'm actually stuck in
the very beginning. Here's what I did:
> install.packages("openNLP")
> install.packages("openNLPmodels.de", repos =
"http://datacube.wu.ac.at/", type = "source")
> library(openNLPmodels.de)
> library(openNLP)
So I installed the main package as
2009 Feb 02
9
ActiveRecord Unexplainable SystemStackError - Only in WEBrick
This SystemStackError is driving me crazy. It only takes place when
testing with WEBrick - I can''t reproduce it with any tests. It is
caused by calling the "missing" id method (base.rb:2435) on my
ActiveRecord class.
WEBrick and my tests are running as the same user, with a `ulimit -s`
of 10240. Plus the query works sometimes so I don''t think this
matters.
2011 Dec 09
1
Issue installing rjb, could not create MakeFile
Hello,
I''m having some problems when try to install rjb i get this message
C:\Users\PC1090\Documents\RJB\rjb-1.3.8>ruby setup.rb config
---> bin
<--- bin
---> lib
<--- lib
---> ext
C:/Ruby187/Ruby1.8.7/bin/ruby
"C:/Users/PC1090/Documents/RJB/rjb-1.3.8/ext/extconf.rb"
checking for jni.h... no
*** C:/Users/PC1090/Documents/RJB/rjb-1.3.8/ext/extconf.rb failed
2012 Nov 26
1
Class Not found execption
I am trying to call a r file named es.r which have lotes of R functions.
These R functions are internally calling java functions by using ".jnew()"
and ".jcall()". I have added
necessary jar's to the Classpath and I am able to run es.r from command
prompt .
But when I tried to call it from anoter r file using source()
getting Exception
Error in
2009 Jun 04
1
About classifier in RWeka
Hi everyone,
I have trouble to use RWeka, I tried: (w=weather dataset, all
preditors are nominal)
> m<-J48(play~., data=w)
> e<-evaluate_Weka_classifier(m,cost = matrix(c(0,2,1,0),
+ ncol = 2),numFolds = 10, complexity = TRUE,seed = 123,
+ class = TRUE)
it gives me exactly what I want, but when I tried the same classifier
on the other published data: (iris dataset has all numeric
2012 Jun 26
0
clean Email format data
Dear all
I am now going to do some text analysis using R.
However, the data is very noisy that I need to clean it first.
I don't have much experience in the text cleaning process. Is anyone would
provide help on this?
If you are able to provide some similar code which was done before would be
greatly appreciated.
May content is mainly the Feedback data through
*Phone call record*:
2011 Feb 10
3
Using RJB in a Rails 3 app?
I''m trying to interact with a java library (Aspose Slides) inside of my
Rails 3 app. I''m trying to get the rjb gem installed but I keep running
into the same error when I try to start the app:
[BUG] cross-thread violation on rb_gc()
(null)
Abort trap
I''m on OSX 10.6.6, running ruby 1.8.7-p174 (via RVM) and Rails 3.0.4. I
tried a couple of methods for getting this
2009 Mar 18
0
JGR install problem
Hi,
I thought I'd like to try out JGR, but after installing the package (and
dependencies) I receive the following when I try to load it:
> library(JGR)
Loading required package: rJava
Loading required package: JavaGD
Loading required package: iplots
Note: On Mac OS X we strongly recommend using iplots from within JGR.
Proceed at your own risk as iplots cannot resolve potential ev.loop
2006 Nov 22
0
Problem with RWeka-rJava packages
Hello:
I´m trying to execute Apriori(file.arff) command of RWeka package.
I´m working with:
Operating System: Windows XP home
R-2.4.0
RWeka_0.2-11
rJava_0.4-11
classpath= .;C:\Archivos de programa\Java\jdk1.5.0\lib;C:\Archivos de
programa\R\R- 2.4.0\library\RWeka\jar
An error occurs when .jnew command is executed, on class
"weka/core/Instances" :
2009 Nov 25
0
predict(): NoSuchMethodError
I am currently working on a code which clusters attributes from a data set,
then uses a linear regression model to predict NA values in the data set.
The code works for almost all cases, but then errors out on a case that
seems like it should work the same.
This is the line of code that is giving me the problem:
NewClusterData[j,att] <- predict(cl,newdata =
2009 Feb 05
1
JGR extension not working (PR#13501)
Full_Name: Erik Lukac
Version: R version 2.8.1 (2008-12-22)
OS: Mac OS 10.5
Submission from: (NULL) (141.84.28.167)
I tried to install JGR, but somehow it doesnt work.
> install.packages("JGR")
Warning in install.packages("JGR") :
argument 'lib' is missing: using
'/Users/erikl/R/i386-apple-darwin9.6.0-library/2.8'
trying URL
2006 Aug 14
0
Northern Virginia Ruby user''s group meeting 8/16/06
Hi all -
For those in the northern Virginia/DC area, there''s a Ruby user''s group
meeting on Wednesday. Paul Stadig will give a presentation on
connecting Ruby to Java with YAJB and Devin Mullins will present on the
cross-platform GUI toolkit WxRuby. More details are here:
http://novarug.org/
See you there!
Yours,
Tom
2009 Sep 28
3
rjb: Java classes in Rails
Hi,
For those who might not be aware, rjb is a killer gem for using java
classes inside your rails app (or any ruby code). Check it out at:
http://rubyforge.org/projects/rjb/
I was able to successfully use it in one of my apps that required some
code that is only available in java. And it''s much nicer than having to
compile a java app, then shell out using backticks, get back the return
2007 Apr 27
2
Jarque-Bera and rnorm()
Folks,
I'm a bit puzzled by the fact that if I generate 100,000 standard normal
variates using rnorm() and perform the Jarque-Bera on the resulting vector,
I get p-values that vary drastically from run to run. Is this expected?
Surely the p-val should be close to 1 for each test?
Are 100,000 variates sufficient for this test?
Or is it that rnorm() is not a robust random number generator?
2008 Feb 27
1
RJB Not Working?
Heya all --
I recently downloaded the RJB 1.1.1 gem, and the install seemed to go
fine. However, when I try to require ''rjb'' I get the following error:
no such file to load -- rjb
Has anyone seen this before? Any thoughts what it could be? Thanks so
much!
-Lucas
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this