Hi, This happens in 2.8 and 2.9. I am posting this here because I am not sure if one should use bug.report for reporting bugs in unreleased versions.
I was trying to run the example from the help page of plot.rpart. I got > library(rpart) > fit <- rpart(Price ~ Mileage + Type + Country, cu.summary) > plot(fit, compress=TRUE) Error in get(getOption("device")) : invalid first argument This also produces a blank graphics window. When I run the plot command again everything seems to work fine, so the error only occurs when the graphics window is not open. I use Windows XP SP2. I just compiled the newest RC of 2.8 (R version 2.8.0 RC (2008-10-14 r46714)). I ran "make fullcheck" on it and everything checked out fine. The same thing happens in 2.9 but it worked fine in 2.7.2. Andy __________________________________ Andy Jaworski 518-1-01 Process Laboratory 3M Corporate Research Laboratory ----- E-mail: [EMAIL PROTECTED] Tel: (651) 733-6092 Fax: (651) 736-3122 [[alternative HTML version deleted]] ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel