[Rd] example in ?plot.window is incorrect (PR#8524)

2006-01-26 Thread jgvcqa
Full_Name: Joe Voelkel
Version: R 2.2.0
OS: Windows
Submission from: (NULL) (67.139.200.41)


In ?plot.window, the example includes the argument
   names(eurodist)

in the text function. The argument should be 
   attr(eurodist,"Labels")

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


[Rd] identify() and metafile copies under Windows XP (PR#9634)

2007-04-25 Thread jgvcqa
I am running R version as follows under Windows XP.


platform   i386-pc-mingw32 
arch   i386
os mingw32 
system i386, mingw32   
status 
major  2   
minor  5.0 
year   2007
month  04  
day23  
svn rev41293   
language   R   
version.string R version 2.5.0 (2007-04-23)


Consider the following R commands and comments

x<-1:10
plot(x)
identify(x,n=1) 
# I click under the 4th data point (and "4" appears on the graph). I
save as a Metafile and paste into Word. The original plot and "4" are
copied. This is good.

identify(x) 
# I click under the 5th data point (and "5" also now appears on the
graph) and then use the Esc key to stop the processing. I save as a
Metafile and paste into Word. The original plot and "4" are copied, but
"5" is not copied. This is not good.

identify(x,n=1) 
# I click under the 6th data point. I save as a Metafile and paste into
Word. The original plot and "4" and "6" are copied, but "5" is not
copied


If I save as a bitmap the "5" is also copied.

The same problem occurred in 2.4.0.

Regards,

Joseph G. Voelkel, Ph.D.
Associate Professor and Chair, Graduate Statistics Program
Center for Quality and Applied Statistics
Kate Gleason College of Engineering
Rochester Institute of Technology
V 585-475-2231
F 585-475-5959
[EMAIL PROTECTED]

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


[Rd] rpart: ylim problem in plotcp (PR#13530)

2009-02-15 Thread jgvcqa
Full_Name: Joe Voelkel
Version: 2.8.1
OS: Window
Submission from: (NULL) (70.100.144.240)


# Use of ylim in plotcp generates this message
# Error in plot.default [more stuff]
#  formal argument "ylim" matched by multiple actual arguments

# Here is how to generate the bug (which the plotcp function tries to handle)
#   and how to patch it--but at the loss of dots in plot

library(rpart)
fit <- rpart(Kyphosis ~ Age + Number + Start, data=kyphosis)
windows(5,5)
plotcp(fit)
plotcp(fit,ylim=c(0,2))  # generates error message

plotcp2<-plotcp
fix(plotcp2) # I removed ,... from the plot function
plotcp2(fit)
plotcp2(fit,ylim=c(0,2)) # patch works, but at cost of removing dots from plot

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


[Rd] bug in rect (PR#9307)

2006-10-19 Thread jgvcqa
Full_Name: Joe Voelkel
Version: 2.4.0
OS: Windows XP
Submission from: (NULL) (129.21.11.37)


Using "border=NA" in the call to rect generates an error. But the help file says
border=NA is acceptable. 

(The problem is that border=NA evaluates to TRUE for "is.logical(border)" inside
the function. Using rect with border=FALSE works fine)

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel