TypeInfo

Optional Type Specification Prototype

Bioconductor version: 2.9

A prototype for a mechanism for specifying the types of parameters and the return value for an R function. This is meta-information that can be used to generate stubs for servers and various interfaces to these functions. Additionally, the arguments in a call to a typed function can be validated using the type specifications. We allow types to be specified as either i) by class name using either inheritance - is(x, className), or strict instance of - class(x) %in% className, or ii) a dynamic test given as an R expression which is evaluated at run-time. More precise information and interesting tests can be done via ii), but it is harder to use this information as meta-data as it requires more effort to interpret it and it is of course run-time information. It is typically more meaningful.

Author: Duncan Temple Lang Robert Gentleman (<rgentlem at fhcrc.org>)

Maintainer: Duncan Temple Lang <duncan at wald.ucdavis.edu>

To install this package, start R and enter:

    source("http://bioconductor.org/biocLite.R")
    biocLite("TypeInfo")

To cite this package in a publication, start R and enter:

    citation("TypeInfo")

Documentation

PDF R Script TypeInfo R News
PDF   Reference Manual

Details

biocViews Infrastructure
Depends methods
Imports
Suggests
System Requirements
License BSD
URL
Depends On Me RWebServices
Imports Me
Suggests Me
Version 1.20.0
Since Bioconductor 1.9 (R-2.4)

Package Downloads

Package Source TypeInfo_1.20.0.tar.gz
Windows Binary TypeInfo_1.20.0.zip (32- & 64-bit)
MacOS 10.5 (Leopard) binary TypeInfo_1.20.0.tgz
Package Downloads Report Download Stats

Workflows »

Common Bioconductor workflows include:

 

Mailing Lists »

Post questions about Bioconductor packages to our mailing lists. Read the posting guide before posting!

Fred Hutchinson Cancer Research Center