[R] grid packages since R-1.7.1

Patrick Connolly p.connolly at hortresearch.co.nz
Fri Dec 5 04:19:55 CET 2003


I'm having a spot of bother using code that worked with R-1.7.1 but
will not work with 1.8.1.

The beginning of the saga is with grid.polygon ostensibly not
findable.  One does exist in ..../R-1.8.1/library/grid/R, and when I
specifically load the grid package (which probably isn't a good idea),
it starts finding fault with the length of vectors being unequal.

I suspect the lengths of the vectors has more to do with a scoping
error.  If I understood why grid.polygon wasn't being found, and what
I should do about it instead of what I did, I suspect the length of
vectors problem would vanish.  It works as I'd expect in 1.7.1.

I've been using this same .Rprofile for all versions:

options(defaultPackages =  c("mva", "lattice"), keep.source.pkgs = TRUE)

It's rather unlikely that I should specifically load grid also, but
perhaps some other tricky dependency is happening.

I probably could do the rest of the project with 1.7.1, but I'd like
to be tidier than that.

Ideas appreciated.

Thanks


-- 
Patrick Connolly
HortResearch
Mt Albert
Auckland
New Zealand 
Ph: +64-9 815 4200 x 7188
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~
I have the world`s largest collection of seashells. I keep it on all
the beaches of the world ... Perhaps you`ve seen it.  ---Steven Wright 
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~




More information about the R-help mailing list