[R] Sweave with scan()-ed data

2011-03-07 Thread Michael Friendly
In an Sweave slide, I want to use sem::read.moments() and sem::specify.model(), which work by using scan() to read the following lines, up to the first blank line. However, Sweave throws an error: Sweave(sem-thurstone.Rnw) Writing to file sem-thurstone.tex Processing code chunks ... 1 :

Re: [R] Sweave with scan()-ed data

2011-03-07 Thread Duncan Murdoch
On 07/03/2011 10:21 AM, Michael Friendly wrote: In an Sweave slide, I want to use sem::read.moments() and sem::specify.model(), which work by using scan() to read the following lines, up to the first blank line. However, Sweave throws an error: Sweave(sem-thurstone.Rnw) Writing to file

Re: [R] Sweave with scan()-ed data

2011-03-07 Thread William Revelle
At 10:21 AM -0500 3/7/11, Michael Friendly wrote: In an Sweave slide, I want to use sem::read.moments() and sem::specify.model(), which work by using scan() to read the following lines, up to the first blank line. However, Sweave throws an error: Sweave(sem-thurstone.Rnw) Writing to file