Re: [R] data frame manipulation and regex

2010-04-28 Thread David Winsemius
0""ROBUSTA COFFEE (10) Jul/10" [4] "SOYBEANS Jul/10""SPCL HIGH GRADE ZINC USD\n" "STANDARD LEAD USD " -- David *** Arnaud Gaboury Mobile: +41 79 392 79 56 BBM: 255B488F ******* -----Original Messag

Re: [R] data frame manipulation and regex

2010-04-28 Thread Henrique Dallazuanna
gt; > > *** > Arnaud Gaboury > Mobile: +41 79 392 79 56 > BBM: 255B488F > *** > > > > -Original Message- > > From: David Winsemius [mailto:dwinsem...@comcast.net] > > Sent: Wednesday, April 28, 2010 2:25 PM &g

Re: [R] data frame manipulation and regex

2010-04-28 Thread arnaud Gaboury
Winsemius [mailto:dwinsem...@comcast.net] > Sent: Wednesday, April 28, 2010 2:25 PM > To: arnaud Gaboury > Cc: r-help@r-project.org > Subject: Re: [R] data frame manipulation and regex > > > On Apr 28, 2010, at 5:14 AM, arnaud Gaboury wrote: > > > Dear group, > > &g

Re: [R] data frame manipulation and regex

2010-04-28 Thread David Winsemius
On Apr 28, 2010, at 5:14 AM, arnaud Gaboury wrote: Dear group, Here is my data.frame : avprix <- structure(list(DESCRIPTION = c("CORN Jul/10", "CORN May/10", "ROBUSTA COFFEE (10) Jul/10", "SOYBEANS Jul/10", "SPCL HIGH GRADE ZINC USD Jul/10", "STANDARD LEAD USD Jul/10"), prix = c(-1.5, -108

[R] data frame manipulation and regex

2010-04-28 Thread arnaud Gaboury
Dear group, Here is my data.frame : avprix <- structure(list(DESCRIPTION = c("CORN Jul/10", "CORN May/10", "ROBUSTA COFFEE (10) Jul/10", "SOYBEANS Jul/10", "SPCL HIGH GRADE ZINC USD Jul/10", "STANDARD LEAD USD Jul/10"), prix = c(-1.5, -1082, 11084, 1983.5, -2464, -118), quantity = c(0, -3, 8,