Displaying 20 results from an estimated 1000 matches similar to: "R and threading"
2007 Jan 03
0
R's capaability of dealing with multiple requests
Hi,
I am interested in integrating R with a Java front end. Before deciding to
use R I am concerned about multi-threading.
I have been investigating R's capability of dealing with multiple requests
simultaneously (multi-threading)
and have looked at Luke Tierney's 2001 notes for ideas for future releases
of R at http://www.stat.uiowa.edu/~luke/R/thrgui/thrgui.pdf
Is a single instance
2007 Sep 18
6
Limiting Simultaneous calls
Is there a way to limit simultaneous calls. I like to limit
simultaneous outgoing calls as more than few simulataneous calls are
charged by my voip providers. However, I do not want to have any such
restriction for internal calls.
Thanks
Jim
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");
...
2010 Nov 08
2
Rserve alternative?
The Rserve documentation at
http://rosuda.org/Rserve/doc.shtml#start
states that even when making multiple connections to the Rserve,
Windows won't separate workspaces physically and share environments,
which will obviously cause problems and should therefore not be used.
Are there any alternatives for the windows platform?
Ralf
2010 Jan 08
2
How to Merge based on Rows
Let's say that I have a bunch of matrices.
They look like this (pardon using fruit for examples, my actual data tables
are far too enormous):
Matrix1
Apples Oranges Pears
A 5 6 7
B 5 3 4
C 8 9 10
D 11 13 14
E 15 3 8
F 1 4 5
2007 Dec 14
1
Asterisk to make multiple extensions simultaneous calls on a single telephone line
Hi Lists,
I have one box with two FXO and two FXS ports, it is running asterisk
inside. I have one sinle POTS line connected to the one FXO and two
phone sets connected to the FXS port.
Extension 6003 is asigned to one fxs and 6004 is asigned to another
fxs, the two extensions can call each other, they can both
make/receive PSTN call, but they can't make PSTN call simultaneously.
Is it
2007 Dec 30
1
some questions about startup Rserve
I realize the communication between R and Java with Rserve in my
dissertation, but i can not run the Rserve by double click of Rserve.exe,
and also i can't realize backstage running of Rserve by technique of
Multi-thread in Java. Can anyone tell me why?
So, before i run the Java, i must run the R manually, then input
"Rserve()" or "system("Rserve")". This
2002 Apr 24
1
Newton-Raphson
Hi,
Is there a routine available in R for the Newton-Raphson method for
simulataneous equations in several unknowns?
Thanks
Robert
--
Robert J. Chandran
Department of Botany
3506 Miller Plant Sciences Building
University of Georgia
Athens, GA 30602
Phone: (706)-583-0943
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
2007 Aug 26
2
Character position command
This is a very simple question, so I apologize I couldn't find it online:
I want to shorten the string 'apples.pears' to 'apples'.
string='apples.pears'
string1=substr(string,0,x)
For x above, I would like to have a command like charAt(string,"."), i.e.
the position of the period in the word, but I can't seem to find a charAt
command in R.
Thank you.
2007 Aug 11
1
RServe
Hi all, is there a way to properly terminate Rserve instead of killing the
process? I run Rserve in a linux box that serves my Java client.. I have a
cronjob that runs Rserve every morning. However, I'm killing it at night
manually for the moment. Is there a way, given host/port, I can run an R
command to properly terminate it??
Thanks a lot in advance!!
- yoooooooo
--
View this message in
2010 Jul 19
1
Non-blocking Eval
Hello,
I'm currently working with the C++ version of the Rserve Client as part of a student project.
Is there an implementation of a non-blocking interface to Rserve in C++? I can find one via the Java JRI but no equivalent in C++.
Thanks
_________________________________________________________________
Do you have a story that started on Hotmail? Tell us now
[[alternative HTML
2010 Aug 20
1
Rserve (Anyone?)
REXP has an asBytes() method. Will this capture the output of an R plot
function if a proper graphics device is used? It appears R insists on
sending plot output to a file. Kind of strange since it insists on loading
all your data into memory before it can do anything.
If so then does anyone know what this would be? I prefer png or jpeg.
Example:
c is an RConnection
REXP r =
2008 Nov 30
1
Rserve and creating a list of lists
Hello,
I have some code which generates lattice objects. The function
recieves serialized forms of the lattice objects which it then
unserializes and then adds to an ArrayList<REXP>.
REXPRaw rser = new REXPRaw( target ); //target contains the raw
serialized forms of lattice objects
rconn.assign("temp",rser);
REXP ret =
2005 Apr 29
4
Calling R functions from Java
Hey guys,
I got a java gui app which loads up data into a table. How can i use R
to perform statistical functions on the data in the table?
P.S My question is not particularly geared towards Java coding, but
more towards allowing R functionality within Java.
2007 Oct 26
2
function in R that's equivalent to SQL's "IN"
Hi all,
I'm trying to find
something like the "==" operator that will work on vectors or something
equivalent to SQL's "IN" function. For e.g., if I have:
x <- c(1,2,3,4,5)
y <- c("apples", "oranges", "grapes", "bananas", "pears")
z <- data.frame (x,y)
w <- c(2,4,5)
I want R to return the values
2009 Aug 03
1
RServe - How to use 'createReference' method?
I need to input a txt, or xls, file from a client to R, using RServe.
>From what I've been reading, the best way to do this, is using the
'createReference' method, from REngine package.
But I couldn't find any documents exemplifying it's use. I got to upload a
file from java? And then? How do i refeer the file to this method?
Best Regards,
J. Daniel
--
View this message
2003 Feb 21
1
Samba 2.2.7a 64bit executable on Solaris 8
Good Morning,
I recently compiled Samba 2.2.7a as a 64bit executable on Solaris 8.
The Solaris 8 server is configured to permit 65535 files to be open,
while Samba has been configured to allow 65500 files to be open.
These large number of files are required to permit simulataneous
compilations to take place a single build server, though there are
multiple build servers.
Last time I tried to
2009 Feb 28
2
Using JRI and Java 1.6 on MAC OS X
Dear R-Help,
I am trying to get JRI (the rJava interface allowing Java to connect
to R) to work. I was able to run it a week ago when I was doing some
testing using Java 1.5. However, I am developing a GUI application
using some of the new Java 1.6 features and I just can't get JRI to
work with this setup.
Here is what I get:
Cannot find JRI native library!
Please make sure that the JRI
2009 Oct 28
1
how can i call R program from one java program?
Dear All
I want to call the R program from one Java program because In my project R
program parameters are set by one web page developed by java.
Is this possible to call R program from java?
many thanks in advance
--
Wesley C Mathew
[[alternative HTML version deleted]]
2017 Oct 25
2
How to create a table structure in Java code?
Hi all,
Using RConsole, it's easy to get data from the database that you can use in an R Command. Like this:
(Reference case)
irisQuery <- dbGetQuery(conn, "select * from iris")
boxM(irisQuery [,-5], irisQuery[,5])
----
(Actual case this posting is about)
Yet, if I'm getting that same (sample IRIS) data, say, in a web service possibly POSTED from a SQL command, that same