[R] problems with memory in Mac

2007-07-12 Thread Carlos Guerra
Dear friends,

I am having some doubts about the amount of memory that is being used by 
R in my Mac (MacBook Pro, 2Gig). Is there a way to increase the amount 
of memory used?

When I type:

  mem.limits()

the result is:

nsize vsize
   NANA

and I can't change it, tough my computing in R isn't using all the 
memory at it's disposal.

Best regards,
Carlos

-- 
Carlos GUERRA

Gabinete de Sistemas de Informacao Geografica
Escola Superior Agraria de Ponte de Lima
Mosteiro de Refoios do Lima
4990-706 Ponte de Lima

Tlm: +351 91 2407109
Tlf: +351 258 909779

Reclaim your Inbox...!!!
http://www.mozilla.org/products/thunderbird/

__
R-help@stat.math.ethz.ch 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.


[R] Problems loading package GeoXp

2007-04-04 Thread Carlos Guerra
Dear useR's,
I wanted to load the package GeoXP in my computer but I couldn't because 
this warning message appeared:

  require(GeoXp)
Carregando pacotes exigidos: GeoXp
Carregando pacotes exigidos: tcltk
Loading Tcl/Tk interface ... Erro em fun(...) : couldn't connect to 
display :0
Além disso: Warning message:
pacote 'GeoXp' foi compilado na versão do R 2.4.1
Erro: .onLoad falhou em 'loadNamespace' para 'tcltk'
Erro: pacote 'tcltk' não pôde ser carregado

Can this package only be used under Windows??


-- 
Carlos GUERRA

Gabinete de Sistemas de Informacao Geografica
Escola Superior Agraria de Ponte de Lima
Mosteiro de Refoios do Lima
4990-706 Ponte de Lima

Tlm: +351 91 2407109
Tlf: +351 258 909779

Reclaim your Inbox...!!!
http://www.mozilla.org/products/thunderbird/

__
R-help@stat.math.ethz.ch 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.


[R] matrix similarity comparison

2007-03-19 Thread Carlos Guerra
Good morning to you all,

I have a problem with a set of matrices that I want to compare.

I want to see the similarity between them, and to be able to extract the 
differences between them.

They have all the same number of columns and rows, and correspond 
presence absence data:

for example:

m1 - matrix(c(1,0,0,0,1,0,1,1,1,1,1,1), 3,4)
m2 - matrix(c(1,0,1,0,1,0,0,1,0,1,0,1), 3,4)

I tried with the function cor2m() [package=edodist] but it didn't worked 
and my matrices are much bigger than the ones from the example.

Thank you,

Carlos

-- 
Carlos GUERRA

Gabinete de Sistemas de Informacao Geografica
Escola Superior Agraria de Ponte de Lima
Mosteiro de Refoios do Lima
4990-706 Ponte de Lima

Tlm: +351 91 2407109
Tlf: +351 258 909779

Reclaim your Inbox...!!!
http://www.mozilla.org/products/thunderbird/

__
R-help@stat.math.ethz.ch 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.


Re: [R] matrix similarity comparison

2007-03-19 Thread Carlos Guerra
Let me see if I can explain my problem better,

I have:

m1 - matrix(c(1,0,0,0,1,0,1,1,1,1,1,1), 3, 4)
rownames(m1) - c(station1, station2, station3)
colnames(m1) - c(A,B,C,D)

m2 - matrix(c(1,0,1,1,1,0,1,1,0,0,1,1), 3, 4)
rownames(m2) - c(station1, station2, station3)
colnames(m2) - c(A,B,C,D)

... and I want to:
- find the correlation between the two matrices
- for each station, extract the names of the columns that don't match in 
the two matrices

Thanks for the previous comments,
Carlos

-- 
Carlos GUERRA

Gabinete de Sistemas de Informacao Geografica
Escola Superior Agraria de Ponte de Lima
Mosteiro de Refoios do Lima
4990-706 Ponte de Lima

Tlm: +351 91 2407109
Tlf: +351 258 909779

Reclaim your Inbox...!!!
http://www.mozilla.org/products/thunderbird/

__
R-help@stat.math.ethz.ch 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.


Re: [R] Off topic:Spam on R-help increase?

2007-03-06 Thread Carlos Guerra
Dear Gunter,
I am having the same problem at my email box.

Bert Gunter escreveu:
 Folks:

 In the past 2 days I have seen a large increase of  spam getting into
 R-help. Are others experiencing this problem? If so, has there been some
 change to the spam filters on the R-servers? If not, is the problem on my
 end?

 Feel free to reply privately. 

 Thanks.

 Bert Gunter
 Genentech Nonclinical Statistics
 South San Francisco, CA 94404
 650-467-7374


   
 

 __
 R-help@stat.math.ethz.ch 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.
   

-- 
Carlos GUERRA

Gabinete de Sistemas de Informacao Geografica
Escola Superior Agraria de Ponte de Lima
Mosteiro de Refoios do Lima
4990-706 Ponte de Lima

Tlm: +351 91 2407109
Tlf: +351 258 909779

Reclaim your Inbox...!!!
http://www.mozilla.org/products/thunderbird/

__
R-help@stat.math.ethz.ch 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.


Re: [R] Off topic:Spam on R-help increase?

2007-03-06 Thread Carlos Guerra
Dear Mark,
If you are using an email program like thunderbird or any other you can 
filter your emails by key (not very amusing) words at the source.
Best regards,
Carlos

Mark W Kimpel escreveu:
 me too. Over 50% of messages are spam. I also noted the same thing on 
 ESS-help.

 Carlos Guerra wrote:
 Dear Gunter,
 I am having the same problem at my email box.

 Bert Gunter escreveu:
 Folks:

 In the past 2 days I have seen a large increase of  spam getting into
 R-help. Are others experiencing this problem? If so, has there been 
 some
 change to the spam filters on the R-servers? If not, is the problem 
 on my
 end?

 Feel free to reply privately.
 Thanks.

 Bert Gunter
 Genentech Nonclinical Statistics
 South San Francisco, CA 94404
 650-467-7374


   
  


 __
 R-help@stat.math.ethz.ch 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.
   



-- 
Carlos GUERRA

Gabinete de Sistemas de Informacao Geografica
Escola Superior Agraria de Ponte de Lima
Mosteiro de Refoios do Lima
4990-706 Ponte de Lima

Tlm: +351 91 2407109
Tlf: +351 258 909779

Reclaim your Inbox...!!!
http://www.mozilla.org/products/thunderbird/

__
R-help@stat.math.ethz.ch 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.


[R] Problems with principal components analysis PCA with prcomp

2006-11-16 Thread Carlos Guerra

Dear friends,

I am beginning to use R software in my academic research and I'm having some
problems regarding the use of PCA.
I have a table with 24445 rows and 9 columns, and I used the function
prcomp() to do the analysis.
Working with an example…:

x-read.table(test.txt, header=T)
row.names(x)-x[,1]
x-x[,-1]
require(stats)
pca-prcomp(x, scale=T)
names(pca)

## here begin my problems… know what…??##

My questions are:
1. How can I group my samples (rows) in a graphical way?
2. How can I extract the samples related to each group? …or… How can I
create a new column with n values corresponding to each group created?
3. Is it possible to extract/export the information in an object into a file
with a dbf extension (e.g. test.dbf)?

Best regards,
Carlos

+++
Carlos GUERRA

Instituto Politécnico de Viana do Castelo
Escola Superior Agrária de Ponte de Lima

Mosteiro de Refóios do Lima
4990-706 Ponte de Lima
PORTUGAL

MAIL: [EMAIL PROTECTED]
TEL: +351 912 407 109
+++
FID ALTIM   TEMPCLI FAS
0   14  4   1   2
1   65  1   1   3
2   54  1   7   1
3   112 1   5   1
4   117 4   2   1
5   180 2   1   2
6   54  4   1   3
7   125 4   1   2
8   217 4   2   2
9   171 3   2   2
10  37  4   3   3
11  114 2   4   3
12  229 4   4   3
13  286 3   3   3
14  227 3   5   3
15  16  4   5   2
16  74  4   5   2
17  89  4   6   1
18  98  2   5   1
19  64  2   4   2
20  96  2   6   1
21  100 4   6   3
22  147 4   7   1
23  196 4   7   3
24  282 3   1   3
25  308 3   1   3__
R-help@stat.math.ethz.ch 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.