Re: [R] Creating images without X11

2010-03-13 Thread michael watson (IAH-C)
library(GDD) Or install Xvfb on your server From: r-help-boun...@r-project.org [r-help-boun...@r-project.org] On Behalf Of Jillian E Kozyra [jill...@gmail.com] Sent: 13 March 2010 16:27 To: r-help@r-project.org Subject: [R] Creating images without X11 De

Re: [R] (no subject)

2010-03-13 Thread michael watson (IAH-C)
Use the GDD library From: r-help-boun...@r-project.org [r-help-boun...@r-project.org] On Behalf Of Jillian E Kozyra [jill...@gmail.com] Sent: 13 March 2010 16:26 To: r-help@r-project.org Subject: [R] (no subject) Dear Colleagues, We are attempting to crea

Re: [R] Indexing a matrix within loops

2010-03-13 Thread michael watson (IAH-C)
aggregate(x[,1:2], by=list(factor=x$factor.level), mean) From: r-help-boun...@r-project.org [r-help-boun...@r-project.org] On Behalf Of Josh B [josh...@yahoo.com] Sent: 13 March 2010 18:50 To: R Help Subject: [R] Indexing a matrix within loops Hi, I was h

Re: [R] Problem building packages on windows: /cygdrive/c/Rtools/bin/cp: target `xf-))' is not a directory

2010-03-13 Thread michael watson (IAH-C)
Mick From: Uwe Ligges [lig...@statistik.tu-dortmund.de] Sent: 13 March 2010 18:08 To: michael watson (IAH-C) Cc: r-help@r-project.org Subject: Re: [R] Problem building packages on windows: /cygdrive/c/Rtools/bin/cp: target `xf-))' is not a directory On 13.03.2010 18:34, michael watson (IA

Re: [R] Problem building packages on windows: /cygdrive/c/Rtools/bin/cp: target `xf-))' is not a directory

2010-03-13 Thread michael watson (IAH-C)
anges. From: Uwe Ligges [lig...@statistik.tu-dortmund.de] Sent: 13 March 2010 17:30 To: michael watson (IAH-C) Cc: r-help@r-project.org Subject: Re: [R] Problem building packages on windows: /cygdrive/c/Rtools/bin/cp: target `xf-))' is not a directory On 13.

[R] Problem building packages on windows: /cygdrive/c/Rtools/bin/cp: target `xf-))' is not a directory

2010-03-13 Thread michael watson (IAH-C)
Dear R-Help My OS is Windows CP, I'm not sure my sessionInfo() is relevant but here it is: R version 2.10.1 (2009-12-14) i386-pc-mingw32 locale: [1] LC_COLLATE=English_United Kingdom.1252 LC_CTYPE=English_United Kingdom.1252LC_MONETARY=English_United Kingdom.1252 [4] LC_NUMERIC=C

Re: [R] Memory in R on windows running 64bit XP

2009-09-16 Thread michael watson (IAH-C)
Fair enough, thanks for your time. I will wait for my Linux PCs! -Original Message- From: Duncan Murdoch [mailto:murd...@stats.uwo.ca] Sent: 16 September 2009 16:42 To: michael watson (IAH-C) Cc: r-help@r-project.org Subject: Re: [R] Memory in R on windows running 64bit XP On 9/16/2009

Re: [R] Memory in R on windows running 64bit XP

2009-09-16 Thread michael watson (IAH-C)
__ From: Duncan Murdoch [murd...@stats.uwo.ca] Sent: 16 September 2009 15:43 To: michael watson (IAH-C) Cc: r-help@r-project.org Subject: Re: [R] Memory in R on windows running 64bit XP On 9/16/2009 10:16 AM, michael watson (IAH-C) wrote: > Hi > I'm running 32-bit R on Windows XP 64b

[R] Memory in R on windows running 64bit XP

2009-09-16 Thread michael watson (IAH-C)
Hi I'm running 32-bit R on Windows XP 64bit and the machine has 16Gb of RAM. The help for memory.limit states: If 32-bit R is run on some 64-bit versions of Windows the maximum value of obtainable memory is just under 4GB. So, using the help which states the size parameter can go up to 4095: m

[R] Reading zipped data directly from an FTP url

2008-10-09 Thread michael watson (IAH-C)
Hi Sorry, I am clearly missing something here. I want to read this file directly: ftp://ftp.sanger.ac.uk/pub/mirbase/targets/v5/arch.v5.txt.gallus_gallus. zip I tried using read.table(gzfile("ftp://ftp.sanger.ac.uk/pub/mirbase/targets/v5/arch.v5 .txt.gallus_gallus.zip")) But I got an error:

[R] Installing R 2.7.2 on Windows with /LOADINF flag doesn't do anything

2008-09-23 Thread michael watson (IAH-C)
Hi I want to install R from a script, so am following http://cran.r-project.org/bin/windows/base/rw-FAQ.html#Can-I-customize-t he-installation_003f. I first installed R with the /SAVEINF="r_install_config.txt" flag and it created a nice text file for me - perfect. I then uninstalled R, and re-

[R] A question about the hypergeometric distribution and phyper()

2008-09-10 Thread michael watson (IAH-C)
Dear All I have a question about the hypergeomteric distribution. Example 1: I have a universe of 6187 objects, and 164 have a particular attribute, therefore 6187-164 do not have that attribute. I sample 249 of those objects, and find that 19 have that attribute. I get a p-value here (looking

[R] Mtext doesn't display characters in italic when I use a greek symbol

2008-08-07 Thread michael watson (IAH-C)
Following on from my previous mail! plot(1:10,1:10) mtext("title", side=3, adj=0, font=3, cex=1.5) This works as expected and puts the font in italics. tag <- "A)" suffix <- "genea::" plot(1:10,1:10) mtext(bquote(.(tag) ~ Delta * .(suffix)), side=3, adj=0, font=3, cex=1.5) Here, the font isn't

Re: [R] Greek characters in plots

2008-08-05 Thread michael watson (IAH-C)
nal Message- From: Gabor Grothendieck [mailto:[EMAIL PROTECTED] Sent: Tue 05/08/2008 6:18 PM To: michael watson (IAH-C) Cc: r-help@r-project.org Subject: Re: [R] Greek characters in plots Try bquote / substitute as has been mentioned: tag <- "A)" suffix <- "stbA::cat

Re: [R] Greek characters in plots

2008-08-05 Thread michael watson (IAH-C)
quot;\u0394", b) Error: invalid \u sequence This is on both Rgui at home and at work (Windows Vista and R 2.6 at home, Windows XP and R 2.7 at work) Thanks again, Gabor's suggestion worked. -Original Message- From: Prof Brian Ripley [mailto:[EMAIL PROTECTED] Sent:

Re: [R] Greek characters in plots

2008-08-05 Thread michael watson (IAH-C)
Or, maybe I could just draw it with lines() -Original Message- From: [EMAIL PROTECTED] on behalf of michael watson (IAH-C) Sent: Tue 05/08/2008 1:37 PM To: Prof Brian Ripley Cc: r-help@r-project.org Subject: Re: [R] Greek characters in plots OK, I am definitely struggling here

Re: [R] Greek characters in plots

2008-08-05 Thread michael watson (IAH-C)
and strings for plotting? Thanks once again Mick -Original Message- From: Prof Brian Ripley [mailto:[EMAIL PROTECTED] Sent: 05 August 2008 12:40 To: michael watson (IAH-C) Cc: Henrique Dallazuanna; r-help@r-project.org Subject: Re: [R] Greek characters in plots On Tue, 5 Aug 2008, michae

Re: [R] Greek characters in plots

2008-08-05 Thread michael watson (IAH-C)
Excellent! I even tried DELTA but not Delta Now, how do I go about pasting that with some text that I have in various other variables? -Original Message- From: Henrique Dallazuanna [mailto:[EMAIL PROTECTED] Sent: 05 August 2008 12:17 To: michael watson (IAH-C) Cc: r-help@r

[R] Greek characters in plots

2008-08-05 Thread michael watson (IAH-C)
Hi I am running an R script that creates 100s of graphs, and I need to use the greek CAPITAL letter delta in the mtext() function. I got as far as expression(delta) but this gives me the lowercase version. Can anyone help? I'm using R 2.7 on Windows XP Mick Head of Informatics Institute for A

Re: [R] hclust graphics - plotting many points

2008-03-10 Thread michael watson (IAH-C)
I'd recommend outputting either as pdf or as a windows metafile -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Karin Lagesen Sent: 10 March 2008 09:54 To: r-help@r-project.org Subject: [R] hclust graphics - plotting many points Hello. I have a distanc

Re: [R] Two sample t-test

2008-03-09 Thread michael watson (IAH-C)
Why are you using "skip=2"? Try: read.csv(""c://test.csv",header="T",eomment.char="") -Original Message- From: [EMAIL PROTECTED] on behalf of Claire_6700 Sent: Sun 09/03/2008 12:55 PM To: r-help@r-project.org Subject: [R] Two sample t-test Hi, I want to perform t-test in R for each

[R] Try to save as PDF: font family not found in PostScript font database

2008-03-06 Thread michael watson (IAH-C)
Hi I'm using 2.6.0 on Windows XP SP2. I realise I'm on an old version, please tell me if the problem is fixed in the newer versions. When I try and use the graphics window menu to save a graph as PDF, I get the following error, and no PDF produced Error: Invalid font type In addition: Warning m

[R] Significance testing for paired counts data with small sample size and some genuine zero values

2008-03-04 Thread michael watson (IAH-C)
Dear All I will try and keep this succinct! The data is counts of a particular molecule in different cell types taken from the same 5 subjects. The data are paired as they come from the same subject. The aim is to determine whether the cell types differ in terms of the abundance of each of the

Re: [R] Importing Large Dataset into Excel

2007-12-12 Thread michael watson (IAH-C)
It will be either: 1) line 528 contains a quote character somewhere: ' or " 2) line 528 contains a comma in one of the fields, not as a field separator 3) line 528 contains a comment character # -Original Message- From: [EMAIL PROTECTED] on behalf of Julian Burgos Sent: Wed 12/12/2007 6:

Re: [R] Is R portable?

2007-12-05 Thread michael watson (IAH-C)
I opened this hoping someone had installed R on windows mobile or simbian :( From: [EMAIL PROTECTED] on behalf of Duncan Murdoch Sent: Tue 04/12/2007 10:54 PM To: Tom Backer Johnsen Cc: [EMAIL PROTECTED] Subject: Re: [R] Is R portable? On 04/12/2007 5:25 PM

Re: [R] R 2.6.0 Error in X11() : could not find X11 fonts

2007-11-22 Thread michael watson (IAH-C)
Been through the mill on this one ;) Prof Ripley found a workaround: http://tolstoy.newcastle.edu.au/R/e2/help/07/05/17402.html Still haven;t found the right fonts though ;) -Original Message- From: [EMAIL PROTECTED] on behalf of Patrick Connolly Sent: Thu 22/11/2007 7:33 PM To: Correia

[R] Problems with fonts on linux using GDD

2007-11-20 Thread michael watson (IAH-C)
Hi Apologies for this question. I have read the help for GDD and font mapping, and it tells me that the config file, /usr/lib/R/library/GDD/fonts/basefont.mapping is responsible for mapping fonts to the GDD library. However: > .GDD.font() [1] "/usr/X11R6/lib/X11/fonts/Type1/l048013t.afm" [2] "/

Re: [R] Odp: help with image function

2007-10-24 Thread michael watson (IAH-C)
The Disney way: par(mar=c(2,8,2,2)) barplot(rep(1,10), axes=FALSE, names=rev(paste(breaks[1:10], breaks[2:11], sep="-")), horiz=TRUE, col=heat.colors(10), las=2) From: [EMAIL PROTECTED] on behalf of Petr PIKAL Sent: Wed 24/10/2007 11:33 AM To: Jonas Ă–ster C

Re: [R] Correlation matrices comparison

2007-10-18 Thread michael watson (IAH-C)
I looked at this a while ago - what are you trying to do? ie what are you correlating? From: [EMAIL PROTECTED] on behalf of Jorge Ivan Velez Valbuena Sent: Thu 18/10/2007 12:20 AM To: r-help Subject: [R] Correlation matrices comparison Hi all, Somebody knows

Re: [R] Error: X11 cannot allocate additional graphics colours.

2007-10-16 Thread michael watson (IAH-C)
PROTECTED] Sent: 15 October 2007 21:41 To: michael watson (IAH-C) Cc: Charles C. Berry; r-help@r-project.org Subject: Re: [R] Error: X11 cannot allocate additional graphics colours. This is not a X server version issue. There are Linux system (not R) display settings that will dictate the

Re: [R] Error: X11 cannot allocate additional graphics colours.

2007-10-16 Thread michael watson (IAH-C)
's looking for. -Original Message- From: Prof Brian Ripley [mailto:[EMAIL PROTECTED] Sent: 16 October 2007 07:29 To: michael watson (IAH-C) Cc: Paul Gilbert; r-help@r-project.org Subject: Re: [R] Error: X11 cannot allocate additional graphics colours. On Mon, 15 Oct 2007, michae

Re: [R] Error: X11 cannot allocate additional graphics colours.

2007-10-15 Thread michael watson (IAH-C)
e 'man Xvfb' for more information for the latter scenario. > > HTH, > > Marc Schwartz > > On Mon, 2007-10-15 at 20:53 +0100, michael watson (IAH-C) wrote: >> Thanks for the response... >> >> My confusion about plot stems from the fact I am plotting 82

Re: [R] Error: X11 cannot allocate additional graphics colours.

2007-10-15 Thread michael watson (IAH-C)
stall X version foo, available from http://www.foo.com/bar.rpm...) -Original Message- From: Charles C. Berry [mailto:[EMAIL PROTECTED] Sent: Mon 15/10/2007 7:54 PM To: michael watson (IAH-C) Cc: r-help@r-project.org Subject: Re: [R] Error: X11 cannot allocate additional graphics colou

Re: [R] Fonts do not display properly in R 2.5.1 on Red HatEnterprise Linux 4

2007-10-15 Thread michael watson (IAH-C)
OK, tried google, got very, very lost. There are lots of different packages out there. Can anyone tell me where I can download the "Unicode X11 (meta-)fonts" for Red Hat that R needs? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of michael wat

Re: [R] Fonts do not display properly in R 2.5.1 on Red Hat Enterprise Linux 4

2007-10-15 Thread michael watson (IAH-C)
Thank you Brian, setting the locale using. Sys.setlocale("LC_CTYPE","en_GB") Meant that my test plot command worked fine. Will now install Unicode X11 fonts -Original Message- From: Prof Brian Ripley [mailto:[EMAIL PROTECTED] Sent: 15 October 2007 14:12 To: micha

[R] Error: X11 cannot allocate additional graphics colours.

2007-10-15 Thread michael watson (IAH-C)
Dear All Another one I have touched on before with a much older OS and version. My sessionInfo() is: > sessionInfo() R version 2.5.1 (2007-06-27) i686-redhat-linux-gnu locale: LC_CTYPE=en_GB.UTF-8;LC_NUMERIC=C;LC_TIME=en_GB.UTF-8;LC_COLLATE=en_GB.U TF-8;LC_MONETARY=en_GB.UTF-8;LC_MESSAGES=en_G

[R] Fonts do not display properly in R 2.5.1 on Red Hat Enterprise Linux 4

2007-10-15 Thread michael watson (IAH-C)
Dear All I posted a similar question quite some time ago, but that was on an old OS and an old version of R. This time I have RHEL 4, which is still supported as an OS, and R 2.5.1 which is not *that* old. My sessionInfo() gives: > sessionInfo() R version 2.5.1 (2007-06-27) i686-redhat-linux-g

Re: [R] heatmap

2007-10-08 Thread michael watson (IAH-C)
If you just want a coloured representation of your distance matrix, use image() ?image() If you want to cluster your original data and show the original data (not the distances) as a heatmap then use heatmap(), but you should use something like hclust() to cluster the data first. ___

Re: [R] Concatenating one character vector into one string

2007-10-01 Thread michael watson (IAH-C)
We need both sep and collapse to deal with situations where we are pasting two character vectors and also where we are pasting just one. paste(c("T","i","o","s"), c("his ", "s ", "ne ", "entence."),sep="",collapse="") -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] O

Re: [R] making R packages and compacting an entire R set up

2007-09-24 Thread michael watson (IAH-C)
For 1, start off with package.skeleton Then http://www.biostat.wisc.edu/~kbroman/Rintro/Rwinpack.html From: [EMAIL PROTECTED] on behalf of Edna Bell Sent: Mon 24/09/2007 3:40 PM To: [EMAIL PROTECTED] Subject: [R] making R packages and compacting an entire R set