[R] Getting names of variables without quotes
Dieter Menne
dieter.menne at menne-biomed.de
Sat Oct 18 21:31:36 CEST 2008
Amarjit Singh Sethi <set_alt <at> yahoo.co.in> writes:
> I am seeking your help in somehow getting names of variables without quotes
(" ").
> Let us say, we have a table with 3 variables V1, V2 and V3. After the table
is read, I get names of the
> variables (thro' the following code) as under quotes (like "V1" rather than
the original
> representation V1)
> Â
> Â x=read.table("sample.txt",header=T,sep="\t")
> > x
> Â Â Â V1Â Â Â V2Â Â Â V3
> 1Â 15Â Â Â Â 10Â Â Â Â Â 4
Please re-upload your problem without using HTML mail, at least for me it is not
readable.
Dieter
More information about the R-help
mailing list