R/lsdata.R

Defines functions lsdata

Documented in lsdata

lsdata <- function(fnam = '.Rdata') {
# cheap way to view objects in an Rdata file
#make CRANripley happy...
	x <- load(fnam, envir = environment())
	return(x)
#nobody likes 'attach' any more
	#datfoo<-attach(fnam)
	#foo<- ls(envir=datfoo)
	#detach(paste('file:',fnam,sep='',collapse=''),character.only=TRUE)
	#return(foo)
	}

Try the cgwtools package in your browser

Any scripts or data that you put into this service are public.

cgwtools documentation built on May 30, 2017, 1:47 a.m.