The attached test6.r sets up input for simplex from boot package. It's input file is short2A.txt. Running under R 1.6.1 I get the following error message. Error in simplex1 (out1$a[1:(n + m1 + m2)], out1$A[, 1:(n + m1 + m2)], : subscript out of bounds Other calls to simplex seem to work properly What am I doing wrong? -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: test6.R Url: https://stat.ethz.ch/pipermail/r-help/attachments/20021207/03186d4c/test6.pl -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: short2A.txt Url: https://stat.ethz.ch/pipermail/r-help/attachments/20021207/03186d4c/short2A.txt