Re: [R] Problems with scan

2008-11-04 Thread Peter Dalgaard
David C. Howell wrote: I have been having problems with using scan(). I searched the archives and found someone with the same problem several years ago, but did not find a solution. I want to prompt the user for input, scan in that input, and then go on to use it as a variable. The simplest

[R] Problems with scan

2008-11-04 Thread David C. Howell
I have been having problems with using scan(). I searched the archives and found someone with the same problem several years ago, but did not find a solution. I want to prompt the user for input, scan in that input, and then go on to use it as a variable. The simplest version of my program i

Re: [R] Problems with scan() in a tab-sep .txt file with cells that have '///' (three frontslashes)

2007-10-26 Thread Charles C. Berry
On Fri, 26 Oct 2007, Ken Termiso wrote: > Hello all, > > I'm using the following scan() parameters on a tab-separated text file that > was generated by R. > > temp_file <- scan(file = outfile, sep="\t", what = character(), skip = 1, > nlines = 1) > > The problem is that within some cells, there

[R] Problems with scan() in a tab-sep .txt file with cells that have '///' (three frontslashes)

2007-10-26 Thread Ken Termiso
Hello all, I'm using the following scan() parameters on a tab-separated text file that was generated by R. temp_file <- scan(file = outfile, sep="\t", what = character(), skip = 1, nlines = 1) The problem is that within some cells, there are cases where there are three frontslashes ( /// ).