Re: [R] Memory question

2005-07-14 Thread Kenneth Cabrera
Thank you Dr. Spencer Graves for your answer. What kind of matrices? They come form an image of about 3000x5000, and I need to generate arround 1024 matrices of the same size, they are not sparse matrices. What function can I use to, once generated one matrix, I could save into disk and

Re: [R] How to sort data sets?

2005-09-18 Thread Kenneth Cabrera
If you want to sort a data frame according a variable, the use it like datfram[order(datfram$var),] to sort all the data.frame, not just a variable Spencer Graves wrote: ?order Martin Lam wrote: Hi, I was wondering if someone know how to sort a data set by column. I've tried sort()

[R] Help with plotmath

2006-09-04 Thread Kenneth Cabrera
Hi R users: How can I have several subscript number with a comma in a plot. I would like to have the LaTeX equivalent of x_{i,j}. I try: plot(1:10,1:10,type=n) text(5,5,expression(x[i,j])) but it doesn´t work. Thank you for your help. __

Re: [R] How about a mascot for R?

2004-12-02 Thread Kenneth Cabrera
I vote for R-madillo! Erin Hodgess wrote: How about an R-madillo? Erin from Texas __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html -- Kenneth

[R] Problem with graphic window in LINUX

2004-12-13 Thread Kenneth Cabrera
Hi R users: I got a problem when I make graphics in LINUX, the graphic window is static, I can resize it, but I can not move it (there is no frame), * what should I configure in LINUX to make them work again? * Is it posible to have a history list of the graphics like in W2K, so I can see them

[R] Legal issues

2005-02-28 Thread Kenneth Cabrera
Hi R Users: I have some legal questions about R development. R is under GNU Licence, version 2. How the core team deal with their employer (most of the cases it Universities, I don't know if public or private) about their contribution to R development? Do you have to make all the work outside the

[R] Big databases

2005-03-13 Thread Kenneth Cabrera
Hi R users: I am using R 2.01. over a LINUX(Scientific Linux CERN) platform and I got the following problem: It takes too much time (more than 6 hours, because I stop the process) to read a 270MB database. I am using read.table() function. Is there any workaround to read faster a big data base?

[R] Repeat dataframe

2006-05-01 Thread Kenneth Cabrera
Hi R list: How can I repeat a data frame n times (with n1000), and obtain a new data frame where all the n data frames are binded by rows? Thank you for your help Kenneth -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ __

Re: [R] Repeat dataframe

2006-05-01 Thread Kenneth Cabrera
, Kenneth Cabrera [EMAIL PROTECTED] wrote: Hi R list: How can I repeat a data frame n times (with n1000), and obtain a new data frame where all the n data frames are binded by rows? Thank you for your help Kenneth -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail

Re: [R] Repeat dataframe

2006-05-01 Thread Kenneth Cabrera
As I said, a very more elegant solution! Thank you! On Mon, 01 May 2006 11:52:44 -0500, Prof Brian Ripley [EMAIL PROTECTED] wrote: my_df[rep(1:nrow(my_df), times=n), ] -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ __

[R] Problem installing local additional packages of Rcmdr (WinXP)

2006-07-13 Thread Kenneth Cabrera
Hi R users: I download the .zip files and also PACKAGES and PACKAGES.gz files in a local directory, but when I call library(Rcmdr) It shows me a tcl/tk windows telling me to install the additional packages, the it takes me to another window where I must specify the path where the .zip files are

[R] Update problems of Rcmdr?

2006-02-13 Thread Kenneth Cabrera
Hi R users: I got this messages when I try to use the Rcmdr library, after I make an update with update.packages() command. I am using R221 in windows environment. library(Rcmdr) Loading required package: tcltk Loading Tcl/Tk interface ... done Loading required package: car Error in

Re: [R] Update problems of Rcmdr?

2006-02-14 Thread Kenneth Cabrera
, Ontario Canada L8S 4M4 905-525-9140x23604 http://socserv.mcmaster.ca/jfox -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kenneth Cabrera Sent: Monday, February 13, 2006 7:54 PM To: r-help@stat.math.ethz.ch Subject

[R] Help with step() function

2006-03-21 Thread Kenneth Cabrera
Hi R users: When I use this commands: - testData-read.table(testData.dat,header=T) model1J-glm(MCHNV~offset(Offset1),data=testData,family=poisson) step(model1J,direction=forward,

[R] Help with step() function(2)

2006-03-21 Thread Kenneth Cabrera
Hi R users: Sorry if the attached file didn't arrive. Im sending you in a zip format, hope it arrives. The data base is not too large so I copy here in ascii format: Thank you for your help Kenneth testData.dat MCHNV IA IM altura Region Offset1 215 26.9863956381346 1.07456622007468 2 URABA

[R] Still problems with step() function

2006-03-23 Thread Kenneth Cabrera
Hi R users: I don´t know if anybody have had the same problem with 'step()' funtion. If I type the commands --- testData-read.table(testData.dat,header=T)

Re: [R] Still problems with step() function

2006-03-23 Thread Kenneth Cabrera
Ok Here is the complete command secuence -- testData-structure(list(MCHNV = c(215, 325, 435, 327, 150, 949, 417, 528, 572, 1255, 517, 221, 306, 274, 307, 203, 258, 126, 88, 85, 75, 64, 77, 49, 133, 192, 32, 73, 139, 52, 17,

Re: [R] VARIANCE across each ROW

2006-04-01 Thread Kenneth Cabrera
?apply apply(data,1,var) On Sat, 01 Apr 2006 21:27:56 -0500, mark salsburg [EMAIL PROTECTED] wrote: I have a very large matrix. I would like to display the variance across each row. In other words, I want to output a vector containing the values of variance across row. When I use

[R] for() to lapply()

2004-05-20 Thread Kenneth Cabrera
of the list in just one final data.frame. Thank you for your help -- Kenneth Cabrera Universidad Nacional de Colombia Tel Of 430 9351 Cel 315 504 9339 Medelln __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE

[R] Problem with Rcmr in R 1.9.0patched

2004-06-28 Thread Kenneth Cabrera
? Thank you for your help. PS: Also when I look for the help files using help.start(), it answers me: Could not open file file://localhost/E:/rw1091/library/Rcmdr/html/00Index.html -- Kenneth Cabrera Universidad Nacional de Colombia Tel Of 430 9351 Cel 315 504 9339 Medellín

Re: [R] Standard error of a sum

2004-07-22 Thread Kenneth Cabrera
If you supose that each mean is independent then s.err_total_chem - sqrt(sum(s.err_event^2)) If not you must estimate de var-covariance matrix to find this s.err. This estimation will be difficult given the scarce data available. Hope it will helps. Kenneth Jose A. Hernandez wrote: Folks, This is

[R] Problem installing packages.

2005-05-10 Thread Kenneth Cabrera
Hello, R users: I got the following problem when I try to install some packages using the 2.1.0 patched version on Window$. This is only an example. The same happens when I try to install ade4. (it download the packages and their dependency, but when it finish to download it shows the same error)

[R] Re: [S] subscripts error

2003-08-03 Thread Kenneth Cabrera
Hi Gianluca: try : x2-x[1:(length(x)-2)]-x[3:length(x)] OR x2-diff(x,lag=2) Hope it helps. Gianluca wrote: Hi all, I'm back to use S-Plus after a lot programming with SAS, so it's hard for me to face many simple problems Let's come to what is going to make me crazy. I have a simple 1000

Re: [R] Gram-Schmidt orthonormal factorization

2003-09-01 Thread Kenneth Cabrera
See ?qr and http://ikpe1101.ikp.kfa-juelich.de/briefbook_data_analysis/node224.html Note the compact form of how QR decomposition in R works. On Mon, 01 Sep 2003 08:54:55 -0300, CENDOYA, Gabriela [EMAIL PROTECTED] wrote: Hi: Does R have a function as gsorth is SAS, that perform a the

Re: [R] identify with image

2003-09-02 Thread Kenneth Cabrera
Hi, Dr Halvorsen Try identify(expand.grid(1:512,1:512)) But, be careful with the index of the matrix (image) On Tue, 02 Sep 2003 15:31:45 -0400, kjetil brinchmann halvorsen [EMAIL PROTECTED] wrote: Hola! I will want to identify pixels in an image with the mouse, for so getting the image

[R] Trasparent graphs?

2003-10-14 Thread Kenneth Cabrera
Hi R-users and R-experts: Is it posible to make transparent graphics on R? I mean, one graphic with colors over another one but both visible with transparent options? Thank you for your help Kenneth -- __ [EMAIL PROTECTED] mailing list

Re: [R] Trasparent graphs?

2003-10-14 Thread Kenneth Cabrera
Yes, Dr. Blackwell: What I mean is the second part: If you need to give the appearance of color mixing, you will have to identify which points coincide, and plot those again using a third color. I don't use lattice graphics, but I presume the situation is much the same. Is it possible with

[R] Indicator Kriging

2003-10-21 Thread Kenneth Cabrera
Hi R-Users Is there any package in R that work Indicator Kriging? Or somebody is working in a link between GSLIB library in FORTRAN for R? Thank you very much for your help. -- __ [EMAIL PROTECTED] mailing list

Re: [R] geoR vector length error

2003-10-24 Thread Kenneth Cabrera
Dear Dr Thomas What should I do in this case? How can I estimate the variogram using the full data set? Thank you very much for your help. Kenneth On Tue, 25 Mar 2003, Kris Nackaerts wrote: Dear, we have a problem with geoR. We try to read an ASCII table (x,y,z) with 4 lines. With

[R] Handling memory

2003-11-04 Thread Kenneth Cabrera
Dear R-Users: Which is the best way to fee memory inside a function to make room for some other process that uses most of the RAM available and latter retrive this data again to finish the function? Thank you very much for your help Kenneth Cabrera

[R] file not found?

2003-11-19 Thread Kenneth Cabrera
Hi R maintainers: when I use update.packages() And I try to update the package maps maps : Version 2.0-9 in D:/rw1080/library Version 2.0-10 on CRAN Update (y/N)? y The following message appears: trying URL `http://cran.r-project.org/bin/windows/contrib/1.8/maps_2.0-10.zip' Error in

[R] ts format for daily time serie

2003-11-20 Thread Kenneth Cabrera
Hi R-users: How can I format a daily time serie with ts function so the plot of the time shows the date right (dd/mm/yy) or yy. ? Excerp of the database: FECHA TRM 101/01/2000 1873.77 202/01/2000 1873.77 303/01/2000 1873.77 404/01/2000 1874.35 505/01/2000

Re: [R] ts format for daily time serie

2003-11-20 Thread Kenneth Cabrera
Prof Brian Ripley [EMAIL PROTECTED] wrote: It's probably best to handle this an an x-y plot (?plot.POSIXct) or as an irregular time series (see package its on CRAN). A daily time serie is not a regulary spaced time serie? The ts function is designed for time series that you want to do time-series

[R] Reading formated databases

2003-12-08 Thread Kenneth Cabrera
Hi R-users: How can I read an ascii database that is controled by the column number? For example: 7349593Luis Miguel Ariza Gutierrez 32342123 9394583X XX 34234930 39483 CCC CC39203230 3484932YY

[R] ConTEXT .chl file for R?

2003-01-23 Thread Kenneth Cabrera
Hi R-Users Does any body on the list have build a .chl file for R using the ConTEXT editor? Thank you for your help Kenneth __ [EMAIL PROTECTED] mailing list http://www.stat.math.ethz.ch/mailman/listinfo/r-help

[R] What´s wrong with update.packages()

2003-01-24 Thread Kenneth Cabrera
`tseries' is a package for time series analysis and computational finance. See `library (help=tseries)' for details. The old package version, not the 0.9-7 new version. What am I doing wrong? Thank you for your help Kenneth Cabrera

Re: [R] What´s wrong with update.packages()

2003-01-24 Thread Kenneth Cabrera
, or get the file yourself via ftp. I will do that! Where the file is cached, in the proxy server, maybe? Thank you again On Fri, 24 Jan 2003, Kenneth Cabrera wrote: Hi R users: I'm using R 1.6.2 version in W2K platform. When I use update.packages() to update from the CRAN site it shows me several

[R] fptex link?

2003-01-29 Thread Kenneth Cabrera
Hi R developers: I am collecting the elements to Build R on W2K. But I found that the www.fptex.org link, lead me to www.dante.de site. In this site I don't found where to download the fptex software. And worst: ich spreche kein Deutch!!! Danke sehr!

Re: [R]

2003-03-10 Thread Kenneth Cabrera
use the option sep=\t on write.table. see ?write.table On Mon, 10 Mar 2003 11:55:46 -0800, Francisco J Molina [EMAIL PROTECTED] wrote: Subject: separator = TAB in write.table X-Mailer: VM 7.00 under 21.4 (patch 6) Common Lisp XEmacs Lucid Reply-To: [EMAIL PROTECTED] FCC:

[R] fft help

2003-03-10 Thread Kenneth Cabrera
modify the fft C code to do that? If I want to modify the precision of the fft function, which parameter of the .Machine option do I modify, and how? Thank you for your help. Kenneth Cabrera __ [EMAIL PROTECTED] mailing list https

Re: [R] Windows and Linux version

2003-03-30 Thread Kenneth Cabrera
If you are asking about .Rdata files, the answer is yes... I do that several times and it works without any problem. The .Rhistory file is an ASCII file, so, no problem... Best Regards Saludos desde Colombia Kenneth [EMAIL PROTECTED] wrote: Hi, I would like to know if my files saved on R

[R] Three graphs

2003-03-31 Thread Kenneth Cabrera
Hi R-users: How can I obtain 3 graphics in a page but, one on the top and centered, and the other two in the bottom ? Thank you for your help -- Kenneth Roy Cabrera Torres Celular +57 (315) 405 9339 __ [EMAIL PROTECTED] mailing list

[R] Intervention/Impact analysis in time series

2003-07-23 Thread Kenneth Cabrera
Hi R users: Does any one knows about a R library for deal with intervention/impact analysis in time series (eg. Box-Tiao et. al. theory?). Thank you for your help -- Kenneth Roy Cabrera Torres Celular +57 (315) 405 9339 __ [EMAIL PROTECTED] mailing list

[R] citation() doesnt work

2004-02-17 Thread Kenneth Cabrera
Hi R users: I want to know if you have the same problem with the citation() function, it doesnt work! Thank you R in W2K, version 1.8.1. -- Kenneth Cabrera Universidad Nacional de Colombia Tel 430 9351 Cel 315 504 9339 Medelln __ [EMAIL PROTECTED

[R] model.tables (se=T) with interaction

2004-03-19 Thread Kenneth Cabrera
Hi R users. Why if I have a two-way or multifactor analysis of variance and I call the function model.tables with the se=T options there is not estimation when I have an interaction on the model? Thank you very much for your help -- Kenneth Cabrera Universidad Nacional de Colombia Tel Of 430

[R] Which is the best hardware?

2005-12-05 Thread Kenneth Cabrera
Hi R users: In your opinion and experience, which hardware configuration is the best to run R over LINUX ? With best I mean best performance, and also cheapest. (about U$ 2.000 the whole basic system: mother board+CPUs+RAM+HD) By the way, which LINUX distribution is the best to run R with high

[R] Data frame index?

2006-01-17 Thread Kenneth Cabrera
Hi, R users: I have a data.frame (not a matrix), I got a vector with the same length as the number of records (rows) of the data frame, and each element of that vector is the column number (in a specific range of columns) of the corresponding record that I must set to zero. How can I do

[R] Cluster in large dataset with nominal variables.

2007-04-05 Thread Kenneth Cabrera
Hi R users: Is it any R implementation of a cluster procedure for large data sets (clara()) but with dissimilary that can handle continuous, categorical and nominal variables (daisy()) like CLARANS (Clustering Large Applications based up on RANdomized Search), por example? Thank you for your

[R] A problem with svIDE in Tinn-R?

2007-04-29 Thread Kenneth Cabrera
Hi R users: I want to know if any one of you had the problem with Tinn-R, when you call the library svIDE on the new R 2.5.0, (because in the old R 2.4.1 works with out any problem). I got this message: library(svIDE) Loading required package: tcltk Loading Tcl/Tk interface ... done Warning

Re: [R] how to reproduce the same sampled units?

2007-05-02 Thread Kenneth Cabrera
?set.seed On Wed, 02 May 2007 18:25:18 -0500, Santanu Pramanik [EMAIL PROTECTED] wrote: Hi all, Is it possible to generate the same sample number of times in R? In SAS, using the option seed it is possible to reproduce exactly the same sample. Is there any such feature in R which I can

[R] Help in installing rggobi in ubuntu linux

2007-07-08 Thread Kenneth Cabrera
Hi R users. I am experimenting with ubuntu 7.04 Feisty. I install the ggobi package with apt-get. I got almost all the packages, but when I try to obtain rggobi, I got this message: -