SCM

SCM Repository

[matrix] Diff of /pkg/tests/indexing.R
ViewVC logotype

Diff of /pkg/tests/indexing.R

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1214, Wed Feb 8 07:43:07 2006 UTC revision 1215, Wed Feb 8 17:54:57 2006 UTC
# Line 88  Line 88 
88  ## mixing of negative and positive must give error  ## mixing of negative and positive must give error
89  assertError(mT[-1:1,])  assertError(mT[-1:1,])
90    
91    
92    # now works
93    mT[1, 4] <- -99
94    mT[1:2, 1:7]
95  ## At least these now give a nicely understandable error:  ## At least these now give a nicely understandable error:
 try(mT[1, 4] <- -99)  
96  try(mT[2:3, ] <- 0)  try(mT[2:3, ] <- 0)
97    

Legend:
Removed from v.1214  
changed lines
  Added in v.1215

root@r-forge.r-project.org
ViewVC Help
Powered by ViewVC 1.0.0  
Thanks to:
Vienna University of Economics and Business Powered By FusionForge