SCM

SCM Repository

[matrix] Diff of /pkg/R/Matrix.R
ViewVC logotype

Diff of /pkg/R/Matrix.R

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

revision 1289, Tue Jun 6 14:48:37 2006 UTC revision 1290, Thu Jun 8 09:30:21 2006 UTC
# Line 290  Line 290 
290            })            })
291    
292    
   
 ## NOTE: the following only works for R 2.2.x (and later) ---  
 ## ----  *and* 'Matrix' must have been *installed* by R >= 2.2.x  
   
 if(paste(R.version$major, R.version$minor, sep=".") >= "2.2") {  
   
293      ## The trivial methods :      ## The trivial methods :
294      setMethod("cbind2", signature(x = "Matrix", y = "NULL"),      setMethod("cbind2", signature(x = "Matrix", y = "NULL"),
295                function(x, y) x)                function(x, y) x)
# Line 326  Line 320 
320                    colCheck(x,y)                    colCheck(x,y)
321                    t(cbind2(t(x), t(y)))                    t(cbind2(t(x), t(y)))
322                })                })
   
 }## R-2.2.x and newer  

Legend:
Removed from v.1289  
changed lines
  Added in v.1290

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