Re: [R] Error message "got a real'

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: Sun, 06 Apr 2008 20:48:59 -0400

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
>

The test.csv file isn't a csv file (which is a text format, with comma separated columns). It looks like your spreadsheet let you name it with extension .csv, but didn't save it in that format.

By the way, posting the same question 6 minutes apart on two mailing lists is quite inconsiderate; please don't do that.

Duncan Murdoch
> David
> ===============================================================
> David Kaplan, Ph.D.
> Professor
> Department of Educational Psychology
> University of Wisconsin - Madison
> Educational Sciences, Room, 1061
> 1025 W. Johnson Street
> Madison, WI 53706
>
> email: dkaplan at education dot wisc dot edu
> homepage:
> [1]http://www.education.wisc.edu/edpsych/facstaff/kaplan/kaplan.htm
> Phone: 608-262-0836
> ===============================================================
>
>
> Duncan Murdoch wrote:
>
> 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 is the sample size coming from a .csv file where I have
> header =
> TRUE.
>
> It appears to be finding a parenthesis too. That's not a real.
> Duncan Murdoch
>
> References
>
> 1. http://www.education.wisc.edu/edpsych/facstaff/kaplan/kaplan.htm
>
> ------------------------------------------------------------------------
>
> ______________________________________________
> R-help_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Mon 07 Apr 2008 - 00:54:06 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 07 Apr 2008 - 01:30:31 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive