Re: [R] Scan() question

2003-10-24 Thread Jason Turner
Oops. The file name is obviously "foo.csv", not "foo.txt". Sorry if that caused confusion. Jason Turner wrote: I have a file on my XP box, in my "My Documents" folder, called "foo.txt". It's a two-column text file, tab-separated. First column is the numbers 1 to 12. Second column is some

Re: [R] Scan() question

2003-10-23 Thread Jason Turner
Janice Warner wrote: I am just beginning to use R 1.7.1 on Windows XP and can not do a simple > scan of a .txt file with integer data separated by tabs. First I figured out that I need to open a connection to the file >(which isn't mentioned in scan()). It isn't mentioned because it isn't nee

[R] Scan() question

2003-10-23 Thread Janice Warner
I am just beginning to use R 1.7.1 on Windows XP and can not do a simple scan of a .txt file with integer data separated by tabs. First I figured out that I need to open a connection to the file (which isn't mentioned in scan()). But now when I scan, I get "Read 0 items". What can I do? J