Skip to content

Troubleshooting code

5 messages · Sahana Srinivasan, Rolf Turner, Peter Ehlers +1 more

#
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
#
Your code appears to be a load of dingos' kidneys, but in general when
troubleshooting one can do worse than be guided by
fortune("magnitude and direction").

     cheers,

         Rolf Turner
On 03/13/2013 01:29 AM, Sahana Srinivasan wrote:
#
On 2013-03-12 12:28, Rolf Turner wrote:
Cool. I didn't know dingos had kidneys. I thought they just ate kids.

Peter Ehlers