Skip to content
Prev 18540 / 398498 Next

read.table and trouble

"Andy Bunn" <abunn at montana.edu> writes:
...
...
It reads as expected for me. Are you sure there isn't another Prefix
variable around? (attach() attaches at position 2, *after* the global
environment).
[1] test1
Levels:  test1 test2 test3 test4
[1] test2
Levels:  test1 test2 test3 test4
[1] FALSE
[1] FALSE

(notice that it is a factor, not an character vector).