R/zzz.R

Defines functions .onAttach

######################################################################
#
# zzz.R
#
# Written y Zack Almquist
# Last Modified 2/26/09
# Licensed under the GNU General Public License version 3 or later
#
# Part of the R/census package
#
# .onLoad is run when the package is loaded with library(UScensus2010cdp)
#
######################################################################

.onAttach <- function(libname, pkgname){
  	temp<-packageDescription("UScensus2010cdp")
  	msg<-paste(temp$Package,": ",temp$Title,"\n",
      "Version ",temp$Version,
      " created on ",
      temp$Date,".\n", sep="")
  msg<-paste(msg,"copyright (c) 2014, Zack W. Almquist, University of Minnesota\n",sep="")

  msg<-paste(msg,'For citation information, type citation("UScensus2010cdp").\n')
  msg<-paste(msg,'Type help(package="UScensus2010cdp") to get started.\n')
  packageStartupMessage(msg)
}

Try the UScensus2010cdp package in your browser

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

UScensus2010cdp documentation built on May 2, 2019, 4:25 p.m.