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
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
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
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
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
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
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
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
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
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
, ... :
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
. 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
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
.
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
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
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
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
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
(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
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
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
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
--
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
. 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
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
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
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
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:
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
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
-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
. 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
. 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
. 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
-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
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
)/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
. 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
) {
# 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
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
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
- --
-
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
, 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
.
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
-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
- --
-
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
)
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
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
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
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
-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
-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
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
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:
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
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
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
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
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
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
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
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
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
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
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
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:
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]
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
]
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
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)
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
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
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
://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
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.
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,
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
77 matches
Mail list logo