[R] [R-pkgs] precisePlacement: new package for precisely placing elements onto a base R plot

2021-06-21 Thread Jasper Watson
units, and proportions of the plotting space, all in a manner more simple than manipulating par(). CRAN: https://CRAN.R-project.org/package=precisePlacement GitHub: https://github.com/rntq472/precisePlacement Cheers, Jasper Watson [[alternative HTML version deleted

[R] [R-pkgs] RBNZ: new package for downloading Reserve Bank of New Zealand data

2020-04-27 Thread Jasper Watson
directly into R. CRAN: https://cran.r-project.org/web/packages/RBNZ/index.html GitHub: https://github.com/rntq472/RBNZ Data Source: https://www.rbnz.govt.nz/statistics Cheers, Jasper Watson [[alternative HTML version deleted]] ___ R-packages

Re: [R] "Patched " version listed on CRAN mirrors is actually Oct RC version

2016-12-22 Thread Watson, David W. (MSFC-ES62)
atched version. David Watson NASA - MSFC Mail Code ES62 Phone 256-544-1300 FAX 256-544-2964 david.w.wat...@nasa.gov<mailto:david.w.wat...@nasa.gov> On Dec 22, 2016, at 2:47 AM, Erich Subscriptions mailto:erich.s...@neuwirth.priv.at>> wrote: Current builds for R for Macs are a

[R] "Patched " version listed on CRAN mirrors is actually Oct RC version

2016-12-21 Thread Watson, David W. (MSFC-ES62)
somewhere? David Watson NASA - MSFC Mail Code ES62 Phone 256-544-1300 FAX 256-544-2964 david.w.wat...@nasa.gov<mailto:david.w.wat...@nasa.gov> [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRI

[R] "Patched " version listed on CRAN mirrors is actually Oct RC version

2016-12-05 Thread Watson, David W. (MSFC-ES62)
somewhere? David Watson NASA - MSFC Mail Code ES62 Phone 256-544-1300 FAX 256-544-2964 david.w.wat...@nasa.gov<mailto:david.w.wat...@nasa.gov> [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and mor

[R] Rpy2 and Mac OS X 10.8.3

2013-04-02 Thread Craig Watson
I am having a strange problem. I have been using python + rpy2 on my Mac for quite sometime now. I recently upgraded to OS X 10.8 from 10.6 and that's when the problem began. Now, when I try to load some R packages (like zoo) using robjects.r, python crashes with seg fault 11. Here's an example be

[R] Code works standalone, yet same code fails when part of package

2012-12-17 Thread WATSON Mick
Hi I'm missing something here but I cannot figure out what. What I can see is that the same code works when I load it via source(...) yet fails when I execute it after loading the package I have built (which includes the code. Below is a transcript of my R session. First I load the code from

[R] identify.hclust() doesn't cut tree at the vertical position of the mouse pointer

2012-07-10 Thread WATSON Mick
Dear All According to the identify.hclust documentation the function "cuts the tree at the vertical position of the pointer and highlights the cluster containing the horizontal position of the pointer". When I carry out this, the tree isn't cut where I click - in fact, there seems to be a limi

Re: [R] Placing eps files from R into Adobe InDesign documents: specifying fontfamily

2011-07-15 Thread watson
Also try using pdf() instead of postscript(). It seems to keep everything happy, and retain higher resolution. -- View this message in context: http://r.789695.n4.nabble.com/Placing-eps-files-from-R-into-Adobe-InDesign-documents-specifying-fontfamily-tp1012186p3671150.html Sent from the R help ma

[R] Plotting dendrogram upside-down/mirrored

2011-01-18 Thread Nathan S. Watson-Haigh
on the bottom and leaves at the top (in horizontal orientation) or root on the right and leaves to the left (in vertical orientation)? Cheers, Nathan -- -- Dr. Nathan S. Watson-Haigh Tel: +61 (0)7 4753 8548 OCE Postdoctoral

[R] Help with mclust package

2010-09-22 Thread Basilea Watson
s 9: In meV(data = data, z = z, prior = prior, control = control, ... : sigma-squared falls below threshold 10: In mclustBIC(data = c(1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, ... : there are missing groups 11: In meV(data = data, z = z, prior = prior, control = control, ... : sigma-squared falls below t

[R] Intersect, Union of date/time ranges

2010-03-17 Thread Nathan S. Watson-Haigh
. return the start/end date/time ranges which are in 1 or both sets Is there anything that is currently able to do this? If not, I'll start to code something. Kind regards, Nathan -- Dr. Nathan S. Watson-Haigh OCE Post Doctoral Fellow

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

[R] Superimpose ksmooth() onto barplot

2010-02-09 Thread Nathan S. Watson-Haigh
ol=as.numeric(as.factor(rownames(d)))[2]) legend("topright", c(rownames(d), "Total"), fill=c(as.numeric(as.factor(rownames(d))), "blue")) Cheers, Nathan -- Dr. Nathan S. Watson-Haigh OCE Post Doctoral Fellow CSIR

Re: [R] Help with apply()

2010-02-08 Thread Nathan S. Watson-Haigh
On 8/02/2010 4:33 PM, Jim Lemon wrote: On 02/08/2010 12:26 PM, Nathan S. Watson-Haigh wrote: I have a 2 column data.frame: > d[1:5,] a b 1 80015 C 2 80016 B 3 80023 C 4 80062 B 5 80069 B I want to apply a function across each row: > for(i in 1:nrow(d)) { + myFun(con, d[i,]$

Re: [R] Help with apply()

2010-02-08 Thread Nathan S. Watson-Haigh
On 8/02/2010 2:08 PM, David Winsemius wrote: On Feb 7, 2010, at 8:26 PM, Nathan S. Watson-Haigh wrote: I have a 2 column data.frame: d[1:5,] a b 180015 C 280016 B 380023 C 480062 B 580069 B I want to apply a function across each

[R] Help with apply()

2010-02-07 Thread Nathan S. Watson-Haigh
how to tell apply() to pass data from columns a and b for a given row as arguments to the function myFun(). Thanks in advance for any pointers, Nathan -- Dr. Nathan S. Watson-Haigh OCE Post Doctoral Fellow CSIRO Livestock Industries Unive

[R] RMySQL - Bulk loading data and creating FK links

2010-01-27 Thread Nathan S. Watson-Haigh
ert! Any pointers welcome, Nathan -- ---- Dr. Nathan S. Watson-Haigh OCE Post Doctoral Fellow CSIRO Livestock Industries University Drive Townsville, QLD 4810 Australia Tel: +61 (0)7 4753 8548 Fax: +61 (0)7 4753 8600 Web: http://www.csiro

Re: [R] Bulk Match/Replace

2010-01-26 Thread Nathan S. Watson-Haigh
I knew it should be simple . but only if you know how!! Thanks, works a treat!! Nathan Dr. Nathan S. Watson-Haigh OCE Post Doctoral Fellow CSIRO Livestock Industries University Drive Townsville, QLD 4810 Australia Tel: +61 (0)7 4753

[R] Bulk Match/Replace

2010-01-26 Thread Nathan S. Watson-Haigh
d value from lookup table df? I'd expect the following output: > v [1] "1" "2" "2" "4" "2" "4" "2" "2" "4" "2" "1" "2" "2" "1&qu

[R] RMySQL Append data.frame to table

2010-01-24 Thread Nathan S. Watson-Haigh
oad data into table Can anyone shed light on this error, or how I might bulk load this data using RMySQL? Cheers, Nathan -- ---- Dr. Nathan S. Watson-Haigh OCE Post Doctoral Fellow CSIRO Livestock Industries University Drive Townsville, QL

[R] decompress tar.gz and zip files

2010-01-12 Thread Nathan S. Watson-Haigh
Can anyone point me in the right direction for decompressing text files that are compressed as tar.gz or zip files? Cheers, Nathan -- Dr. Nathan S. Watson-Haigh OCE Post Doctoral Fellow CSIRO Livestock Industries University Drive

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

Re: [R] Converting indices of a matrix subset

2009-07-09 Thread Nathan S. Watson-Haigh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Steven, This looks great. Thanks! Nathan Steve Lianoglou wrote: > Hi Nathan, > > On Jul 8, 2009, at 10:20 PM, Nathan S. Watson-Haigh wrote: > >> I have two matrices: >> >>> m1 <- matrix(1,4,4) >>&g

[R] Converting indices of a matrix subset

2009-07-08 Thread Nathan S. Watson-Haigh
0010 [4,]0001 Any thoughts? Cheers, Nathan - -- - Dr. Nathan S. Watson-Haigh OCE Post Doctoral Fellow CSIRO Livestock Industries Queensland Bioscience Precinct St Lucia, QLD 4067 Australia Tel: +61 (0)7 3214 2922 Fax: +6

[R] Coerce rectangular matrix to symmetrical square matrix

2009-06-17 Thread Nathan S. Watson-Haigh
han S. Watson-Haigh OCE Post Doctoral Fellow CSIRO Livestock Industries Queensland Bioscience Precinct St Lucia, QLD 4067 Australia Tel: +61 (0)7 3214 2922 Fax: +61 (0)7 3214 2900 Web: http://www.csiro.au/people/Nathan.Watson-Haigh

Re: [R] Identifying clusters of size n

2009-06-14 Thread Nathan S. Watson-Haigh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dylan Beaudette wrote: > On Sun, Jun 14, 2009 at 4:39 PM, Nathan S. > Watson-Haigh wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Is there a library which is capable of identifying distinct clusters of

[R] Identifying clusters of size n

2009-06-14 Thread Nathan S. Watson-Haigh
--- Dr. Nathan S. Watson-Haigh OCE Post Doctoral Fellow CSIRO Livestock Industries Queensland Bioscience Precinct St Lucia, QLD 4067 Australia Tel: +61 (0)7 3214 2922 Fax: +61 (0)7 3214 2900 Web: http://www.csiro.au/people/Nathan.Watson-

[R] Package Licences

2009-05-28 Thread Nathan S. Watson-Haigh
Are there any particular licences under which R packages must be released or is it the discretion of the author? The same question if the package is to be destined for CRAN? Kind regards, Nathan -- Dr. Nathan S. Watson-Haigh OCE Post

Re: [R] Splitting Area under curve into equal portions

2009-03-25 Thread Nathan S. Watson-Haigh
) )) > aggregate(work, list(number.groups.list), sum) > plot(work, col=number.groups.list) > > Regards a lot, > > miltinho > brazil > > On Wed, Mar 25, 2009 at 9:48 PM, Nathan S. Watson-Haigh > wrote: > > I have some data generated as follows: > >

[R] Splitting Area under curve into equal portions

2009-03-25 Thread Nathan S. Watson-Haigh
----- Dr. Nathan S. Watson-Haigh OCE Post Doctoral Fellow CSIRO Livestock Industries Queensland Bioscience Precinct St Lucia, QLD 4067 Australia Tel: +61 (0)7 3214 2922 Fax: +61 (0)7 3214 2900 Web: htt

[R] Rmpi - send/receive multiple objects to slaves

2009-03-24 Thread Nathan S. Watson-Haigh
copy all zero values from this node's result to the master result object m_pcit[message$result] <- 0 } else if (tag == 3) { # A slave has closed down. closed_slaves <- closed_slaves + 1 } } mpi.close.Rslaves() - -- -

[R] Create package with Fortran 90 and C code

2009-02-16 Thread Nathan S. Watson-Haigh
an anyone suggest what I might do to solve this? Cheers, Nathan - -- - ---- Dr. Nathan S. Watson-Haigh OCE Post Doctoral Fellow CSIRO Livestock Industries Queensland Bioscience Precinct St Lucia, QLD 4067 Australia Tel: +61 (0)7 3214 2922 F

Re: [R] Looping over a matrix passed to .C

2009-02-11 Thread Nathan S. Watson-Haigh
; You can use each of the columns as x,y,z values and compute everything at > once. > > On Tue, Feb 10, 2009 at 9:49 PM, Nathan S. Watson-Haigh > wrote: > I've written a function in R which takes a symmetrical matrix as input and > processes all triplicate combinations of

[R] Looping over a matrix passed to .C

2009-02-10 Thread Nathan S. Watson-Haigh
th n*m. Could someone help/guide me in implementing this? Cheers, Nathan - -- - Dr. Nathan S. Watson-Haigh OCE Post Doctoral Fellow CSIRO Livestock Industries Queensland Bioscience Precinct St Lucia, QLD 4067 Australia Tel: +61 (0)7 3214 2922 Fax: +6

[R] pairs() help - colour histograms on diagonal

2009-02-02 Thread Nathan S. Watson-Haigh
breaks[-1], y, ...) } pairs(d, upper.panel=panel.smooth, diag.panel=panel.hist) So I'd like the top-left histogram on the diagonal to be coloured black, then the next one on the diagonal to be coloured blue etc. Is this possible? Cheers, Nathan - -- - -------

Re: [R] Precision in R

2009-01-14 Thread Nathan S. Watson-Haigh
;-sum(WB.i*WB.j) >} > } >} > > > === > Attention: The information contained in this message and...{{dropped:15}} > > __ >

[R] R package tests

2009-01-14 Thread Nathan S. Watson-Haigh
Are these approaches used for testing packages in CRAN? Cheers, Nathan - -- - Dr. Nathan S. Watson-Haigh OCE Post Doctoral Fellow CSIRO Livestock Industries Queensland Bioscience Precinct St Lucia, QLD 4067 Australia Tel: +61 (0)7 3214 292

Re: [R] fitting curve to data

2009-01-11 Thread Nathan S. Watson-Haigh
,1700,1800,1900,2000,2100,2200,2300,2400,2500) > plot(x,y) > lines(x, predict(lm(y~I(x^2 > > >>>> "Nathan S. Watson-Haigh" 01/12/09 > 2:19 AM >>> > I have the following data: > >> y > [1] 0.000 0.004 0.008 0.016 0.024 0.032 0.044 0.064

[R] fitting curve to data

2009-01-11 Thread Nathan S. Watson-Haigh
Cheers, Nathan - -- - ---- Dr. Nathan S. Watson-Haigh OCE Post Doctoral Fellow CSIRO Livestock Industries Queensland Bioscience Precinct St Lucia, QLD 4067 Australia Tel: +61 (0)7 3214 2922 Fax: +61 (0)7 3214 2900 Web: http://www.csiro.au/people/Nathan.W

Re: [R] Understanding dsyrk_ in C code

2009-01-06 Thread Nathan S. Watson-Haigh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Charles C. Berry wrote: > On Wed, 7 Jan 2009, Nathan S. Watson-Haigh wrote: > > I'm trying to understand some C code in an R package I'm using. I'm address > this question here as > it's matrix algebra...and I&#

[R] Understanding dsyrk_ in C code

2009-01-06 Thread Nathan S. Watson-Haigh
n being performed is: alpha*A*A' + beta*C However, since alpha is 1 and beta is 0, this reduces to: => 1*A*A' + 0*C => A*A' Which is simply the cross productam I correct? Cheers, Nath - -- - Dr. Nathan S. Wa

Re: [R] Memory Efficiency of Symmetric Matrix

2009-01-06 Thread Nathan S. Watson-Haigh
angle only) I'm just trying to test it out with my usual 24k x 24k size matrices. >> >> >> Fra: r-help-boun...@r-project.org på vegne af Nathan S. Watson-Haigh >> Sendt: on 07-01-2009 01:28 >> Til: r-h...@r-project.org >>

[R] Memory Efficiency of Symmetric Matrix

2009-01-06 Thread Nathan S. Watson-Haigh
I should be able to almost half the memory usage for large matrices. Any thoughts/comments? Cheers, Nathan - -- - Dr. Nathan S. Watson-Haigh OCE Post Doctoral Fellow CSIRO Livestock Industries Queensland Bioscience Precinct St Lucia,

Re: [R] [ExternalEmail] Pearson Correlation Speed

2008-12-15 Thread Nathan S. Watson-Haigh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Charles C. Berry wrote: > On Mon, 15 Dec 2008, Nathan S. Watson-Haigh wrote: > >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Nathan S. Watson-Haigh wrote: >>> I'm trying to calculate Pearson cor

Re: [R] [ExternalEmail] Pearson Correlation Speed

2008-12-14 Thread Nathan S. Watson-Haigh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nathan S. Watson-Haigh wrote: > I'm trying to calculate Pearson correlation coefficients for a large > matrix of size 18563 x 18563. The following function takes about XX > minutes to complete, and I'd like to do this calculation a

[R] Pearson Correlation Speed

2008-12-14 Thread Nathan S. Watson-Haigh
to do some other work with the C++ code in order to allow me to use it from within my R scripts - any pointers on that? Thanks for any input - I hope I just need a hand over the initial hurdles and then I can get onto that up-hill learning curve!! Nathan - -- - -----

[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] "/

[R] Plots in Meta-Analysis

2007-10-24 Thread Heather Watson
Hello, I have been working with the meta and rmeta packages in R. Is it possible to plot both the fixed and random effects so they appear on the same plot? Basically, I would like the plot to show the effects of each study, the summary effect for the fixed effects and the summary effect for

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