From wdunlap at tibco.com  Tue Jun  8 22:56:15 2010
From: wdunlap at tibco.com (William Dunlap)
Date: Tue, 8 Jun 2010 13:56:15 -0700
Subject: [Rd] Question on trying to build R 2.11.1 on Tru64(aka
	OSF1)system
In-Reply-To: <01NO2TESWBHE8WXU3K@cluster.cwu.edu>
References: <01NO2TESWBHE8WXU3K@cluster.cwu.edu>
Message-ID: <77EB52C6DD32BA4D87471DCD70C8D70003083D83@NA-PA-VBE03.na.tibco.com>

Isn't the bash syntax
   "${@}"
equivalent to just
   "$@"
and older versions of sh may not understand
the former version.  If so, you might have
similar problems with
   "${1}"
instead of
   "$1" 

Bill Dunlap
Spotfire, TIBCO Software
wdunlap tibco.com  

> -----Original Message-----
> From: r-devel-bounces at r-project.org 
> [mailto:r-devel-bounces at r-project.org] On Behalf Of 
> Bill.Glessner at cwu.edu
> Sent: Tuesday, June 08, 2010 1:20 PM
> To: r-devel at r-project.org
> Subject: Re: [Rd] Question on trying to build R 2.11.1 on 
> Tru64(aka OSF1)system
> 
> 
> Here is the Rcmd from the ./bin subdirectory of the build tree
> /usrX/JunqueYard/R-2.11.1:
> 
> #!/bin/ksh
> #
> # ${R_HOME}/bin/Rcmd
> 
> ## Shell script wrapper for all R CMD commands.
> ## For internal use only.
> 
> R_CMD="${R_HOME}/bin/Rcmd"
> export R_CMD
> 
> R_VERSION=2.11.1
> export R_VERSION
> 
> R_OSTYPE="unix"
> export R_OSTYPE
> 
> ## Add 'share/perl' to the perl library path.
> if test -n "${PERL5LIB}"; then
>   PERL5LIB="${R_SHARE_DIR}/perl:${PERL5LIB}"
>   export PERL5LIB
> else
>   PERLLIB="${R_SHARE_DIR}/perl:${PERLLIB}"
>   export PERLLIB
> fi
> 
> ## Append 'share/texmf' to TeX's input search path.
> if test -z "$TEXINPUTS}"; then
>   TEXINPUTS=".:${R_SHARE_DIR}/texmf:"
> else
>   TEXINPUTS=".:${TEXINPUTS}:${R_SHARE_DIR}/texmf:"
> fi
> export TEXINPUTS
> 
> . "${R_HOME}/etc${R_ARCH}/Renviron"
> export `sed 's/^ *#.*//; s/^\(.*\)=.*/\1/' 
> "${R_HOME}/etc${R_ARCH}/Renviron"`
> 
> extra=
> case "${1}" in
>   perl)
>     cmd="${PERL}" ;;
>   awk)
>     cmd="${AWK}"  ;;
> ## this was a separate command prior to 2.10.0
>   Rd2txt)
>     cmd="${R_HOME}/bin/Rdconv"
>     extra="-t txt"
>     ;;
>   Rd2pdf)
>     cmd="${R_HOME}/bin/Rd2dvi"
>     extra="--pdf"
>     ;;
>   *)
>     if test -x "${R_HOME}/bin/${1}"; then
>       cmd="${R_HOME}/bin/${1}"
>     else
>       cmd="${1}"
>     fi
>     ;;
> esac
> shift
> 
> exec "${cmd}" ${extra} "${@}"
> 
> ### Local Variables: ***
> ### mode: sh ***
> ### sh-indentation: 2 ***
> ### End: ***
> 
> Bill
> 
> >Return-path: <ripley at stats.ox.ac.uk>
> >Date: Tue, 08 Jun 2010 19:41:05 +0100 (BST)
> >From: Prof Brian Ripley <ripley at stats.ox.ac.uk>
> >Subject: Re: [Rd] Question on trying to build R 2.11.1 on 
> Tru64(aka OSF1) system
> >To: Bill.Glessner at cwu.edu
> >Cc: r-devel at r-project.org
> >
> >On Tue, 8 Jun 2010, Bill.Glessner at cwu.EDU wrote:
> >
> >>
> >> Hello,
> >>
> >> I am trying to build the R-2.11.1 software for university 
> faculty to use in
> >> research projects on a DEC/Compaq/HP AlphaServer model 
> GS160 16CPU/64GB memory
> >> running Tru64Unix aka OSF1 version 5.1B-5.
> >> Is it known whether it is possible to build the R-2.11.1 
> software on the
> >> platform I am using?
> >
> >It is not known: it is years since we have a report on that system.
> >
> >You seem to have a problem with Rcmd, that is R_HOME/bin/Rcmd. 
> >Perhaps you could send it to us to have a look at?
> >
> >> ...snip...
> >> ______________________________________________
> >> R-devel at r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-devel
> >>
> >
> >-- 
> >Brian D. Ripley,                  ripley at stats.ox.ac.uk
> >Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
> >University of Oxford,             Tel:  +44 1865 272861 (self)
> >1 South Parks Road,                     +44 1865 272866 (PA)
> >Oxford OX1 3TG, UK                Fax:  +44 1865 272595
> 
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
> 



[Rd] Question on trying to build R 2.11.1 on Tru64(aka OSF1)system
William Dunlap