#!/bin/sh

R_HOME=`R RHOME`

: ${NROFF=/usr/local/bin/nroff}
: ${TBL=/usr/local/bin/tbl}

${R_HOME}/bin/Rdconv -t nroff ${1} \
  | ${TBL} \
  | ${NROFF} -ms 2> /dev/null \
  | ${R_HOME}/bin/help.pretty
