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<-loadSample("a_YR4dKArgo.wav")

Tags: ,

0 comments ↓

There are no comments yet...Kick things off by filling out the form below.

Leave a Comment

Current ye@r *