Re: [R] two relatively simple questions

2006-05-12 Thread Rogerio Porto
Mark, 1) search() is ok for R on my Windows XP: it shows all the loaded packages. If you want to see all the intalled packages, try library(). 2) try detach(package:nameofpackage) to remove it from seach list. To uninstall it, simply delete its directory that you can see through searchpaths().

[R] Large database help

2006-05-15 Thread Rogerio Porto
Hello all. I have a large .txt file whose variables are fixed-columns, ie, variable V1 goes from columns 1 to 7, V2 from 8 to 23 etc. This is a 60GB file with 90 variables and 60 million observations. I'm working with a Pentium 4, 1GB RAM, Windows XP Pro. I tried the following code just to see

Re: [R] Re : Large database help

2006-05-17 Thread Rogerio Porto
Thank you all for the discussion. I'll try to summarize the suggestions and give some partial conclusions for sake of completeness of this thread. First, I had read the I/O manual but had forgotten the function read.fwf as suggested by Roger Peng. I'm sorry. But, following manual orientation,

Re: [R] How can you buy R?

2006-05-18 Thread Rogerio Porto
Damien, I think there isn't such a vendor. Maybe you can try to buy S-Plus. Maybe you can look for donations to R foundation or reading the licence term. HTH, Rogerio. - Original Message - From: Damien Joly [EMAIL PROTECTED] To: r-help@stat.math.ethz.ch Sent: Thursday, May 18, 2006

Re: [R] How can you buy R?

2006-05-19 Thread Rogerio Porto
While reading the various answers, I've remembered that the juridic part can't be that so simple. If I'm not fogeting something, there are some packages in R that has a more restrictive licence than GPL. HTH, Rogerio. - Original Message - From: Damien Joly [EMAIL PROTECTED] To:

Re: [R] Cross correlation/ bivariate/ mantel

2006-05-19 Thread Rogerio Porto
Sam, maybe you'll like to read about some environmetrics packages at http://cran.r-project.org/src/contrib/Views/Environmetrics.html or about more specific spatial analysis packages at http://cran.r-project.org/src/contrib/Views/Spatial.html Have a good reading and... good luck! Rogerio. -

Re: [R] conditional replacement

2006-05-23 Thread Rogerio Porto
Sachin, there's another slower but more flexible way than Gabor's solution: ifelse(x30,30,ifelse(x60,60,x)) HTH, Rogerio. - Original Message - From: Sachin J [EMAIL PROTECTED] To: R-help@stat.math.ethz.ch Sent: Tuesday, May 23, 2006 3:40 PM Subject: [R] conditional replacement Hi

Re: [R] Wavelet Functions

2006-05-25 Thread Rogerio Porto
Peter, making wavelet analysis requires one of the packages that you have to install: wavethresh, waveslim, wavelets or rtw. HTH, Rogerio. - Original Message - From: Peter Lauren [EMAIL PROTECTED] To: r-help@stat.math.ethz.ch Sent: Thursday, May 25, 2006 1:23 PM Subject: [R] Wavelet

Re: [R] understanding DWT

2006-05-25 Thread Rogerio Porto
Tom, I'm not sure I understood your question but I'll try to give some direction. Those lines just plot the wavelet coefficients in a manner adequatelly to visualize their magnitude in their respective location in time and scale (frequency). In this way, those lines are not there because of

Re: [R] how to pick a value from AR equation

2006-05-26 Thread Rogerio Porto
Lorenzo, in order to help you more, you should consider sending to the list some relevant code with the functions and packages you are using. Rogerio. - Original Message - From: Lorenzo Bencivelli [EMAIL PROTECTED] To: r-help@stat.math.ethz.ch Sent: Friday, May 26, 2006 1:21 PM Subject:

[R] Wavelet ordenates

2006-03-01 Thread Rogerio Porto
Hello, does someone knows how can I get the ordenates of a father wavelet using the package wavethresh? And using other package? Any hints? For example, I'd like knowing what's the value of \phi{j,k}(t), that is, the value of a father wavelet (from some family) at scale j, shift k, point t.

Re: [R] Filters in waveslim

2006-01-10 Thread Rogerio Porto
Amir, if you try the following code: require(wavelslim) data(doppler) dwt(doppler, wf=la6) you get: Error in switch(name, haar = select.haar(), d4 = select.d4(), mb4 = select.mb4(), : Invalid selection for wave.filter So, it seems that instead of la8 (default) and haar you can choose also

Re: [R] Box Ljung Statistics

2007-04-25 Thread Rogerio Porto
Gaurav, I met with below mentioned statistics in paper Stock Index Volatility Forecasting with High Frequency Data by Eugenie Hol, Siem Jan Koopman http://ideas.repec.org/p/dgr/uvatin/20020068.html I would like to ask that what is Box-Ljung portmantacau statistic based on N squared

Re: [R] sobre tutorial

2007-05-15 Thread Rogerio Porto
Danilo, http://cran.r-project.org/other-docs.html#nenglish Manuel Castejón Limas, Joaquín Ordieres Meré, Fco. Javier de Cos Juez, and Fco. Javier Martínez de Pisón Ascacibar. Control de Calidad. Metodologia para el analisis previo a la modelización de datos en procesos industriales.

Re: [R] time series

2007-05-18 Thread Rogerio Porto
Jessica, I am working with a data file which is the record of precipitation measurement normaly done every 10 minutes. I would like to check if there are missing times in my data file. Is there a function existing able to check for that in R ? I'd use max(diff(time))==min(diff(time)).

Re: [R] Spectral analysis

2007-06-07 Thread Rogerio Porto
David and Ted, since David asked about wavelets, there are some examples at the packages Wavethresh and Waveslim that could be useful. Waveslim deals with time series that are or are not a power of 2, but must be regularly spaced. Wavethresh 3 (http://www.maths.bris.ac.uk/~wavethresh/) has

Re: [R] Awk and Vilno

2007-06-13 Thread Rogerio Porto
Hey, What we should really compare is the four situations: R alone R + awk R + vilno R + awk + vilno and maybe R + SAS Data step and see what scripts are more elegant (read 'short and understandable') what do you guys think of creating a R-wiki page for syntax comparisons among the