[R] bad R bug
Bradley C. Love
love at psy.utexas.edu
Fri Jul 21 01:37:05 CEST 2000
Hi,
I am not on this mailing list, but here is a terrible bug that has
stopped me in my tracks. I am unable to remove observations from a data
matrix.
temp is the original matrix. Notice that there are 288 entries with a
104 in the first column. I attempt to remove these entries, but R does
not do it.
brad
ACTUAL COMMANDS:
> dim(temp)
[1] 30528 11
> table(temp[,1])
1 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
21 22
288 288 288 288 288 288 288 288 288 288 288 288 288 288 288 288 288 288
288 288
23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41
42 43
288 288 288 288 288 288 288 288 288 288 288 288 288 288 288 288 288 288
288 288
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
62 63
288 288 288 288 288 288 288 288 288 288 288 288 288 288 288 288 288 288
288 288
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
82 83
288 288 288 288 288 288 288 288 288 288 288 288 288 288 288 288 288 288
288 288
84 85 86 87 89 90 91 92 93 94 95 96 97 99 100 102 103 104
105 106
288 288 288 288 288 288 288 288 288 288 288 288 288 288 288 288 288 288
288 288
107 108 109 110 111 112
288 288 288 288 288 288
> tamp_temp[temp[,1]!=104,]
>
NO EFFECT!
> table(temp[,1])
1 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
21 22
288 288 288 288 288 288 288 288 288 288 288 288 288 288 288 288 288 288
288 288
23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41
42 43
288 288 288 288 288 288 288 288 288 288 288 288 288 288 288 288 288 288
288 288
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
62 63
288 288 288 288 288 288 288 288 288 288 288 288 288 288 288 288 288 288
288 288
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
82 83
288 288 288 288 288 288 288 288 288 288 288 288 288 288 288 288 288 288
288 288
84 85 86 87 89 90 91 92 93 94 95 96 97 99 100 102 103 104
105 106
288 288 288 288 288 288 288 288 288 288 288 288 288 288 288 288 288 288
288 288
107 108 109 110 111 112
288 288 288 288 288 288
START UP SCREEN:
/usr/local/bin/R --vsize 50 --nsize 2000000
~: /usr/local/bin/R --vsize 100 --nsize 3000000
WARNING: vsize ridiculously low, Megabytes assumed
R : Copyright 1999, The R Development Core Team
Version 0.64.2 (July 3, 1999)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type "?license" or "?licence" for distribution details.
R is a collaborative project with many contributors.
Type "?contributors" for a list.
Type "demo()" for some demos, "help()" for on-line help, or
"help.start()" for a HTML browser interface to help.
Type "q()" to quit R.
[Previously saved workspace restored]
--
Bradley C. Love
love at psy.utexas.edu
http://love.psy.utexas.edu/
phone: (512) 232-5732
fax: (512) 471-6175
Mezes Hall 330
The University of Texas at Austin
Austin, TX 78712
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://stat.ethz.ch/pipermail/r-help/attachments/20000720/53fdadee/attachment.html
More information about the R-help
mailing list