Re: [R] tackle with error

From: Dieter Menne <dieter.menne_at_menne-biomed.de>
Date: Fri 19 Aug 2005 - 23:10:00 EST

Mostafa Ghaderi <mostafa.ghaderi <at> inw.agrl.ethz.ch> writes:

> may you drop me some idea how can i get rid of following error message:
> Error in switch(nmeth, { : NA/NaN/Inf in foreign function call (arg 1)
> i dont know what does nmeth and ther rest of error message mean? i have
> a file which contains 460 rows and 174 columns including missing value
> as NA.

I assume that you are using R on some silicon-based electric circuit, but that's about all I can guess to understand the error message. In what command did it occur? Possibly "read.table"? And try

  traceback()

after the error message. And if it is during read-in of data, shorten your file to 3 lines and try again.

Dieter



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri Aug 19 23:17:39 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 15:33:45 EST