[R] A question about the ff package

2010-01-07 Thread Peter Tait
Hi, I am using version 2.1-1 of the ff package. I have a data set with 80 million rows and I need to create a new ffdf object, subseting by values in one of the original ffdf's columns. Here is my code: bigData <- read.table.ffdf(file="/data/demodata/data/smallData.txt", next.rows=1e5, head=TRUE,

Re: [R] Problem with the Linux R 2.8.0 rpm for 64 bit REL 4

2008-11-18 Thread Peter Tait
Carvalho <[EMAIL PROTECTED]> CC: Peter Tait <[EMAIL PROTECTED]>, r-help@r-project.org Subject: Re: [R] Problem with the Linux R 2.8.0 rpm for 64 bit REL 4 Date: Tue, 18 Nov 2008 12:00:26 -0600 I would not use 'force', as the consequences can be a corrupted RPM database and other co

[R] Problem with the Linux R 2.8.0 rpm for 64 bit REL 4

2008-11-18 Thread Peter Tait
Hi, I am trying to update my version of R on Centos 4. $uname -a Linux 2.6.9-78.0.5.ELsmp #1 SMP Wed Oct 8 07:06:30 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux I tried to update the current version of R (2.6.2) which was installed locally as an rpm $R --version R version 2.6.2 (2008-02-08)

[R] caret package: arguments passed to the classification or regression routine

2008-09-18 Thread Peter Tait
Hi, I am having problems passing arguments to method="gbm" using the train() function. I would like to train gbm using the laplace distribution or the quantile distribution. here is the code I used and the error: gbm.test <- train(x.enet, y.matrix[,7], method="gbm", distribution=list(na

Re: [R] problem with caretNWS on linux

2008-05-09 Thread Peter Tait
Follows From: Patrick Shields <[EMAIL PROTECTED]> To: Peter Tait <[EMAIL PROTECTED]> CC: r-help@r-project.org Subject: Re: [R] problem with caretNWS on linux Date: Thu, 08 May 2008 16:42:31 -0400 Peter, Are you running the NWS server on the same machine as the R session (ie the mac

[R] problem with caretNWS on linux

2008-05-08 Thread Peter Tait
Hi, I am using caretNWS on a RHEL x86_64 system and I am getting an error message that is nearly identical to the one occuring in http://www.r-project.org/nosvn/R.check/r-release-macosx-ix86/caretNWS-00check.txt Error in socketConnection(serverHost, port = port, open = "a+b", blocking = TRUE)

[R] randomForest() question

2007-11-21 Thread Peter Tait
Hi, I am trying to find some information on the strata option in randomForest(). I am hoping to make predictions from some clustered data (many predictors measured repeatedly on the same subject over time). I would like to apply random forests or gradient boosting ( gbm() ) to this problem but

[R] Using a data frame in a function call

2007-10-23 Thread Peter Tait
Hi, I am writing a basic function to extract the z scores for some linear regression coefficients: zscore<-function( y, x) { lm<-lm( y ~ x ) z <- coef(lm)/sqrt(diag(vcov(lm))) return(z) } I would like to pass a dataframe to the function as a argument so the function call changes from zs