Gary Sieling

R Error: “Error in readBin(fileR, “integer”, n = Length/2, size = 2, signed = TRUE, : invalid ‘n’ argument”

The following error is an indication that an exceptional I/O error occurred. For instance, permissions denied, out of memory, etc. Normally the syntax of this error would indicate that a required parameter is missing from a function call, but with readBin it appears to be more often an exception.

Error in readBin(fileR, "integer", n = Length/2, size = 2, signed = TRUE,  : 
  invalid 'n' argument

For instance, I get this attempting to load a 30+ MB audio file into memory in the x64bit R:

audio
	
Exit mobile version