Re: [R] Excel

2007-09-06 Thread J . delasHeras
Similar story with gene names. I have a few genes such as SEP7, SEP10... if the file is touched by Excel, they're gone! I can avoid using Excel, but I can't be sure that when I receive a file from somebody else it will not contain that sort of errors. The first thing I do when I get a new

Re: [R] Excel

2007-09-06 Thread J . delasHeras
Quoting Robert A LaBudde [EMAIL PROTECTED]: If you format the column as Text, you won't have this problem. By leaving the cells as General, you leave it up to Excel to guess at the correct interpretation. You will note that the conversion to a date occurs immediately in Excel when you enter

Re: [R] Excel

2007-09-06 Thread J . delasHeras
Quoting J Dougherty [EMAIL PROTECTED]: On Monday 27 August 2007 22:21, David Scott wrote: On Tue, 28 Aug 2007, Robert A LaBudde wrote: If you format the column as Text, you won't have this problem. By leaving the cells as General, you leave it up to Excel to guess at the correct

Re: [R] Excel

2007-09-06 Thread J . delasHeras
Yes, and then you save it, you open it again... same behaviour. The only way I found around it was to insert a character at the beginning of every element in such columns. An apostrophe works, but it looks ugly. Yes, when loading the data in R you could easily clean it up automatically...

Re: [R] Subsetting Enigma: More rows after dataframe[-list,]?

2007-07-18 Thread J . delasHeras
Quoting Johannes Graumann [EMAIL PROTECTED]: Hello again, I'm trying to purge the indexes in i.delete from frame and end up with more rows!? Please be so kind and let me know where I screw this up ... Joh i.delete [1] 40 45 165 212 253 270 280 287 301 352 421 433 463

Re: [R] hist() Frequancy values

2007-07-18 Thread J . delasHeras
Quoting Manuele Pesenti [EMAIL PROTECTED]: I have seen that the hist() function plots an histogram of the frequency but I cannot find the value of the object hist that contains theese values... how is possible to get out them? thank you very mutch best regards Manuele if you

Re: [R] Re : I need some help please!

2007-06-03 Thread J . delasHeras
Quoting Bernard Colin [EMAIL PROTECTED]: To whom it may concern, I want to plot two or more graphics in the same window by the means of the plot command. To do that, I have tried the add=TRUE option, but this last one does not work! Do you have an hint for me please? Thank you very much

Re: [R] 3D plots with data.frame

2007-05-25 Thread J . delasHeras
You could try the function 'plot3d', in package 'rgl': library(rgl) ?plot3d x-data.frame(a=rnorm(100),b=rnorm(100),c=rnorm(100)) plot3d(x$a,x$b,x$c) Jose Quoting H. Paul Benton [EMAIL PROTECTED]: Dear all, Thank you for any help. I have a data.frame and would like to plot it in 3D.

Re: [R] Legend outside plotting area

2007-05-23 Thread J . delasHeras
Quoting Judith Flores [EMAIL PROTECTED]: Hi, I have been trying many of the suggested options to place a legend outside plotting area, including something like this: par(xpd=T, oma=par()$oma+c(4.5,0,1.5,0),mar=par()$mar+c(1,0,1,0) But the aspect of the four plots gets

Re: [R] How can we add a legend to a set of graphs?

2007-05-19 Thread J . delasHeras
Quoting Duncan Murdoch [EMAIL PROTECTED]: On 18/05/2007 7:33 PM, Judith Flores wrote: Hi, I have a set of 4 graphs and I need to add a legend that is shared by those 4 graphs. This is what I tried: locator(1) # I placed the cursor in the center of the 4 graphs $x [1] 9.299001 $y

Re: [R] x axis problems

2007-05-14 Thread J . delasHeras
Quoting Ener Borg [EMAIL PROTECTED]: I have been searching for the R manual, unable to solve my problem. Questions 1) How can I put the x axis at the top of the plot? as others indicated, check ?axis... the parameter 'pos=3' will display the axis on top 2) I am plotting data from a

Re: [R] Left/right hand side characters

2007-05-14 Thread J . delasHeras
check ?substr substr(item54,1,5) [1] item5 Jose Quoting Brooks, Anthony B [EMAIL PROTECTED]: Hello all Is there a way reducing the number of characters in a list so that just the left n numbers of characters is given? For example, If I have a list, listnames, which consists of 4

Re: [R] Representing a statistic as a colour on a 2d plot

2007-05-07 Thread J . delasHeras
check ?rainbow to generate the colours (which also shows you other related functions like 'heat.colors' that you may also find useful. To plot the coloured points, check ?points. hope this helps a bit Jose Quoting mister_bluesman [EMAIL PROTECTED]: Hello. I have a 2d plot which looks

Re: [R] Scatter Plot in R - Help

2007-04-27 Thread J . delasHeras
Quoting A Ezhil [EMAIL PROTECTED]: Dear All, I am using the following commands to do the scatter plot of two vectors, say X and Y. plot(X,Y, col=blue) abline(a=1,b=1, col=red) abline(a=-1,b=1, col=green) I would like to split the scatter plot into 3 part with 3 different colors: (i)

[R] Tinn-R editor question: saving syntax colour options.

2007-04-26 Thread J . delasHeras
Hi, after reading about it in the forum, I tried the Tinn-R editor (in WinXP) running R 2.5.0... nice one! However, I am trying to change the syntax-colouring from the default to my own preferences... and I can do that, but my options don't appear to be saved and get lost when I close

Re: [R] Tinn-R editor question: saving syntax colour options.

2007-04-26 Thread J . delasHeras
Nevermind! It looks like it's a bug in the new Tinn-R version, and a previous version (1.17) works just fine... Jose Quoting [EMAIL PROTECTED]: Hi, after reading about it in the forum, I tried the Tinn-R editor (in WinXP) running R 2.5.0... nice one! However, I am trying to change the

Re: [R] negative number to positive number

2007-04-25 Thread J . delasHeras
Quoting H. Paul Benton [EMAIL PROTECTED]: Hello all, I know this is a pretty easy question but I can't find it in S poetry or R help. How can I make a negative number positive. Such as -5 to be +5 I tried +(-5), but that didn't work. So no, I don't mean taking a -5^2 just to get a

Re: [R] LimmaGUI

2007-04-24 Thread J . delasHeras
Quoting [EMAIL PROTECTED]: Hi everyone, I have a question about limmaGUI.I've just started to use the program for microarray analysis.My problem is after loading data into Limma (with GAl file and RNA targets file),I'm not able to create an M box plot and everytime I'm trying to do that,

Re: [R] limmaGUI

2007-04-23 Thread J . delasHeras
Quoting [EMAIL PROTECTED]: Dear all, I have a question about limmaGUI that is usually run in R environment. My problem is loading data into the programm. I have 6 gpr files that apparently are not compatible with limma. Everytime I'm trying to load the data (including a RNA targets file, an

Re: [R] Getting and using a function

2007-04-13 Thread J . delasHeras
Quoting Thomas L Jones [EMAIL PROTECTED]: I am trying to do what is perhaps the most basic procedure which can be done with the R software. Under Windows XP Home Edition, I want to get a copy of the function gam, then put it in and use it. I intentionaly use informal terms, rather than

Re: [R] Difficulty with formatting scatter.smooth output

2007-04-13 Thread J . delasHeras
Quoting Bing Ho [EMAIL PROTECTED]: Hello, I have been using scatter.smooth and been trying to format my plots and been unable to adjust the line type or color of the smooth curve. When I specify col in scatter.smooth, I can adjust the color of the scatter plot points, but the line always