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
On Thu, 20 Jul 2000, Bradley C. Love wrote:> > 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])<snip>> > tamp_temp[temp[,1]!=104,]^^^^ If this is what you typed it's not surprising (tamp vs temp)> > > > NO EFFECT! > > > table(temp[,1])<snip> It works when I try it, on R1.0.0, the oldest version I have access to.> > 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)^^^^^^ This could also be the problem. You are unlikely to get much useful help for bugs before 1.0.0 if they aren't in current versions, since we won't be able to reproduce them. There were a lot of bugs in 0.64.2, even just counting the ones we fixed. Since 1.0.0 things are more stable, and we expect quite a lot of people to use the forthcoming 1.1.1 for the entire northern hemisphere academic year. -thomas Thomas Lumley Assistant Professor, Biostatistics University of Washington, Seattle -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._