SCM

SCM Repository

[matrix] View of /pkg/Matrix/data/KNex.R
ViewVC logotype

View of /pkg/Matrix/data/KNex.R

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2927 - (download) (annotate)
Sat Sep 28 18:50:51 2013 UTC (5 years, 8 months ago) by mmaechler
File size: 333 byte(s)
Matrix 1.0-16: *no* "Depends", just "Imports"
stopifnot(require(Matrix), require(methods)) # Matrix classes; new, slot<-

KNex <-
    local({
	load(system.file(file.path("external", "KNex_slots.rda"), package = "Matrix"))
	## -> 'L'
	r <- list(mm = new("dgCMatrix"), y = L[["y"]])
	for (n in c("Dim", "i","p","x")) ## needs methods::slot<-
	    slot(r$mm, n) <- L[[n]]
	r
    })

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