Re: [R] Help finding the proper function

2008-10-23 Thread Tom.O
exactly is your question? Your thinking seems to be very muddy. You will need to clarify it considerably. If you do so, you may be able to pose a meaningful question, and perhaps answer it yourself. cheers, Rolf Turner On 23/10/2008, at 11:59 AM, Tom.O wrote

[R] Help finding the proper function

2008-10-22 Thread Tom.O
This might not be the correct forum for this question for there might be some flaws in my logic so the R function I'm looking for might not be the correct, but I know there’s a lot of smart people in this forum so please correct me if I'm wrong. I have been googling and searching in this forum

[R] matching problem

2008-08-06 Thread Tom.O
I have a matching problem that I cant solve. mystring = xxx{XX}yy{YYY}zzz{Z} where x,X,y,Y,z,Z basiclly can be anything, letters, digits etc. I'm only interested in the content within each {}. I am close but not really there yet. library(gsubfn) strapply(mystring,\\{[^\\}]+,, perl=F) gives me

[R] R GUI help

2008-07-30 Thread Tom.O
Hi R gurus Im currently doing some GUI coding with the rpanel package. I have come across a very interesting problem, how do I close a panel that I have created. This sounds silly for I can always click the X up in the right corner but how do I do it by code? for example; when I create a control

[R] matching problem

2008-06-27 Thread Tom.O
Hi R gurus I have a matching problem that I cant solve. I have tried multiple solutions and searched varius help-sites but I cant get it to work. This is the problem myexstrings = c(*AAA.AA,BBB BB,*.CCC.,**dd- d) what I want do do is to remove any non-characters in the beginning and everything

Re: [R] matching problem

2008-06-27 Thread Tom.O
Tom Hans-Jörg Bibiko wrote: On 27 Jun 2008, at 12:23, Tom.O wrote: Hi R gurus I have a matching problem that I cant solve. I have tried multiple solutions and searched varius help-sites but I cant get it to work. This is the problem myexstrings = c(*AAA.AA,BBB BB,*.CCC.,**dd- d

Re: [R] matching problem

2008-06-27 Thread Tom.O
Thanks guys, all of you. You have just made this weekend a much more happier weekend. Regards Tom Hans-Jörg Bibiko wrote: On 27 Jun 2008, at 13:56, Tom.O wrote: Well I have tried that and it's unfortuanally not the solution. This return all the characters in the string, but I dont

[R] Help wit barplot

2008-02-18 Thread Tom.O
Hi I have som problems with a barplot. It can be created easily in Excel but I cant manage to get it right in R. For example: MyData - matrix(c(1,2,-1,-1,0,-2,-2,1,1,1,-2,3),ncol=3,dimnames=list(LETTERS[1:4],seq(3))) I want the barplot to stack the positive and negative values separatly so

[R] Matching Problem

2008-02-12 Thread Tom.O
Hi I have this vector of strings. MyData - c(Test1,Test2,I(Test1^2),I(Test2^3),I(Test1.Test2^2)) where I want to extract only the text after I( and before ^ so that the string returned only contain c(Test1,Test2,Test1.Test2) I am not very skilled in the use of matching patterns so bare with me

[R] creating images from console commands

2007-12-11 Thread Tom.O
Hi I have forgotten the name of the function, but I know it exists. I want to be able to export commands enterd / or output in the console to an image. Does anyone recognize the function I am looking for. Thanks Tom -- View this message in context:

[R] Need help on an error, when looding library(uroot)

2007-11-01 Thread Tom.O
Hi When I'm looding the library uroot something happens with the basic R code that handles numeric classes. Its looks like a bug but I cant isolate the problem. So hopfully one of you smart guys out there can give me some help. This is how the problem looks. Take for example the vector TEST -

Re: [R] Need help on an error, when looding library(uroot)

2007-11-01 Thread Tom.O
day03 svn rev43063 language R version.string R version 2.6.0 (2007-10-03) // regards Tom Rolf Turner-3 wrote: On 2/11/2007, at 9:39 AM, Tom.O wrote: Hi When I'm

[R] Can I create pdfs with dataframes instead of images?

2007-10-29 Thread Tom.O
Hi I am doing some correlation analysis where I graphically display the results by using image() and then exporting the results in a PDF. I also use the par(mfrow=c(2,2)) to fit 4 images on the same sheet. But I wonder if it possible to use the some methodology to export the 4 matrixes on a PDF

[R] Adding pagebreaks on files???

2007-10-29 Thread Tom.O
Hi Does anyone know if its possible to add pagebreaks to an pdf through an R command? I'm running a loop where each session exports an pdf graph. Each image becomes a separate file, but I would like to have them in the same document but on separate pages. Does anyone know a solution or