Re: [R] Speed up R

2007-06-20 Thread Robert McFadden
-Original Message- From: Prof Brian Ripley [mailto:[EMAIL PROTECTED] The advantage of dual processors is that you can use the machine for several things at once, including multiple R jobs. For example, when I am doing package checking I am typically checking 4 packages at once

[R] Speed up R

2007-06-19 Thread Robert McFadden
Dear R Users, I hope that there is someone who has an experience with a problem that I describe below and will help me. I must buy new desktop computer and I'm wondering which processor to choose if my only aim is to speed up R. I would like to reduce a simulation time - sometimes it takes days.

Re: [R] help comparing two median with R

2007-04-17 Thread Robert McFadden
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Lemon Sent: Tuesday, April 17, 2007 12:37 PM To: Pedro A Reche Cc: r-help@stat.math.ethz.ch Subject: Re: [R] help comparing two median with R Pedro A Reche wrote: Dear R users, I am new

[R] software comparison

2007-04-15 Thread Robert McFadden
Dear R Users, May be you are interested in an article that compares 9 statistical softwares (including R). Any comments are appreciate. Article: Keeling, Kellie B.; Pavur, Robert J.A comparative study of the reliability of nine statistical software packages Computational Statistics and Data

[R] clear console

2007-04-05 Thread Robert McFadden
Hi R Users, In Windows I can clear console using CTRL-L, but can I do this by certain command in my programs? e.g for (i in 1:10){ something clear console } Best, Rob [[alternative HTML version deleted]] __

Re: [R] clear console

2007-04-05 Thread Robert McFadden
Gabor thank you very much. It works wonderful. Rob -Original Message- From: Gabor Grothendieck [mailto:[EMAIL PROTECTED] Sent: Thursday, April 05, 2007 1:39 PM To: Robert McFadden Cc: r-help@stat.math.ethz.ch Subject: Re: [R] clear console Check out: http

Re: [R] Device drivers - png()/jpeg()

2007-04-02 Thread Robert McFadden
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Schmitt, Corinna Sent: Monday, April 02, 2007 2:58 PM To: r-help@stat.math.ethz.ch Subject: [R] Device drivers - png()/jpeg() Hallo R-experts, I produced a R graphic with the help of the

[R] merge words=data name

2007-02-11 Thread Robert McFadden
I would like to merge two parts of words to get a name of the data. First M3$N (invariable) and second is a number from 0001 to 3003 - M3$N0001,M3$N0002,...,M3$N3003. For example if I do it like this: my.data - paste(M3$N,2456,sep=) I get my.data [1] M3$N2456 But I want to get something

Re: [R] merge words=data name

2007-02-11 Thread Robert McFadden
-Original Message- From: Duncan Murdoch [mailto:[EMAIL PROTECTED] eval(parse(text=my.data)) I would like to thank everybody very much for help, but especially for Duncan - it works wonderful. Rob __ R-help@stat.math.ethz.ch mailing

[R] matrix - change values

2006-12-14 Thread robert-mcfadden
Dear R Users, I have a matrix A, and I want to change every value of this matrix if these values are greater than an assuming value. For a vector it is simple, e.g. a-c(1:10); a[a5]-0. Of course, I can change matrix to vector, assign a value then change vector to matrix. But does there exist

Re: [R] matrix - change values

2006-12-14 Thread robert-mcfadden
I would like to thanks everybody for helpful suggestion. Rob Od: [EMAIL PROTECTED] Do: r-help@stat.math.ethz.ch Data: 14 grudnia 2006 15:01 Temat: [R] matrix - change values Dear R Users, I have a matrix A, and I want to change every value of this matrix if these values are greater than an

Re: [R] Firefox extension fo R Site Search

2006-08-30 Thread Robert Mcfadden
May be it's not a bug, but I tried to search for the package rpanel and I was not find. At the r-project's site that package is available. How to explain it? Rob __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] Firefox extension fo R Site Search

2006-08-28 Thread Robert Mcfadden
It's excellent. Good work. Robert __ 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,

Re: [R] arima() function - issues

2006-07-27 Thread Robert Mcfadden
Seasonal ARIMA is in the package: http://www.robhyndman.info/Rlibrary/forecast/index.html If you are interested in time series look at http://zoonek2.free.fr/UNIX/48_R/all.html Hope this help Robert -Original Message- From: [EMAIL PROTECTED] [mailto:r-help- [EMAIL PROTECTED] On

[R] change the name of file

2006-07-24 Thread Robert Mcfadden
Dear R Users, Is it possible to make file names dependent on a changing variable? For instance. I generate random numbers in a loop and at each iteration I want data to write to file (I do not want to write everything in one file using 'append'): for (i in 1:50){ x-matrix(runif(100,

Re: [R] change the name of file

2006-07-24 Thread Robert Mcfadden
:16 AM To: Robert Mcfadden Subject: Re: [R] change the name of file From: Robert Mcfadden [EMAIL PROTECTED] Date: 2006/07/24 Mon AM 04:06:38 CDT To: r-help@stat.math.ethz.ch Subject: [R] change the name of file i think file=paste(data_, i,txt,sep=) should work but someone else

[R] R shutdown

2006-07-22 Thread Robert Mcfadden
that is created when error appear. Maybe You as an expert will figure out what is happening to me. Best, Robert McFadden ?xml version=1.0 encoding=UTF-16? DATABASE EXE NAME=Rgui.exe FILTER=GRABMI_FILTER_PRIVACY MATCHING_FILE NAME=md5check.exe SIZE=15360 CHECKSUM=0x5685AC04

[R] get rid of error in Factor Analysis

2006-07-19 Thread Robert Mcfadden
Dear All, I wrote a program and there is a loop. At each iteration I use maximum likelihood factor analysis (?factanal). Output of factor analysis I use later (in this loop). Unfortunately from time to time I get an error message (I paste it below) and everything is stopped. Is it possible to

[R] rbind, array

2006-07-16 Thread Robert Mcfadden
Hello, I'm looping something like rbind for array. More precisely: if I define y-array(c(1:27),dim=c(3,3,3)) and I take 3 matrix: y[,,1], y[,,2], y[,,3] and write rbind(y[,,1], y[,,2], y[,,3]) I get what I want. But what if I have hundreds such matrix. How to do it. Robert

Re: [R] TR: Latent Class Analysis

2006-07-14 Thread Robert Mcfadden
De : Pousset [mailto:[EMAIL PROTECTED] Envoyi : mardi 4 juillet 2006 18:38 @ : 'r-help@stat.math.ethz.ch' Objet : Latent Class Analysis Hello everybody, I am working on latent class analysis and have already used the R function + lca ; (in the e1071 package). I ve got

Re: [R] shapiro.test() output

2006-07-13 Thread Robert Mcfadden
-Original Message- From: [EMAIL PROTECTED] [mailto:r-help- [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, July 12, 2006 11:14 PM To: r-help@stat.math.ethz.ch Subject: [R] shapiro.test() output R Users: My question is probably more about elementary

[R] Second Partial Derivatives

2006-07-11 Thread Robert Mcfadden
Hello, Does R have any build-in function which allow me to count second partial derivatives numerically? RobertM [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list

[R] print color

2006-07-10 Thread Robert Mcfadden
Dear R Users, Is it possible to make R print the largest item in each row of a matrix X with red font? Example: 1247 8431 ... Therefore 7 and 8 should be in red color. I would appreciate any suggestion Robert McFadden

[R] Decimal places

2006-05-24 Thread Robert Mcfadden
Hello, I would like to force R to print 2 decimal places. I use options(digits=2) but as far as I know it prints significant digits so in certain cases is more then 2. Is there other way to do it? Best, Robert [[alternative HTML version deleted]]

Re: [R] Decimal places

2006-05-24 Thread Robert Mcfadden
Thank you very much. Round(x, digids=2) works perfect. Rob -Original Message- From: Prof Brian Ripley [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 24, 2006 10:47 PM To: Robert Mcfadden Cc: r-help@stat.math.ethz.ch Subject: Re: [R] Decimal places On Wed, 24 May 2006, Robert Mcfadden

[R] Matrix in 3D

2006-05-22 Thread robert-mcfadden
Dear R Users, Is it possible to add another (third) index to matrix (as in MATLAB). For some analysis e.g. finite mixture models is necessary. Simple example i-3 matrix[, , i]-matrixA[, ,i]%*%matrixB[, , i] I would appreciate any help Rob __

Re: [R] Matrix in 3D

2006-05-22 Thread robert-mcfadden
Thank you very much you Robin and Uwe. Od: Robin Hankin [EMAIL PROTECTED] Do: Uwe Ligges [EMAIL PROTECTED] Data: 22 maja 2006 11:04 Temat: Re: [R] Matrix in 3D Hi there are dozens of examples of this kind of thing in the R-and-octave.txt file, in the contributed docs section of CRAN.

[R] iteration history

2006-02-06 Thread Robert Mcfadden
Dear R Users I would like to use optim function to optimize a function. I read help but I couldn't find what I need: is it possible to get information after each iteration, for example as there is in MATLAB: Gradient's Iteration Func-count