Re: [R] Modifying a particular column in a tab-delimited file

2011-03-23 Thread jim holtman
Sashi > > -Original Message- > From: jim holtman [mailto:jholt...@gmail.com] > Sent: Wednesday, March 23, 2011 11:50 AM > To: Sashi Challa > Cc: r-help@r-project.org > Subject: Re: [R] Modifying a particular column in a tab-delimited file > > Read the whole file

Re: [R] Modifying a particular column in a tab-delimited file

2011-03-23 Thread David Winsemius
: [R] Modifying a particular column in a tab-delimited file Read the whole file in, modify the column and then write the file back out. On Wed, Mar 23, 2011 at 12:03 PM, Sashi Challa wrote: Hello R users, Good day!! I was wondering if there is a way in R to read in a particular column

Re: [R] Modifying a particular column in a tab-delimited file

2011-03-23 Thread Sashi Challa
reading all the columns. Thanks for your time, Sashi -Original Message- From: jim holtman [mailto:jholt...@gmail.com] Sent: Wednesday, March 23, 2011 11:50 AM To: Sashi Challa Cc: r-help@r-project.org Subject: Re: [R] Modifying a particular column in a tab-delimited file Read the whole file

Re: [R] Modifying a particular column in a tab-delimited file

2011-03-23 Thread jim holtman
Read the whole file in, modify the column and then write the file back out. On Wed, Mar 23, 2011 at 12:03 PM, Sashi Challa wrote: > Hello R users, > > Good day!! > > I was wondering if there is a way in R to read in a particular column from a > tab-delimited file, edit it and write it back into

[R] Modifying a particular column in a tab-delimited file

2011-03-23 Thread Sashi Challa
Hello R users, Good day!! I was wondering if there is a way in R to read in a particular column from a tab-delimited file, edit it and write it back into the file with all other columns intact. When I say edit I mean just replacing all the values in that column. I know to read a particular col