R/init.R

Defines functions .onLoad

dict <-
local({
    d <- NULL
    function(new, ...) {
        if (!missing(new))
            d <<- new
        else
            d
    }
})

.onLoad <-
function(libname, pkgname)
{
    .jpackage(pkgname, lib.loc = libname)

    if (initDict())
        dict(getDictInstance())
}

Try the wordnet package in your browser

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

wordnet documentation built on Feb. 16, 2023, 10:19 p.m.