[R] Error message got a real'

2008-04-06 Thread David Kaplan
Hi all, I'm running the program sem on a Mac, but I'm getting a message that I think is quite general. The error reads Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings, : scan() expected 'a real', got '10652)' The 10652 is the sample size coming

Re: [R] Error message got a real'

2008-04-06 Thread Duncan Murdoch
David Kaplan wrote: Hi all, I'm running the program sem on a Mac, but I'm getting a message that I think is quite general. The error reads Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings, : scan() expected 'a real', got '10652)' The 10652

Re: [R] Error message got a real'

2008-04-06 Thread Duncan Murdoch
David Kaplan wrote: Yea, I checked that, but that wasn't the problem. I'm sending the input and a much smaller file. It's in .csv format. The input is for the Mac, and I'm beginning to think it might be a Mac issue. The program input lines come from John Fox's program sem

Re: [R] Error message got a real'

2008-04-06 Thread David Kaplan
Thanks, I'm not sure why it wasn't saved as a .csv. I posted it to the R Mac list and the general R list because in the past when I've posted to the R Mac list I was told it wasn't a R question. Because this problem didn't appear with the windows verson of R, I wasn't sure