R-alpha: de() weirdness

Peter Dalgaard BSA (pd@kubism.ku.dk)
07 Nov 1996 19:36:25 +0100


To: r-testers@stat.math.ethz.ch
Subject: R-alpha: de() weirdness
From: Peter Dalgaard BSA <pd@kubism.ku.dk>
Date: 07 Nov 1996 19:36:25 +0100
Message-Id: <x2afstrbva.fsf@bush.kubism.ku.dk>


Anybody have a clue what's going on here:

> data
      depth g140 r140 r250 r500
 [1,]     0  280  289  507  821
 [2,]   150  120  149  361  705
 [3,]   300  140   51  221  599
 [4,]   450   13   45  167  523
 [5,]   600   12   27  133  523
 [6,]   750   11   11   85  431
 [7,]   900   13   16   72  391
 [8,]  1050   14   11   61  314
 [9,]  1200   12   17   21  240
> de(data)
Error: incompatible types in subset assignment

 as.list(data)
$depth
[1]    0  150  300  450  600  750  900 1050 1200

$g140
[1] 280 120 140  13  12  11  13  14  12

$r140
[1] 289 149  51  45  27  11  16  11  17

$r250
[1] 507 361 221 167 133  85  72  61  21

$r500
[1] 821 705 599 523 523 431 391 314 240

> de(as.list(data))
Error: incompatible types in subset assignment

The dataentry window comes up quite OK with all the right
values in it, but when you quit, the above error occurs.

The raw call, dataentry() works OK, data.entry() not. 

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-testers mailing list -- To (un)subscribe, send
subscribe	or	unsubscribe
(in the "body", not the subject !)  To: r-testers-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-