Try this:

 t(sapply(strsplit(gsub("a", "", ln), "(,)|(,0+)"), as.numeric))

On Fri, Sep 12, 2008 at 9:55 AM, Ajay ohri <ohri2007@gmail.com> wrote:

> Hi Henrique ,
>
> Thanks for this. An additional problem is that each row begins and ends
> with a "
>
> So when i try and copy and paste (94 rows) , it does not work with the
> last value within a row.
>
> Each row has some 50 x1,y1,0 values.
>
> How to modify the code for this?
>
> Regards,
>
> Ajay
>



-- 
Henrique Dallazuanna
Curitiba-Paraná-Brasil
25° 25' 40" S 49° 16' 22" O

	[[alternative HTML version deleted]]

