R/zzz.R

Defines functions .onAttach .onLoad

#------------------------------------------------------------------------------#
#                             R interface to GLPK                              #
#------------------------------------------------------------------------------#

#  zzz.R
#  R interface to GLPK.
#
#  Copyright (C) 2011-2014 Gabriel Gelius-Dietrich, Dpt. for Bioinformatics,
#  Institute for Informatics, Heinrich-Heine-University, Duesseldorf, Germany.
#  All right reserved.
#  Email: geliudie@uni-duesseldorf.de
#
#  This file is part of glpkAPI.
#
#  GlpkAPI is free software: you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation, either version 3 of the License, or
#  (at your option) any later version.
#
#  GlpkAPI is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#  You should have received a copy of the GNU General Public License
#  along with glpkAPI  If not, see <http://www.gnu.org/licenses/>.


.packageName <- "glpkAPI"

.onLoad <- function(libname, pkgname) {
    .Call("initGLPK", PACKAGE = "glpkAPI")
}

.onAttach <- function(libname, pkgname) {
    packageStartupMessage("using GLPK version ", versionGLPK())
}

Try the glpkAPI package in your browser

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

glpkAPI documentation built on Nov. 10, 2022, 5:51 p.m.