Re: [R] Trouble Using mapply

2011-07-31 Thread Steve Lianoglou
then you don't need to use mapply anyway for the reasons I just stated. HTH, -steve > ________ > From: Steve Lianoglou > To: Alex Zhang > Cc: "r-help@r-project.org" > Sent: Sunday, July 31, 2011 12:43 PM > Subject: Re: [R] Trouble Usin

Re: [R] Trouble Using mapply

2011-07-31 Thread Alex Zhang
is not as flexible enough when I need to get multiple data.frames into the function.  Is there a way to get the "rep" part return what I want? Thx, - Alex From: Steve Lianoglou To: Alex Zhang Cc: "r-help@r-project.org" Sent: Sunday, July 31

Re: [R] Trouble Using mapply

2011-07-31 Thread Steve Lianoglou
Hi, On Sun, Jul 31, 2011 at 12:30 PM, Alex Zhang wrote: > Dear all, > > I am having a problem with mapply. I guess the reason is that mapply is not > "vectorized". But could you please take a look at my code below and help me > to find a solution (either a better way to use mapply or a differen