Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: tags/R-0-65
Fetching contributors…

Cannot retrieve contributors at this time

executable file 10 lines (8 sloc) 0.238 kb
#!/bin/sh
#
# ${RHOME}/tools/GETVERSION
TOOLS_DIR=`echo ${0} | sed 's%/[^/][^/]*$%%'`
awk '{
if ($0 ~ /R_MAJOR/) printf "%s.", $3;
if ($0 ~ /R_MINOR/) printf "%s\n", $3;
}' ${TOOLS_DIR}/../src/include/Rversion.h.in | sed -e 's/"//g'
Jump to Line
Something went wrong with that request. Please try again.