SCM

SCM Repository

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

Diff of /pkg/R/zzz.R

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

revision 829, Mon Aug 8 08:21:47 2005 UTC revision 908, Thu Sep 8 15:30:08 2005 UTC
# Line 6  Line 6 
6      ## Now all the functions in 'base' that start with something like      ## Now all the functions in 'base' that start with something like
7      ##  "x <- as.matrix(x)"      ##  "x <- as.matrix(x)"
8      ## will work for 'Matrix'-matrices      ## will work for 'Matrix'-matrices
9    
10        if(paste(R.version$major, R.version$minor, sep=".") >= "2.2")
11            methods:::bind_activation(TRUE)
12  }  }
13    
14  .onUnload <- function(libpath)  .onUnload <- function(libpath)
15  {  {
16      assignInNamespace("as.matrix", base::..Old..as.matrix, ns = "base")      assignInNamespace("as.matrix", base::..Old..as.matrix, ns = "base")
17      library.dynam.unload("Matrix", libpath)      library.dynam.unload("Matrix", libpath)
18    
19        if(paste(R.version$major, R.version$minor, sep=".") >= "2.2")
20            methods:::bind_activation(FALSE)
21  }  }

Legend:
Removed from v.829  
changed lines
  Added in v.908

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