Hi, all.
I searched a lot at mailing list, installed EBImage and gtk packages, but I
couldn't make this simple work:
How
to add a image file (jpg or bmp ou gif) to an existing plot window (not
plot over the image), like the code below (pseudo function add.image):
plot(1:10,1:10,main=test)
Hi, all.
I searched a lot at mailing list, installed EBImage and gtk packages, but I
couldn't make this simple work:
How to add a image file (jpg or bmp ou gif) to an existing plot window (not
plot over the image), like the code below (pseudo function add.image):
plot(1:10,1:10,main=test)
image =
The test is only an example. The data is an example too. The difference is
not the problem, I think, because we can make the data larger and the
difference will grow.
In my system, the original test points to Windows having the best time, and
points to difference larger than 10% between linux
vs Linux
Para: Cézar Freitas cafanselm...@yahoo.com.br
Data: Segunda-feira, 29 de Junho de 2009, 5:53
Hi Cezar,
I tried your code in a core duo laptop (@2.5Gz) with ubuntu x86_64 with 4GB of
RAM. Both R and libraries are compiled from source. These are the results.
user system elapsed
--- Em seg, 29/6/09, I. Soumpasis nono@gmail.com escreveu:
De: I. Soumpasis nono@gmail.com
Assunto: Re: [R] (performance) time in Windows vs Linux
Para: Cézar Freitas cafanselm...@yahoo.com.br
Data: Segunda-feira, 29 de Junho de 2009, 5:53
Hi Cezar,
I tried your code in a core duo
Hi, all.
I began to migrate my R codes from Windows to Linux and surprised me
with an old question. I simplified the problem and made a little test to
compare times at same
computer and the Linux time is worse (not so little) than Windows time:
28 vs 53 seconds.
I make an example (below) to
Thanks to all.
I summarized (in order to thank the list) the solutions to help future workers
searching subjects like this at R help.
# Number of rows
nr = 10
# Data set
dataf =
as.data.frame(matrix(c(rnorm(nr),rnorm(nr)*2,runif(nr),sort(c(1,1,2,2,3,3,sample(1:3,nr-6,replace=TRUE,ncol=4))
Hi. I searched the list and didn't found nothing similar to this. I simplified
my example like below:
#I need calculate correlation (for example) between 2 columns classified by a
third one at a data.frame, like below:
#number of rows
nr = 10
#the third column is to enforce that I need
8 matches
Mail list logo