Currently, you must install the data by hand, e.g. by copying the
contents of the `data' subdirectory to $RHOME/data.

If you would like to keep the ``base'' data that come with the R
distribution and data provided by add-on modules separate, you can
proceed as follows.  In $RHOME/data, create a subdirectory `base' and
move all files in $RHOME/data there.  Then, create another subdirectory
named `mlbench' and copy the contents of the `data' subdirectory to
$RHOME/data/mlbench.  Finally, to make R find these data files, replace
$RHOME/cmd/filename by the version below.

**********************************************************************
#!/bin/sh

for file in $HOME/lib/R/$1/$2 \
            $RHOME/$1/$2 \
            $RHOME/$1/[^.]*/$2;
do
    if [ -r $file ]
    then
	echo $file
	break
    fi
done

if [ ! -r $file ]
then
    echo
fi
**********************************************************************
