Re: [R] Suggestion for big files [was: Re: A comment about R:]

2006-01-09 Thread r . ghezzo
I found Reservoir-Sampling algorithms of time complexity O(n(1+log(N/n))) by Kim-Hung Li , ACM Transactions on Mathematical Software Vol 20 No 4 Dec 94 p481-492. He mentions algorithm Z and K and proposed 2 improved versions alg L and M. Algorith L is really easy to implement but relatively slow,

[R] (no subject)

2005-06-20 Thread r . ghezzo
R friends, I am using R 2.1.0 in a Win XP . I have a problem working with lists, probably I do not understand how to use them. Lets suppose that a set of patients visit a clinic once a year for 4 years on each visit a test, say 'eib' is performed with results 0 or 1 The patients do not all visit

[R] Re: automatic updating

2005-04-19 Thread r . ghezzo
Hello, Running R 2.1.0 in a Win XP I put the snipped to automatically update my libraries on Tuesdays that was presented to the list some time back, It worked with no problem for R 2.0.1 but now that I installed R 2.1.0 and copy the old Rprofile to the new r/etc I get an error. This is my

[R] find source code

2005-01-17 Thread r . ghezzo
I am using R 2.0.2 on a WinXP I am trying to get the code of the Kruskal-Wallis test but kruskal.test function (x, ...) UseMethod(kruskal.test) environment: namespace:stats ls(3) [1] acf acf2AR add.scope .. [181] kruskal.test ks.test

Re: [R] find source code

2005-01-17 Thread r . ghezzo
Thanks to all who answered my query, I forgot completely to call methods() first to check the true whole name of the function. Heberto Ghezzo Quoting Uwe Ligges [EMAIL PROTECTED]: Simon Wood wrote: stats:::kruskal.test.default and how to get there: methods(kruskal.test) # note, you

[R] help with limma

2004-12-21 Thread r . ghezzo
Follow up on my previous e-mail I am using Affys nzwC etc. are single columns vectors length 12000 then nzw,akr,bas are 12000 by 6 matrices Thanks again for any help, now I resend the e-mail to Gordon with the correct address I hope. Heberto Ghezzo McGill - Canada

[R] problems with limma

2004-12-20 Thread r . ghezzo
I try to send this message To Gordon Smyth at [EMAIL PROTECTED],edu.au but it bounced back, so here it is to r-help I am trying to use limma, just downloaded it from CRAN. I use R 2.0.1 on Win XP see the following: library(RODBC) chan1 - odbcConnectExcel(D:/Data/mgc/Chips/Chips4.xls) dd -

[R] problems with compiling a package

2004-11-16 Thread r . ghezzo
Hello, I am trying to compile packages for R2.0.0 patch in a win XP machine. Most of the packages compile without problems, with C or FTG or only R. Now some packeges give the following error which I do not understand how to correct ... preparing package xxx for lazy loading Error in names -

[R] problems compiling packages in R 2.0.0

2004-10-14 Thread r . ghezzo
Hello, I am trying to get my old packages to work in R 2.0.0 in Windows XP. Here is what I did Etc is a package of pure R functions Rcmd INSTALL -l c:/R/R_Src/library C:/R/R_Src/src/Etc -Making package Etc - adding build stamp to DESCRIPTION installing R files

[R] Re: problems installing package in R 2.0.0

2004-10-07 Thread r . ghezzo
Hello, I just installed R 2.0.0 in a Win XP machine. As old programs do not wor I tried to re-install them by: C:\R\RW2000\binRcmd INSTALL c:\r\r_src\src\autologi --Making package autologi -- adding build stamp to DESCRIPTION installing R files installing data files