Rev 16182 | Rev 77841 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
c-----------------------------------------------------------------------cc R : A Computer Language for Statistical Data Analysisc Copyright (C) 1999-2001 The R Core Teamcc This program is free software; you can redistribute it and/or modifyc it under the terms of the GNU General Public License as published byc the Free Software Foundation; either version 2 of the License, orc (at your option) any later version.cc This program is distributed in the hope that it will be useful,c but WITHOUT ANY WARRANTY; without even the implied warranty ofc MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See thec GNU General Public License for more details.cc You should have received a copy of the GNU General Public Licensec along with this program; if not, a copy is available atc http://www.r-project.org/Licenses/cc-----------------------------------------------------------------------C These now all call C functions via F77_NAME(.) in ./print.c :subroutine intpr(label, nchar, data, ndata)integer nchar, ndatacharacter*(*) labelinteger data(ndata)integer ncnc = ncharif(nc .lt. 0) nc = len(label)call intpr0(label, nc, data, ndata)endsubroutine realpr(label, nchar, data, ndata)integer nchar, ndatacharacter*(*) labelreal data(ndata)integer ncnc = ncharif(nc .lt. 0) nc = len(label)call realp0(label, nc, data, ndata)endsubroutine dblepr(label, nchar, data, ndata)integer nchar, ndatacharacter*(*) labeldouble precision data(ndata)integer ncnc = ncharif(nc .lt. 0) nc = len(label)call dblep0(label, nc, data, ndata)endC R-only Fortran versions of error and warningsubroutine rexit(msg)character*(*) msgcall rexitc(msg, len(msg))endsubroutine rwarn(msg)character*(*) msgcall rwarnc(msg, len(msg))end