Hi,

I have the following input file.
$ cat main.txt
CEL_A CELL_B
1 4
2 5
2 6

Then I run read.table in R.

> f=read.table('main.txt', header=T, check.names=F, sep='\t')
> head(f)
  \ufeffCEL_A CELL_B
1    1      4
2    2      5
3    2      6
> f$CEL_A
NULL

I'm not sure where the special character \ufeff comes from. Could anybody
let me know what is the problem?

Thanks,
John

        [[alternative HTML version deleted]]

______________________________________________
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-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to