[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 <erich.s...@neuwirth.priv.at<mailto:erich.s...@neuwirth.priv.at>> wrot

[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 UNSUB

[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

[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 limit

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

[R] Plotting dendrogram upside-down/mirrored

2011-01-18 Thread Nathan S. Watson-Haigh
is 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
, ... : 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 threshold Please help. Basilea Watson Biostatistician Tuberculosis

[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 CSIRO

[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] Problem building packages on windows: /cygdrive/c/Rtools/bin/cp: target `xf-))' is not a directory

2010-03-13 Thread michael watson (IAH-C)
. 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.03.2010 18

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)
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 (IAH-C) wrote

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

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

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

[R] Superimpose ksmooth() onto barplot

2010-02-09 Thread Nathan S. Watson-Haigh
(rownames(d))), blue)) Cheers, 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.au

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

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,]$a, d[i

[R] Help with apply()

2010-02-07 Thread Nathan S. Watson-Haigh
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 University Drive

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

2010-01-27 Thread Nathan S. Watson-Haigh
-- 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.au/people/Nathan.Watson-Haigh.html

[R] Bulk Match/Replace

2010-01-26 Thread Nathan S. Watson-Haigh
. 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.au/people/Nathan.Watson-Haigh.html __ R-help@r-project.org mailing

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] RMySQL Append data.frame to table

2010-01-24 Thread Nathan S. Watson-Haigh
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, QLD 4810 Australia Tel: +61 (0)7 4753 8548 Fax: +61 (0

[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

[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:

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

2009-09-16 Thread michael watson (IAH-C)
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 64bit and the machine has 16Gb of RAM

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] 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) m1 [,1] [,2] [,3] [,4] [1,]1111 [2

[R] Converting indices of a matrix subset

2009-07-08 Thread Nathan S. Watson-Haigh
. 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.html - -BEGIN

[R] Coerce rectangular matrix to symmetrical square matrix

2009-06-17 Thread Nathan S. Watson-Haigh
. 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.html

[R] Identifying clusters of size n

2009-06-14 Thread Nathan S. Watson-Haigh
. 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-Haigh.html

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-Haighnathan.watson-ha...@csiro.au wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Is there a library which is capable of identifying distinct clusters of size n

[R] Package Licences

2009-05-29 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-26 Thread Nathan S. Watson-Haigh
)/number.groups,0))) } number.groups.list-c(number.groups.list, rep(number.groups, (length(work)-length(number.groups.list)) )) 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

[R] Splitting Area under curve into equal portions

2009-03-25 Thread Nathan S. Watson-Haigh
. 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-Haigh.html

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

2009-03-24 Thread Nathan S. Watson-Haigh
) { # A slave has closed down. closed_slaves - closed_slaves + 1 } } mpi.close.Rslaves() /code - -- - Dr. Nathan S. Watson-Haigh OCE Post Doctoral Fellow CSIRO Livestock Industries Queensland Bioscience Precinct St Lucia

[R] Create package with Fortran 90 and C code

2009-02-16 Thread Nathan S. Watson-Haigh
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: +61 (0)7 3214 2900 Web: http://www.csiro.au/people

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

2009-02-11 Thread Nathan S. Watson-Haigh
334 4 [3,]345455455 5 mxy - m[cbind(indx[1,], indx[2,])] mxy [1] 6 6 6 11 11 16 12 12 17 18 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

[R] Looping over a matrix passed to .C

2009-02-10 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-Haigh.html

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

2009-02-02 Thread Nathan S. Watson-Haigh
, 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 - -- - Dr. Nathan S. Watson-Haigh OCE Post Doctoral

[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 2922 Fax: +61

Re: [R] Precision in R

2009-01-14 Thread Nathan S. Watson-Haigh
-contained, reproducible code. - -- - 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

[R] fitting curve to data

2009-01-11 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-Haigh.html

Re: [R] fitting curve to data

2009-01-11 Thread Nathan S. Watson-Haigh
) lines(x, predict(lm(y~I(x^2 Nathan S. Watson-Haigh nathan.watson-ha...@csiro.au 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 0.072 0.088 0.108 0.140 [13] 0.156 0.180 0.208 0.236 0.264 0.296 0.320 0.360 0.408 0.444 0.472 0.524

[R] Memory Efficiency of Symmetric Matrix

2009-01-06 Thread Nathan S. Watson-Haigh
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, QLD 4067

Re: [R] Memory Efficiency of Symmetric Matrix

2009-01-06 Thread Nathan S. Watson-Haigh
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 Emne: [R] Memory Efficiency of Symmetric Matrix I'm generating a symmetric

[R] Understanding dsyrk_ in C code

2009-01-06 Thread Nathan S. Watson-Haigh
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. Watson-Haigh OCE Post Doctoral Fellow CSIRO Livestock Industries Queensland Bioscience Precinct St

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'm no pro at that! the C command reads

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 correlation coefficients for a large matrix of size 18563 x

[R] Pearson Correlation Speed

2008-12-14 Thread Nathan S. Watson-Haigh
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 - -- - Dr. Nathan S. Watson-Haigh OCE Post Doctoral Fellow CSIRO

[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

[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 in

[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

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)
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: Tue 05/08/2008 7:44 PM To: michael watson (IAH-C) Cc: Henrique Dallazuanna; r-help@r

Re: [R] Greek characters in plots

2008-08-05 Thread michael watson (IAH-C)
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 plot(1, main = bquote(.(tag) ~ Delta * .(suffix 2008/8/5

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

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

[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] 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:

[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

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

2007-10-16 Thread michael watson (IAH-C)
] 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 number

[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)

[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

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: michael watson (IAH-C) Cc

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 watson (IAH-C

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

2007-10-15 Thread michael watson (IAH-C)
://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 colours. You knew this? http

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] On Behalf Of Bos,

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