R/zzz.R

Defines functions onAttach onLoad

#------------------------------------------------------------------------------#
#                           R interface to COIN-OR Clp                         #
#------------------------------------------------------------------------------#

#  zzz.R
#  R interface to COIN-OR Clp.
#
#  Copyright (C) 2011-2013 Gabriel Gelius-Dietrich, Dpt. for Bioinformatics,
#  Institute for Informatics, Heinrich-Heine-University, Duesseldorf, Germany.
#  All right reserved.
#  Email: [email protected]
#
#  This file is part of clpAPI.
#
#  ClpAPI 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.
#
#  ClpAPI 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 clpAPI  If not, see <http://www.gnu.org/licenses/>.


.packageName <- "clpAPI"

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

.onAttach <- function(libname, pkgname) {
    packageStartupMessage("using COIN OR Clp version ", versionCLP())
}

Try the clpAPI package in your browser

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

clpAPI documentation built on May 29, 2017, 1:04 p.m.