Skip to content
Back to formatted view

Raw Message

Message-ID: <1329321928.51841.YahooMailNeo@web125402.mail.ne1.yahoo.com>
Date: 2012-02-15T16:05:28Z
From: carol white
Subject: Error in rep.int(boxwex, n) : negative length vectors are not allowed-cont.
In-Reply-To: <1329320812.57958.YahooMailNeo@web125406.mail.ne1.yahoo.com>

Sorry for the error: the first column is of the?string?type and the second column of float, respectively.


----- Forwarded Message -----
From: carol white <wht_crl at yahoo.com>
To: "r-help at stat.math.ethz.ch" <r-help at stat.math.ethz.ch>
Cc: 
Sent: Wednesday, February 15, 2012 4:46 PM
Subject: Error in rep.int(boxwex, n) : negative length vectors are not allowed

Dear All,
I tried to invoke plot for a matrix of?196475 x2 dimension. I loaded the data with read.table. On one dimension, there are strings (names) and on the other dimension, the floats between 0 and 1. When I invoked plot by setting x to names and y to floats and ylim = c(0,1), I got the following error message:

Error in rep.int(boxwex, n) : negative length vectors are not allowed


Does it come from the large-size dimension of the matrix and which vectors get a negative length?

Best,

Carol