. For example:
x <- rpois(500, 100)
y <- rpois(300, 30)
Is there a much faster way than a nested for loop without resorting to Rcpp?
--
Dario Strbenac
University of Sydney
Camperdown NSW 2050
Australia
__
R-help@r-proje
.
> sessionInfo()
R Under development (unstable) (2018-01-07 r74096)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 16.04.3 LTS
--
Dario Strbenac
University of Sydney
Camperdown NSW 2050
Australia
__
R-hel
ties cross ?
------
Dario Strbenac
PhD Student
University of Sydney
Camperdown NSW 2050
Australia
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the pos
= max(breaks)))
wool tension x.Min x.Med x.Max
1A L255170
2B L142944
3A M122136
4B M162842
5A H102443
6B H131728
--
Dario
25.00 26.00 51.00 44.56 54.00 70.00
...
I'd like to obtain a data.frame of the two columns, wool and tension,
specifying the level of each factor that corresponds to each element of result.
--
Dario Strbenac
PhD Student
University of Sydney
Camperdown NS
That is an adequate solution. It's always better if R package authors don't
hard-code graphics parameters, though.
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the
(forPublication.png, units = in, h = 2.55, w = 2.4, res = 300) #
Changing pointsize to a smaller number has no effect on size of the text.
plot(aVenn)
dev.off()
--
Dario Strbenac
PhD Student
University of Sydney
Camperdown NSW 2050
Australia
four sides. The documentation
doesn't say the colour will change.
sessionInfo()
R version 3.1.1 (2014-07-10)
Platform: x86_64-unknown-linux-gnu (64-bit)
--
Dario Strbenac
PhD Student
University of Sydney
Camperdown NSW 2050
Australia
Thanks for drawing my attention to the zero.line argument. I had only checked
the help page for par.
--
Dario Strbenac
PhD Student
University of Sydney
Camperdown NSW 2050
Australia
__
R-help@r-project.org mailing
was assigned to any variables, even if I do gc() after the
loop, 5 GB of RAM is used. This makes the software unusable in a loop, because
the server freezes when it runs out of RAM.
May someone who is an expert help me ?
--
Dario Strbenac
PhD Student
University
It's a plausible use-case. For example, in the example section of a help file.
if(require(aPackage))
{
# Do computations.
# Show beginning of first result vector.
# Show beginning of second result vector.
}
__
R-help@r-project.org mailing list
States.1252
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
--
Dario Strbenac
PhD Student
The example in the question was not inside a user function.
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal,
, but am hoping it's already been considered.
--
Dario Strbenac
PhD Student
University of Sydney
Camperdown NSW 2050
Australia
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do
R 3.02.
--
Dario Strbenac
PhD Student
University of Sydney
Camperdown NSW 2050
Australia
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R
] base
loaded via a namespace (and not attached):
[1] tools_3.0.1
--
Dario Strbenac
PhD Student
University of Sydney
Camperdown NSW 2050
Australia
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman
=(X Y))
sh: Syntax error: ( unexpected
Reading the documentation for the system function, it appears to only be
relevant for executing commands. What can I do instead to declare a BASH array
? Thanks.
--
Dario Strbenac
PhD Student
University of Sydney
Thank you. This answers my question. I am using Linux, too.
From: arun [smartpink...@yahoo.com]
Sent: Monday, 29 July 2013 11:11 PM
To: Dario Strbenac
Cc: R help
Subject: Re: [R] Declare BASH Array Using R System Function
Hi,
system(names=(X Y); echo
[[1]]
[1] 1
[[2]]
[1] 2
[[3]]
[1] 3
[[4]]
[1] 4
[[5]]
[1] 5
[[6]]
[1] 6
[[7]]
[1] 7
[[8]]
[1] 8
[[9]]
[1] 9
[[10]]
[1] 10
My question is like that of
http://tolstoy.newcastle.edu.au/R/e6/help/09/03/8329.html which is not answered.
--
Dario Strbenac
PhD
)
cIDs
0
16671
The matrix of observations can be found at :
http://129.94.136.7/file_dump/dario/all.obj
I'm using R version 2.13.0 (2011-04-13) on Platform: x86_64-unknown-linux-gnu
(64-bit) and have cluster_1.13.3.
--
Dario Strbenac
Research Assistant
Thanks for this clarification.
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible
,
Dario.
--
Dario Strbenac
Research Assistant
Cancer Epigenetics
Garvan Institute of Medical Research
Darlinghurst NSW 2010
Australia
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE
just can't figure out what. Thanks for any help.
--
Dario Strbenac
Research Assistant
Cancer Epigenetics
Garvan Institute of Medical Research
Darlinghurst NSW 2010
Australia
__
R-help@r-project.org mailing list
https
and provide commented, minimal, self-contained, reproducible code.
--
Dario Strbenac
Research Assistant
Cancer Epigenetics
Garvan Institute of Medical Research
Darlinghurst NSW 2010
Australia
__
R-help@r-project.org
...@ucl.ac.uk
on Fri, 28 Jan 2011 09:23:05 + writes:
On Fri, 2011-01-28 at 10:00 +1100, Dario Strbenac wrote:
Hello,
Yes, that's right, it is a values matrix. Not a dissimilarity matrix.
i.e.
str(iMatrix)
num [1:23371, 1:56] -0.407 0.198 NA
Hello,
I've drawn a black rectangle over the plotting area, and when I add an image()
heatmap, it doesn't take up all the area, but is set inward from the black
rectangle. Can anyone suggest how to make it stretch out to the entire area ?
Minimal example :
y - matrix(runif(2000*20), nrow =
-project.org
On Thu, 2011-01-27 at 10:45 +0100, Uwe Ligges wrote:
On 27.01.2011 05:00, Dario Strbenac wrote:
Hello,
In the documentation for agnes in the package 'cluster', it says that NAs
are allowed, and sure enough it works for a small example like :
m- matrix(c(
1, 1, 1, 2,
1
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Dario
seem to fulfil the claim
made by its documentation.
The matrix I'm using can be obtained here :
http://129.94.136.7/file_dump/dario/iMatrix.obj
--
Dario Strbenac
Research Assistant
Cancer Epigenetics
Garvan Institute of Medical Research
Darlinghurst NSW 2010
))
myplot()
myplot()
--
Dario Strbenac
Research Assistant
Cancer Epigenetics
Garvan Institute of Medical Research
Darlinghurst NSW 2010
Australia
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r
Murdoch murdoch.dun...@gmail.com
Cc: d.strbe...@garvan.org.au
On Mon, 30 Aug 2010, Duncan Murdoch wrote:
On 30/08/2010 1:00 AM, Dario Strbenac wrote:
Hello,
I am using R 2.11.0. I have a curious problem where I get a warning in R
CMD check which is seemingly not relevant to my Rd file
seen both ways used for S4 methods and don't know what is the underlying
difference.
I haven't been able to find any good tutorials for the new S4 architecture
(written post 2006), so I'm not sure where to start with S4.
Thanks,
Dario.
--
Dario
Hello,
I have 2 vectors of the same mode and the same contents but I still get FALSE.
Any ideas ?
reference - c(11, 14, 16, 5, 4, 2, 0, 15, 9, 0)
reference
[1] 11 14 16 5 4 2 0 15 9 0
cpgDensity
[1] 11 14 16 5 4 2 0 15 9 0
identical(cpgDensity, reference)
[1] FALSE
a long time to
load on a slow computer in Adobe Reader, without using external programs
outside of R ?
Thanks,
Dario.
-
Dario Strbenac
Research Assistant
Cancer Epigenetics
Garvan Institute of Medical Research
Darlinghurst NSW 2010
34 matches
Mail list logo