[R] Customizing x-axis with stripchart

Gabor Grothendieck ggrothendieck at gmail.com
Sun Nov 25 01:14:47 CET 2007


On Nov 24, 2007 7:01 PM, Duncan Murdoch <murdoch at stats.uwo.ca> wrote:
> On 24/11/2007 6:22 PM, Paul Smith wrote:
> > On Nov 24, 2007 11:14 PM, Duncan Murdoch <murdoch at stats.uwo.ca> wrote:
> >>>> With plot, one can use to the option 'axes=F' to remove axes. I have
> >>>> tried it with stripchart, but no success. How can one then customize
> >>>> the x-axis with stripchart?
> >>> stripchart() doesn't give you that option.  You could edit the source to
> >>> do it if you want.
> >>>
> >>> The r-devel version has more flexibility than R 2.6.0, but axes=F is not
> >>> currently there.  It probably should be.
> >> It is now.  So your choices are to edit the stripchart code in an
> >> released version, or try out r-devel.  If you're using a binary build,
> >> better wait a day or two for this change to make it in.
> >
> > Thanks, Duncan. I do not have the proper expertise to do that; so, I
> > will wait for the next official release of R.
>
> That's coming on Monday, and will be 2.6.1.  This won't make it into
> there; you'll have to wait for 2.7.0 in April.
>
> But it really isn't that hard to do:  just type fix(stripchart), and it
> will be pretty clear what to delete (the calls to box(), axis(), and
> Axis()).

or download it from:

https://svn.r-project.org/R/trunk/src/library/graphics/R/stripchart.R

and then

source("stripchart.R")

(Is there some way to source it directly without downloading it and
then sourcing it?
source() does not appear to work directly with https:)



More information about the R-help mailing list