[R] [R-pkgs] X2R: R-compatible output routines from C, ADMB, Fortran to R

Michael H. Prager Mike.Prager at noaa.gov
Tue Oct 24 16:35:38 CEST 2006


We announce the availability of three related software libraries: C2R, 
ADMB2R, and For2R (together, X2R). Each contains output routines to 
simplify transfer of complicated data structures from models written in 
a compiled language to R.  The user's data can be written as a 
structured ASCII file which, when read by R (note 1) with a single 
dget() function call, will become an R data object of type list. The 
list, of course, may contain components such as data frames, matrices, 
and other lists.

These are NOT R packages; rather they are subroutine libraries to be 
used with programmers' own modeling codes.  Limited testing indicates 
that they are compatible with S-PLUS, as well (note 1, note 2).

Languages supported are Fortran 95 (with For2R), C and C++ (with C2R) 
and AD Model Builder (with ADMB2R) (note 1, note 3).  Source code and 
users' manuals are supplied. 

For those working in fish stock assessment, we anticipate releasing soon 
a related group of R functions, FishGraph.  The FishGraph functions 
create graphs useful in analysis of fisheries stock assessments whose 
output has been saved with X2R.  We have been using FishGraph for 
several years and are now completing the documentation.

This work has been tested and used by the authors. However, any software 
may contain bugs, and these works are classified by NOAA as  
"Experimental Products."  Although the software is supplied with no 
warranty whatsoever, bug reports, suggestions, and extensions are 
solicited (send to Prager or Martin).  The authors will attempt to fix 
all bugs promptly and to add requested features.

Software is now available at CRAN,  http://cran.r-project.org/ , and is 
expected to propagate to mirrors shortly.  Look under "Software / Other" 
for the current X2R distribution.


Michael H. Prager - mike.prager at noaa.gov
Andi Stephens
Southeast Fisheries Science Center
National Marine Fisheries Service, NOAA
101 Pivers Island Road
Beaufort, North Carolina 28516 USA

Jennifer L. Martin - jennifer.martin at noaa.gov
Northeast Fisheries Science Center
National Marine Fisheries Service, NOAA
166 Water Street
Woods Hole, Massachusetts 02543 USA


* Note 1.  Use of product names (commercial or otherwise) does not imply 
endorsement or recommendation by any U.S. government agency, nor by the 
authors in their government capacities.
* Note 2.  S-PLUS is a commercial product, released by Insightful 
Corporation.
* Note 3.  AD Model Builder is a commercial product, released by Otter 
Research.

_______________________________________________
R-packages mailing list
R-packages at stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-packages



More information about the R-help mailing list