Re: [R] Need to Write a Code that can find the molecular weight of various compounds

2012-02-02 Thread H. Paul Benton
Matthew, My Fault I should have sent you to the current release cycle page. The link was for the old 2.6 Bioconductor release, sorry about that. :( Personally the easies way to install any bioconductor package is to open R copy and paste the following code: source("http://bioconductor.org/bioc

[R] Rmpi Segmentation fault

2009-02-06 Thread Paul Benton
Dear all, I have used the Rmpi package many times before however this time the installation doesn't work :(. I've installed it as I always do with openMPI tar.gz file direct from the website. I'm installing on my ubuntu 8.10, R version 2.8.1. Linux 2.6.27-11-generic #1 SMP Thu Jan 29 19:28:32 UTC

[R] list creation interpolation

2008-11-21 Thread H. Paul Benton
Hello all, I apologize if this is simple or has already been answered somewhere, but I'm not sure what to search for although I have tried and didn't come up with anything so.. Here's my question. How can I interpolate list names or do I have to do it post list creation. Since that's not v

Re: [R] ubuntu and rgl package vs suse ?? static plots

2008-07-17 Thread H. Paul Benton
PM, H. Paul Benton wrote: Hello all, I've switched over my OS to ubuntu from Suse 10.3. In suse I was able to load up the 'rgl' library in R and then move my plots around after I had plotted them. Which I assumed was part of the openGL. However, since switching to ubuntu I am unab

[R] ubuntu and rgl package vs suse ?? static plots

2008-07-17 Thread H. Paul Benton
Hello all, I've switched over my OS to ubuntu from Suse 10.3. In suse I was able to load up the 'rgl' library in R and then move my plots around after I had plotted them. Which I assumed was part of the openGL. However, since switching to ubuntu I am unable to 'move' my plot around, they are j

Re: [R] anova p value extraction

2008-05-07 Thread H. Paul Benton
erhaps > > # Data set > set.seed(123) > x=rnorm(100) > y=x+2*rnorm(100) > > # ANOVA > AOV=anova(lm (y ~ x)) > p1=AOV$"Pr(>F)"[1] > p1 > > or > > # ANOVA 2 > AOV1=aov(y ~ x) > p2=unlist(summary(AOV1))["Pr(>F)1"] > p2 >

Re: [R] anova p value extraction

2008-05-07 Thread H. Paul Benton
then sum$Pr(>F) will probably work. But make sure that's it because > usually the name is pval or pvalue etc so I'm > surprised about the weird name. > > > > > On Wed, May 7, 2008 at 8:47 PM, Paul Benton wrote: > >> hello all, >> >> Quick question,

[R] anova p value extraction

2008-05-07 Thread Paul Benton
hello all, Quick question, how do I get the p value out of the anova? Thanks, Paul > pb<-aov(as.numeric(diff[5,16:33]) ~ grF) > summary(pb) Df Sum SqMean Sq F value Pr(>F) grF 3 2.7860e+10 9.2867e+09 4.2236 0.02534 * Residuals 14 3.0783e+10 2.1988e+09 --- Signif

[R] 2D correlation/convolution ?

2008-05-07 Thread H. Paul Benton
What is the command for 2D fft? Or 2D convolution and or auto-correlation? Thanks, Paul __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and

[R] 2d cross-correlation / convolution

2008-05-01 Thread H. Paul Benton
-0i [3,] 100680+0i 32520-0i [4,] 97560-0i 28800-0i [5,] 88800-0i 33000+0i [6,] 69840+0i 44400+0i >?real > real(pb) Error in vector("double", length) : unimplemented type 'complex' in 'asVecSize' > real(pb[,1], length(dim(pb)[1])) Error in real(pb[, 1],

Re: [R] RMySQL and free text variable

2007-12-13 Thread H. Paul Benton
Yea that worked !! Did paste(SELECT * FROM MET WHERE molid=", molid, "AND mode=", "\'" mode, "\'" , sep="") I guess all I needed was the sep="" which I totally forgot about. Cheers, Paul Eric wrote: > Does this work for you? > > "SELECT * FROM data WHERE molNUM = 165 AND mode = '+'" > > Possibl

[R] RMySQL and free text variable

2007-12-13 Thread H. Paul Benton
Hi all, I have a quick question, I want to send a select statement to the mysql server. With the code below I connect and ask my select statement. As you can see from the code I want to have a mode = "+". The '+' needs to be free text and hence the "\"" around it. But it doesn't work. If i

Re: [R] histogram labels

2007-10-18 Thread H. Paul Benton
ybe > a more informative example would help. I just want the labels from hist$breaks on the bars, not the frequency like "labels=TRUE" gives you. Is there a different histogram I can use or something? Thank, Paul > > Jim > > H. Paul Benton wrote: > Dear all, > >

[R] histogram labels

2007-10-16 Thread H. Paul Benton
Dear all, Just a quick one, hopefully. I have a histogram made from the method 'hist()'. How do I get labels on the bars? Such that the bars will have the x axis on the bar, not the frequency of the point but the number of the point itself. To make a quick summary, I want the the numbers from

[R] graph or svn

2007-10-08 Thread H. Paul Benton
Hello all, I'm having a spot of trouble. I have made a very nice distance matrix from some comparison calculations. However, the matrix is 3096 x 3096, so it's relatively large. Currently I'm using the svn package as it seems to work for my data. The graph package errors and says the "adjacen

Re: [R] Nodes & edges with similarity matrix

2007-10-04 Thread H. Paul Benton
to value > gplot(mat, edge.lwd = mat, label = rownames(mat)) > > # thresholding at 0.5 > gplot(mat > .5, label = rownames(mat)) > > > On 8/28/07, H. Paul Benton <[EMAIL PROTECTED]> wrote: > >> Hello, >> >>I apologise if someone has already