Re: [R] subscripted assignment of grid units

2009-07-07 Thread Paul Murrell
Hi You have encountered the fact that, while there are "[" methods for grid unit objects, there are NOT any "[<-" methods for grid unit objects. I guess that needs to go (back) onto my todo list. A workaround for your simple example is ... unit.c(testUnits[1:2], testUnit2, testUnits[4:5]) .

[R] subscripted assignment of grid units

2009-07-07 Thread pbarros
Hi, I want to do subscripted assignment of grid units, but I cannot find a straightforward way of doing it (and I have searched all forums and places I could think about, including Paul Murrell,s page). The usual subscripted assignment operator does replace the numeric part, but does not update t