[R-SIG-Mac] error message re 'expected a real'

Sean Davis sdavis2 at mail.nih.gov
Mon Apr 7 01:26:40 CEST 2008

On Sun, Apr 6, 2008 at 6:13 PM, David Kaplan <dkaplan at education.wisc.edu> wrote:
>  Hi all,
>  I sent this to the general list, but I wasn't sure if it was Mac related.
>  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 from a .csv file where I have header =
>  Any thoughts would be appreciated.

Hi, David.  It looks like you have a parenthesis next to the number;
that would explain the error.  If that isn't the issue, you'll want to
include a self-contained example that reproduces the error.

Hope that helps.


More information about the R-SIG-Mac mailing list