Re: [R] operator problem within function

2010-04-30 Thread Bunny, lautloscrew.com
lol. you´re right, the " " is special. On 29.04.2010, at 18:34, David Winsemius wrote: > That was copied from the help page the comes up with: > > ?"$" > > It is rather "special". > > -- David. > > On Apr 29, 2010, at 12:26 PM, Bunny, lautloscrew.com wrote: > >> Nice, thx. Which manual do yo

Re: [R] operator problem within function

2010-04-29 Thread David Winsemius
That was copied from the help page the comes up with: ?"$" It is rather "special". -- David. On Apr 29, 2010, at 12:26 PM, Bunny, lautloscrew.com wrote: Nice, thx. Which manual do you use ? an introduction to R ? Or something special ? matt On 29.04.2010, at 15:25, David Winsemius w

Re: [R] operator problem within function

2010-04-29 Thread Bunny, lautloscrew.com
Nice, thx. Which manual do you use ? an introduction to R ? Or something special ? matt On 29.04.2010, at 15:25, David Winsemius wrote: > > On Apr 29, 2010, at 9:03 AM, Bunny, lautloscrew.com wrote: > >> Sorry for that offlist post, did not mean to do it intentionally. just hit >> the wrong

Re: [R] operator problem within function

2010-04-29 Thread David Winsemius
On Apr 29, 2010, at 9:03 AM, Bunny, lautloscrew.com wrote: Sorry for that offlist post, did not mean to do it intentionally. just hit the wrong button. Unfortunately this disadvantage is not written next to $ in the manual. Hmmm. Not my manual: "Both [[ and $ select a single element of th

Re: [R] operator problem within function

2010-04-29 Thread Bunny, lautloscrew.com
Sorry for that offlist post, did not mean to do it intentionally. just hit the wrong button. Unfortunately this disadvantage is not written next to $ in the manual. > > On Apr 29, 2010, at 2:34 AM, Bunny, lautloscrew.com wrote: > >> David, >> >> With your help i finally got it. THX! >> sorr

Re: [R] operator problem within function

2010-04-28 Thread David Winsemius
On Apr 28, 2010, at 5:45 PM, David Winsemius wrote: On Apr 28, 2010, at 5:31 PM, Bunny, lautloscrew.com wrote: Dear all, i have a problem with processing dataframes within a function using the "$". Here´s my code: recode_items = function(dataframe,number,medium=2){ # t

Re: [R] operator problem within function

2010-04-28 Thread David Winsemius
On Apr 28, 2010, at 5:31 PM, Bunny, lautloscrew.com wrote: Dear all, i have a problem with processing dataframes within a function using the "$". Here´s my code: recode_items = function(dataframe,number,medium=2){ # this works q<-paste("columna",number,sep="") D