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

Kurt Hornik Kurt.Hornik@ci.tuwien.ac.at
Mon, 9 Jun 1997 19:40:29 +0200


>>>>> Friedrich Leisch writes:

> I've made a package from some benchmark datasets for use with R and
> uploaded it to CRAN.=20

> Here's the Index entry:

> mlbench-0.1.tar.gz:
> 	A collection of artificial and real-world machine learning
> 	benchmark problems, including, e.g., the boston housing
> 	data from the UCI repository.

> 	Written/packaged by Fritz Leisch <Friedrich.Leisch@ci.tuwien.ac.at>
> 	Original data sets from various sources.
> 	[1997/06/09]


> This (naturally) includes some data files ... hence you have to do
> some parts of the installation manually, see the INSTALL file for
> details (IMHO R has no clear concept for data: one flat directory is
> certainly not sufficient).

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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-