R/xport.numeric.R

xport.numeric <- function( value )
  {
    if(length(value)!=1) stop("Only a single numeric value is permitted.")
    if(is.na(value))
      return( xport.NA() )

    .C("fill_numeric_field",
       value = as.double(value),
       NAOK=TRUE,
       PACKAGE="SASxport"
       )

    .Call("getRawBuffer", PACKAGE="SASxport")
  }

Try the SASxport package in your browser

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

SASxport documentation built on May 2, 2019, 4:51 p.m.