Skip to content
Prev 319311 / 398506 Next

Troubleshooting code

On 2013-03-12 05:29, Sahana Srinivasan wrote:
Your use of the name 'length' is a bad idea (but not your problem);
see fortune("dog").

If you think that your object 'files' is a 'list', you're mistaken;
try  str(files)  to see that it's a character vector.
I would _always_ look at the result of any file import with str() to
ensure that the reading went as expected. Do (some of) your files have
variable variable name headers?
I don't see why this instruction would not throw an error re "incorrect
number of dimensions".

Okay, at this point I gave up. Your code is not reproducible and
you're posting in HTML. Please give at least a cursory look at the
Posting Guide.

   [... rest of code sample snipped ...]

Peter Ehlers