Displaying 20 results from an estimated 70 matches similar to: "Problem with calling an user defined R function from Java"
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)");
2006 May 25
1
Question regarding reading arrayvision files in limma
Hi Everyone,
I have been trying to read some Arrayvision files( 2 channel cDNA) and
am having some
problem. My code is :
setwd('C:/work/data/limma/ndd1');
files <- c('ndd1_1.txt','ndd1_2.txt','ndd1_3.txt');
RG=read.maimages(files,"arrayvision",sep="\t");
#Normalisation
MA=normalizeWithinArrays(RG);
#plotPrintTipLoess(MA);
#Fit Linear
2004 Feb 10
0
SLES and samba 2.2.5-UL
Hi
After yesterday and samba not linking the %u switch we now have a samba
server up and running, joined to our domain and wbinfo -u responds with all
the domain users :) The add user script i`ve put in so far partly works it
creates the user, but no home directory, even though browsing to the linux
box still gves you //samba_server/User_name.
But no home directory is created. deleting the the
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
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
2007 Jul 30
0
problems in limma
Dear list members,
I am analysing my microarray data using limma package. Now I encounter
several problems. Looking forward to your suggestions!
Question 1:
During the process of background correction using method="normexp", four
warning messages appeared as "NaNs produced in: log(x)" (as you can see in
the program posted below). What does that mean? How will it effect the
2010 Jun 19
7
urgente
Hola, quisiera que me dijeran como puedo mandarle unos datos al R, de una aplicación en java.
"La educación es lo que queda cuando uno se olvida de todo lo que aprendió en la escuela."
[[alternative HTML version deleted]]
2012 Aug 23
3
Please help....normalization by the median of some control genes
Can someone show me some code to do normalization by the median of some control genes for the example below?
Many Many Thanks in advance
This strategy selects a subset of genes (called ?control genes?) and makes the median of their data distribution similar across arrays.
??? ??? id1??? id2??? id3
control1??? 0.8??? 0.7??? 0.6
control2??? 0.6??? 0.2??? 0.4
probe1??? ??? 0.3??? 0.2??? 0.5
2012 Jun 01
1
R Error : Error in vector("list", gamma(n + 1)) : vector size specified is too large
Dear R-listers,
I am giving part of my R code :
###########################################################
n=15
m=1
library("partitions")
library("gregmisc")
library("combinat")
x = t(restrictedparts(n-m,m))
l = length(x[,1])
for(u in 1:l){
A= unique(matrix( unlist(permn(x[u,])), ncol=m, byrow=TRUE ))
}
2005 Jun 27
0
Xen installation from source
Hi,
I am facing the following problems while installing xen from its
source.Ihave compiled
linux-2.6.11.10 with the option ARCH=xen.I had been fiddling with the
various configuration to boot up the kernel but its not working anyway.
When I compiled the kernel with the following option as built-in
[*] Root file system on NFS
I get the following error:
Root-NFS: No NFS server available, giving
2005 Jun 07
3
Icecast RTP support
Hi,
Does Icecast has RTP support for streaming OGG/Vorbis and OGG/theora
media files?
If so, then please give me some pointers on how to configure my
Icecast server to listen to RTP requests.
If it's not available, then is the inclusion of this feature, in plans
for future release of the product?
Thanks
--
Subhabrata Bhattacharya
2005 Jun 07
0
Icecast RTP support
On 6/7/05, Subhabrata Bhattacharya <subh.arya@gmail.com> wrote:
> Hi,
>
> Does Icecast has RTP support for streaming OGG/Vorbis and OGG/theora
> media files?
Not in the current version. It may be added in the relatively distant
future, but there's nobody workingon it at the moment.
Mike
2006 Aug 24
1
Need help with difficulty loading page www.bioconductor.org
The page is either too busy, or there is something seriously wrong with
access to this page.
Most of the time, trying to reach www.bioconductor.org results in
failure. Only once in a
blue moon, do I get through.
In fact, thus far, I have not been able to install bioconductor, since
the first source(...)
command from the R command window -- following instruction on
www.bioconductor.org
page,
2008 Feb 07
0
Help w/ density() usage
Dear All,
(this msg is a statistics/computing question to the list)
I'm trying to implement a modern-version of a (classic) "several-step protocol" in Fishery Biology (due to Bhattacharya, 1967): analysis of length-frequency distribution of fish larvae to id cohorts and later estimate growh rates!
I've trouble with the 1st step: using kernel density estimation (KDE) function
2010 Feb 14
1
unexpected results with higher-order functions and lapply
I want to use lapply and a function returning a function in order to build a
list of functions.
> genr1 <- function(k) {function() {k}}
> l1 <- lapply(1:2,genr1)
> l1[[1]]()
[1] 2
This was unexpected. I had expected the answer to be 1, since that is the
value k should be bound to when genr1 is applied to the first element of
1:2.
By itself genr1 seems to work fine.
>
2016 Nov 16
0
Announcing new package horseshoe
Dear R users,
The first version of the package ?horseshoe' is now available on CRAN. It contains various functions for implementing the horseshoe prior for sparse linear regression, and faster versions for the special case of the normal means problem.
The functions output, among other things, the horseshoe estimator (posterior mean), credible intervals, and there is a function to perform
2016 Nov 16
0
Announcing new package horseshoe
Dear R users,
The first version of the package ?horseshoe' is now available on CRAN. It contains various functions for implementing the horseshoe prior for sparse linear regression, and faster versions for the special case of the normal means problem.
The functions output, among other things, the horseshoe estimator (posterior mean), credible intervals, and there is a function to perform
2011 Oct 20
1
R code Error : Hybrid Censored Weibull Distribution
Dear Sir/madam,
I'm getting a problem with a R-code which calculate Fisher Information
Matrix for Hybrid Censored Weibull Distribution. My problem is that:
when I take weibull(scale=1,shape=2) { i.e shape>1} I got my desired
result but when I take weibull(scale=1,shape=0.5) { i.e shape<1} it gives
error : Error in integrate(int2, lower = 0, upper = t) : the integral is
probably
2010 Feb 19
3
dot-dot-dot as an actual argument
I could not find any documentation of how dot-dot-dot works when used
as an argument in a function call (rather than as a formal argument in
a definition). I would appreciate some references to the rules
governing situations like:
f1<-function(x,y,...){
? print(x)
}
f2<-function(...){
? f1(...)
}
f2(1,2,3)
In the call above how are the three numbers bound to the individual
formal
2012 Mar 23
2
R Error : DATA to MATRIX
Dear Sir/Madam,
I'm getting a problem with a R-code which converts a data frame to a matrix.
It first generate a (m^(n-m) * m) matrix A and then regenerate another
matrix B having less dimension than A which satisfy some condition. Now I
wish to assign each row of B to a vector as individual.
My problem is when I set any choice of (n,m) except m=1 it works fine but
setting m=1 I got the