Re: [GRASS-user] for looping using attribute levels of a vector

2008-10-11 Thread Alex Mandel
Milton Cezar Ribeiro wrote: Dear R-gurus, I have a vector file which have several attributes. One of the columns have values that repeat like the name of city. So, I would like to do some steps for each level of the column of interest. Just supose that I have CityA, CityB, CityC I

Re: [GRASS-user] for looping using attribute levels of a vector

2008-10-11 Thread Nikos Alexandris
On Sat, 2008-10-11 at 00:55 -0700, Alex Mandel wrote: Milton Cezar Ribeiro wrote: Dear R-gurus, [...] 2. How can I bypass the problem of white space for city names? [...] 2. Hmm, you probably need to find a way to encapsulate each line in quotes for the loop reads each string or put a

[GRASS-user] for looping using attribute levels of a vector

2008-10-10 Thread Milton Cezar Ribeiro
Dear R-gurus, I have a vector file which have several attributes. One of the columns have values that repeat like the name of city. So, I would like to do some steps for each level of the column of interest. Just supose that I have CityA, CityB, CityC I would like to use this strings on a for