NAME

Rserve::REXP::Character - an R character vector

SYNOPSIS

use Rserve::REXP::Character

my $vec = Rserve::REXP::Character->new([ 1, '', 'foo', [] ]);
print $vec->elements;

DESCRIPTION

An object of this class represents an R character vector (STRSXP).

METHODS

Rserve::REXP:Character inherits from Rserve::REXP::Vector, with the added restriction that its elements are scalar values. Elements that are not scalars (i.e., numbers or strings) have value undef, as do elements with R value NA.

sexptype

SEXPTYPE of character vectors is STRSXP.