Re: [R] add string to a list

2008-11-25 Thread Chris82
Thanks! really a simple solution. regards Jorge Ivan Velez wrote: > > Dear Chris82, > Try this: > > input <- readLines(con,n=224) > x <- "\004" > input[225]<-x > input > > HTH, > > Jorge > > > > > On Tue, Nov 25, 2008 at 4:37 PM, Chris82 <[EMAIL PROTECTED]> wrote: > >> >> hello R use

Re: [R] add string to a list

2008-11-25 Thread Jorge Ivan Velez
Dear Chris82, Try this: input <- readLines(con,n=224) x <- "\004" input[225]<-x input HTH, Jorge On Tue, Nov 25, 2008 at 4:37 PM, Chris82 <[EMAIL PROTECTED]> wrote: > > hello R users, > > I didn't find a solution for a simple problem I think. > > I read 224 lines from a file > > input <- re

[R] add string to a list

2008-11-25 Thread Chris82
hello R users, I didn't find a solution for a simple problem I think. I read 224 lines from a file input <- readLines(con,n=224) and now I create a string x <- "\004" which should be line 225 of input. So I have input and x and want to add x to input, so that it looks like this: [1] "string"

Re: [R] add string

2008-07-31 Thread john seers (IFR)
Is this what you want: paste("Mystring", frequency, sep="") --- -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alfredo Alessandrini Sent: 31 July 2008 10:11 To: r-help@r-project.org Subject: [R] add string Hi, How c

[R] add string

2008-07-31 Thread Alfredo Alessandrini
Hi, How can I join two string? frequency = 15 I want join the number frequency with a string. Alfredo __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting