Displaying 20 results from an estimated 8000 matches similar to: "Use ks.test() or an alternative in C/C++ application"
2011 Jul 29
3
Problems with ks.test()
Hi,
I got two data point vectors. Now I want to make a ks.test(). I you print
both vectors you will see, that they fit pretty fine. Here is a picture:
http://www.jochen-bauer.net/downloads/kstest-r-help-list-plot.png
As you can see there is one histogram and moreover there is the gumbel
density
function plotted. Now I took to bin-mids and the bin-height for vector1 and
computed the
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
2007 Jul 29
4
Call R program from C++ code
Hi All:
I'm developing an application program using C++. From my C++
code, I would call some R program I have written. I' wondering if R provide
some compiler that can compile R program into executable program. I searched
R-help, there are a lot of posts talking about writing C++ code in R
program, but few about calling R from C++.
I might be wrong that R
2011 Dec 22
1
Calling R functions from C++ under VS2005
Hi,
I'm trying to call some of R's statistical functions within my C++
code, developed under VS2005, but I can't seem to find out how to do
it. I tried RInside and Rcpp, but they either don't work on Windows or
with VS. Is there a way to do this?
Appreciate the help.
Regards,
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 =
2004 Oct 15
2
C/C++
Hey everyone,
I have been looking for a while for ways to integrate R's wonderful
functions into my C++ software, but I have not found anything
concrete.
So finally, i post to this list to see if anyouse else knows about
this, or has done it!? Is it possible? Are there C++ or C R libraries?
Or is it sufficiently easy to build them?
your help is much appreciated!
thanks
doktora
2011 Jul 16
2
ecdf() to nls() - how to transform data?
Hi,
I am using ecdf-function and want to use the ecdf()-data-points for nls() as
data-parameter.
nls() expects 'list' or 'environment' as a data-type, knots(ecdf(mydata))
gives me 'numeric'.
What should I do now?
Thanks in advance - Jochen
Here is the code:
#################################################
# --- Fit ---
# Gumbel-Dist-Function, cumulative,
2017 Nov 13
3
Where to get support for Rserve?
Hello,
I'm using Rserve with Java and although it works OK for 50 or 60 requests, eventually Rserve simply stops responding and I have to force-quit and restart Rserve. During this time the JVM is fine and Tomcat (app server) is fine, too.
The basic Java code does this:
--------------------------------------------
1. Create an R Connection
2. Execute an R Script via Rserve "eval"
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
2007 Apr 07
2
Rserve and R to R communication
Dear All,
The "clients.txt" file of the latest Rserve package, by Simon Urbanek,
says, regarding its R client,
"(...) a simple R client, i.e. it allows you to connect to Rserve from
R itself. It is very simple and limited, because Rserve was not
primarily meant for R-to-R communication (there are better ways to do
that), but it is useful for quick interactive connection to an
2005 Aug 29
2
FW: RServe initialization problem
I want to use the R functionalities in my Java program. I found the Rserve
that appear to suite my requirements but I'm facing some configuration
problems.
I' following the web page tutorial
(http://stats.math.uni-augsburg.de/Rserve/doc.shtml) but I face the above
problem:
C:\Program Files\R\rw2010\bin>R CMD RSERVE
Can't open perl script "C:\PROGRA~1\R\rw2010/bin/RSERVE":
2013 Sep 20
1
Run service failed
I''m trying to setup a service that doesn''t support any service script.
Using the following:
service { ''Rserve'':
ensure => ''running'',
start => ''/usr/bin/R CMD Rserve --gui-none'',
provider => ''base'',
}
When I run puppet agent -t -d, it returns the following:
Debug:
2017 Nov 13
0
Where to get support for Rserve?
?maintainer
## i.e.
maintainer("rserve")
Also, please search. A web search on simply "rserve" brought up what
appeared to be many relevant hits.
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Mon, Nov
2005 Aug 29
1
RServe initialization problem
I want to use the R functionalities in my Java program. I found the Rserve
that appear to suite my requirements but I'm facing some configuration
problems.
I' following the web page tutorial
(http://stats.math.uni-augsburg.de/Rserve/doc.shtml) but I face the above
problem:
C:\Program Files\R\rw2010\bin>R CMD RSERVE
Can't open perl script
2005 Jun 11
1
Using Rserve
Hey is there a more consistent way of connecting to Rserve. I have
code that opens a connection to Rserve by executing explicitly using
Java runtime ( "C:\Program Files\R\r20XXX\Rserve.exe" ).
However when i run the app and attempt to connect, it does not connect
imediately.I have to close the app and open it again for a few times
before i get a connection.
Am i doing something wrong?
2004 Oct 21
1
C++ dev
Hello,
I wish to use R functions in a C++ programm.
I have installed D COM Server but with this application i think it isn't possible to acces mouse event..., is it true?
My second idea is to compile libraries which are used, but i haven't source code, and the libraries existing are compiled under unix, but i'd like have .lib and .dll
Thanks for your informations
Sandrine
2009 Sep 04
1
How to call R routines in C++`
Hi,
I have some results generated in my C++ program. I 'd like to call some R
functions that can test if two sample sets are from different distribution,
like Kolmogorov-Smirnov and other more sophisticated Tests. I also like to
draw the histograms of the two sample sets in the same plot using R. As a
newbie to R, I greatly appreciate any suggestions on how to call R in C/C++
and
2009 Aug 27
1
Submit a R job to a server
Dear R users,
Thanks in advance.
I am Deb, Statistician at NSW Department of Commerce, Sydney.
I am using R 2.9.1 on Windows XP.
May I request you to provide me information on the following:
1. I have access to a server ( I have userid and pwd)
2. What are the packages I need to submit a job from Windows XP to this server? Should I need to install any package on this server before
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");
...
2004 Aug 14
1
Rserve needs (but cannot find) libR.a (or maybe it's .so)
I have successfully installed Rserv (http://stats.math.uni-augsburg.de/Rserve)
on Mac OS, but I have trouble on two different linux platforms.
R CMD INSTALL Rserve_0.3-10.tar.gz
fails with this message
** libs
gcc -g -O2 -I/usr/local/include -L/usr/local/lib Rserv.c -o Rserve \
-DDAEMON -O -I/usr/local/lib/R/include -Iinclude -I. -lR -L/usr/local/lib/R/bin -ldl -lcrypt