I am running caret for model exploration. I developed my code a number of
months ago and I've been running it with no issues. Recently, I updated my
version of caret however, and now I am getting a new error. I'm wondering
if this is due to the new release.

The error I am getting is when I am running GBM.

        print(paste("calculating GBM for", i))
        #gbm runs over and over again
        set.seed(1)
        trainModelGBM <- train(trainClass3, trainAsym, "gbm", metric="RMSE",
                            tuneLength = 5, trControl = con)

The error I am getting is at the end of the run once all the iterations
have been processed:
Error in { :
  task 1 failed - "arguments imply differing number of rows: 5, 121"

trainClass3 and trainAsym have 311 values in them. I'm using 5 variables in
my matrix. I'm not sure where the 117 is coming from.

I found solutions online that suggested that updated the version of glmnet,
Matrix and doing something with cv.folds would work. None of these
solutions have worked for me.

Here is my R session info.

R version 2.15.1 (2012-06-22)
Platform: x86_64-unknown-linux-gnu (64-bit)

caret version 5.15-61

Thank you,

Katrina

	[[alternative HTML version deleted]]

