Skip to content

R-alpha: Re: R-beta: mlbench-0.1 --- machine learning benchmark problems

1 message · Kurt Hornik

#
Just for the sake of completeness (for those who don't use our Debian
GNU/Linux packages).  We have ``meanwhile'' (before we agree on an
official R file standard) simply introduced a one-level hierarchy in
RHOME/data.  The data files that come with the base distribution are in
RHOME/data/base, the new ones in RHOME/data/mlbench etc.

This change requires nothing but changing RHOME/cmd/filename, e.g. as
below.

What would also be nice is to have `make libs' install the data as well
to RHOME/data/$LIBNAME.

-k

***********************************************************************
#!/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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-