[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

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

[R] Reading sas7bdat files into R

2010-12-27 Thread Sashi Challa
Hi All, I am trying to import a .sas7bdat file into R. I tried using Hmisc package's sasxport.get() function. temp - sasxport.get(path\abcd.sas7bdat) I get an error that says Error in lookup.xport(file) : file not in SAS transfer format I am not familiar with SAS transfer format. Could

Re: [R] Reading sas7bdat files into R

2010-12-27 Thread Sashi Challa
[mailto:jsor...@grecc.umaryland.edu] Sent: Monday, December 27, 2010 4:52 PM To: Sashi Challa; r-help@r-project.org Subject: Re: [R] Reading sas7bdat files into R I can't say for sure as I have never used sasxport.get, but I believe that a SAS export file is not the same as a sas library. I believe

[R] lapply getting names of the list

2010-12-09 Thread Sashi Challa
Hello All, I have a toy dataframe like this. It has 8 columns separated by tab. NameSampleIDAl1 Al2 X Y R Th rs191191A1 A B 0.999 0.090.780.090 abc928291 A1 B J 0.3838 0.3839 0.028 0.888 abcnab

[R] lapply getting names of the list

2010-12-09 Thread Sashi Challa
, December 09, 2010 10:07 AM To: Sashi Challa Cc: r-help@R-project.org Subject: Re: [R] lapply getting names of the list Hi Sashi, On Thu, Dec 9, 2010 at 9:44 AM, Sashi Challa cha...@ohsu.edu wrote: Hello All, I have a toy dataframe like this. It has 8 columns separated by tab. Name    SampleID

[R] NaN, ncdf

2010-11-04 Thread Sashi Challa
Dear All, Can anyone please let me know how exactly ncdf deals with NaN. I am trying to pass in a vector of data that has some NaN in it, into a variable in NetCDF. dimX - dim.def.ncdf(X,count,(1:6)) dimY - dim.def.ncdf(Y,count,(1:3)) var1 -

[R] ncdf installation in R

2010-10-08 Thread Sashi Challa
Hi All, I am trying to install ncdf package on a Linux 64-bit machine. I successfully installed netcdf using this command, ./configure --prefix=/home/challar/netcdf/ --disable-netcdf4 I then tried to install ncdf package in R R CMD INSTALL