R/zzz.R

Defines functions .onLoad

################################################################################
 
    
.onLoad =  
function(lib, pkg)
{   
    # Startup Mesage and Desription:
    MSG <- if(getRversion() >= "2.5") packageStartupMessage else message
    dsc <- packageDescription(pkg)
    if(interactive() || getOption("verbose")) { 
        # not in test scripts
        MSG(sprintf("R Package %s (%s) loaded.", pkg, dsc$Version))
    }

    # Load dll:
    library.dynam("Rsocp", pkg, lib) 
}


################################################################################

Try the Rsocp package in your browser

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

Rsocp documentation built on May 2, 2019, 5:16 p.m.