Skip to content
Prev 9257 / 29559 Next

trunk columns name in a data.frame to convert in a shape-file

Many options here, but if you literally just want the first (up to) 8
characters:

names(mydf) <- substr(names(mydf), 1, 8)


On Fri, Sep 10, 2010 at 2:49 AM, gianni lavaredo
<gianni.lavaredo at gmail.com> wrote: