Re: [R] Errors occured

2005-10-24 Thread Roger Bivand
On Sun, 23 Oct 2005, Leaf Sun wrote:

 Hi all,
 
 Has anybody have the experience in the errors:
 
 Error in data.frame(..., check.names=FALSE): arguments imply differing
 number of rows: 343,15
 
 This is the error occured in the middle of the program. I don't think
 the data frame has any problem, if there is problem with the program,
 why it happened in the middle?

Further to Uwe's advice, looking at the traceback() output may give you an 
idea of what is going wrong, and if your script is adequately written, 
using debug() on the function in which the error occurs will let you 
examine what is being passed to data.frame() before the error happens.

 
 Does anybody have such an experience? It seems so weird to me.
 
 Thanks a lot!
 
 Leaf
 
 

-- 
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: [EMAIL PROTECTED]

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


[R] Errors occured

2005-10-22 Thread Leaf Sun
Hi all,

Has anybody have the experience in the errors:

Error in data.frame(..., check.names=FALSE): arguments imply differing number 
of rows: 343,15

This is the error occured in the middle of the program. I don't think the data 
frame has any problem, if there is problem with the program, why it happened in 
the middle?

Does anybody have such an experience? It seems so weird to me.

Thanks a lot!

Leaf

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Re: [R] Errors occured

2005-10-22 Thread Uwe Ligges
Leaf Sun wrote:
 Hi all,
 
 Has anybody have the experience in the errors:
 
 Error in data.frame(..., check.names=FALSE): arguments imply differing number 
 of rows: 343,15
 
 This is the error occured in the middle of the program. I don't think the 
 data frame has any problem, if there is problem with the program, why it 
 happened in the middle?
 
 Does anybody have such an experience? It seems so weird to me.


Well, do you really think we can help if you do not tell us anything
about your code?
Please read the psoting guide cited below and try to reformulate your
question after that... given you have not already found a solution after
reading the guide.

Uwe Ligges



 Thanks a lot!
 
 Leaf
 
 
 
 
 
 __
 R-help@stat.math.ethz.ch mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html