From murdoch at stats.uwo.ca  Sun Apr  3 15:13:56 2005
From: murdoch at stats.uwo.ca (Duncan Murdoch)
Date: Sun Apr  3 15:14:03 2005
Subject: [Rd] Error: cannot set length of non-vector
In-Reply-To: <20050403055024.GB16595@stat.umn.edu>
References: <200504021001.j32A1O1O003559@hypatia.math.ethz.ch>
	<20050403055024.GB16595@stat.umn.edu>
Message-ID: <0oqv41d62slqdg1k4hpgmp1uplk2i9m6pm@4ax.com>

On Sat, 2 Apr 2005 23:50:24 -0600, Charles Geyer
<charlie@stat.umn.edu> wrote :

>The subject line says it all.  How can I find what
>
>    Error: cannot set length of non-vector
>
>means?  RTFS is no help.  I can find out of course that
>it comes from "lengthgets", but who called that?  Not me!

I think the error comes from your second chunk where you have
read.table("logit.txt", header=T).  I don't think CHECK is running in
the right directory to find the file.

Whether this is your bug or CHECK's bug, I don't know.

It certainly would be nice if CHECK errors were easier to diagnose.
I'm not sure my diagnosis is right, because I was just trying to
manually duplicate bits of the CHECK script, and I might have missed a
setwd somewhere.

Duncan Murdoch


[Rd] Error: cannot set length of non-vector
Duncan Murdoch