s-news
[Top] [All Lists]

problem with rpart installation

To: <s-news@wubios.wustl.edu>
Subject: problem with rpart installation
From: "Volker Bahn" <lochapoka@web.de>
Date: Mon, 24 May 2004 13:31:44 -0400
Dear all,

I'm trying to install the rpart library from Brian Ripley's webpage
(http://www.stats.ox.ac.uk/pub/S/S+6/) on my Linux 7.2 computer (system
information below). Although I followed the instructions for installation on
the same webpage closely (see log of session at the very bottom), Splus
doesn't seem to find the functions (see below). Can you help?

Thank you

Volker Bahn

#system info
S-PLUS : Copyright (c) 1988, 2001 Insightful Corp.
S : Copyright Lucent Technologies, Inc.
Version 6.0.1 Release 1 for Linux 2.2.12 : 2001

# rpart error log of Splus session
> library(rpart)
> ?rpart
# help worked
> rpart()
Problem: Couldn't find a function definition for "rpart"
>


# Log of the successful installation of rpart

[root@birds volker]# cd /splus/library
[root@birds library]# tar zxvf rpart.tar.gz
rpart/
rpart/anova.c
rpart/anovapred.c
rpart/branch.c
rpart/bsplit.c
rpart/Changelog
rpart/choose_surg.c
rpart/fix_cp.c
rpart/formatg.c
rpart/formatg.s
rpart/free_tree.c
rpart/func_table.h
rpart/gini.c
rpart/graycode.c
rpart/insert_split.c
rpart/labels.rpart.s
rpart/labels.rpart.sgml
rpart/make_cp_list.c
rpart/make_cp_table.c
rpart/meanvar.rpart.s
rpart/meanvar.rpart.sgml
rpart/model.frame.rpart.s
rpart/mysort.c
rpart/model.frame.rpart.sgml
rpart/na.rpart.s
rpart/na.rpart.sgml
rpart/node.h
rpart/nodesplit.c
rpart/partition.c
rpart/path.rpart.s
rpart/path.rpart.sgml
rpart/plot.rpart.s
rpart/plot.rpart.sgml
rpart/plotcp.s
rpart/plotcp.sgml
rpart/poisson.c
rpart/post.rpart.s
rpart/post.rpart.sgml
rpart/post.s
rpart/pred.rpart.s
rpart/predict.rpart.s
rpart/predict.rpart.sgml
rpart/pred_rpart.c
rpart/print.rpart.s
rpart/prune.s
rpart/printcp.s
rpart/print.rpart.sgml
rpart/printcp.sgml
rpart/prune.rpart.s
rpart/prune.rpart.sgml
rpart/Readme
rpart/residuals.rpart.s
rpart/residuals.rpart.sgml
rpart/rpart.anova.s
rpart/rpart.anova.sgml
rpart/rpart.branch.s
rpart/rpart.branch.sgml
rpart/rpart.c
rpart/rpart.class.s
rpart/rpart.class.sgml
rpart/rpart.control.s
rpart/rpart.control.sgml
rpart/rpart.exp.s
rpart/rpart.exp.sgml
rpart/rpart.h
rpart/rpart.matrix.s
rpart/rpart.poisson.s
rpart/rpart.matrix.sgml
rpart/rpart.object.sgml
rpart/rpart.poisson.sgml
rpart/rpart.s
rpart/rpart.sgml
rpart/rpartcallback.s
rpart/rpartco.s
rpart/rpartco.sgml
rpart/rpartexp2.c
rpart/rpartproto.h
rpart/rpartS.h
rpart/rpart_callback.c
rpart/rpconvert.s
rpart/rpconvert.sgml
rpart/rpcountup.c
rpart/rpmatrix.c
rpart/rsq.rpart.s
rpart/rsq.rpart.sgml
rpart/rundown.c
rpart/rundown2.c
rpart/test/
rpart/test/anovatest.s
rpart/test/anovatest2.s
rpart/test/beth.s
rpart/test/cars.s
rpart/test/cattest.s
rpart/test/Compare
rpart/test/Compare2
rpart/test/cost.s
rpart/test/data.stagec
rpart/test/gini.s
rpart/test/logrank.s
rpart/test/ptest.s
rpart/test/Readme
rpart/test/rescale.s
rpart/test/setup.s
rpart/test/stagec.s
rpart/test/state.s
rpart/test/testall.out
rpart/test/testall.sh
rpart/test/treble.s
rpart/test/treble2.s
rpart/test/treble3.s
rpart/test/treble4.s
rpart/sascode.rpart.s
rpart/snip.rpart.mouse.s
rpart/snip.rpart.mouse.sgml
rpart/snip.rpart.s
rpart/snip.rpart.sgml
rpart/summary.rpart.s
rpart/summary.rpart.sgml
rpart/surrogate.c
rpart/s_to_rp.c
rpart/s_xpred.c
rpart/text.rpart.s
rpart/text.rpart.sgml
rpart/usersplit.c
rpart/xpred.rpart.s
rpart/xpred.rpart.sgml
rpart/xval.c
[root@birds library]# cd rpart
[root@birds rpart]# ls
Changelog               poisson.c               rpart.sgml
Readme                  post.rpart.s            rpartS.h
anova.c                 post.rpart.sgml         rpart_callback.c
anovapred.c             post.s                  rpartcallback.s
branch.c                pred.rpart.s            rpartco.s
bsplit.c                pred_rpart.c            rpartco.sgml
choose_surg.c           predict.rpart.s         rpartexp2.c
fix_cp.c                predict.rpart.sgml      rpartproto.h
formatg.c               print.rpart.s           rpconvert.s
formatg.s               print.rpart.sgml        rpconvert.sgml
free_tree.c             printcp.s               rpcountup.c
func_table.h            printcp.sgml            rpmatrix.c
gini.c                  prune.rpart.s           rsq.rpart.s
graycode.c              prune.rpart.sgml        rsq.rpart.sgml
insert_split.c          prune.s                 rundown.c
labels.rpart.s          residuals.rpart.s       rundown2.c
labels.rpart.sgml       residuals.rpart.sgml    s_to_rp.c
make_cp_list.c          rpart.anova.s           s_xpred.c
make_cp_table.c         rpart.anova.sgml        sascode.rpart.s
meanvar.rpart.s         rpart.branch.s          snip.rpart.mouse.s
meanvar.rpart.sgml      rpart.branch.sgml       snip.rpart.mouse.sgml
model.frame.rpart.s     rpart.c                 snip.rpart.s
model.frame.rpart.sgml  rpart.class.s           snip.rpart.sgml
mysort.c                rpart.class.sgml        summary.rpart.s
na.rpart.s              rpart.control.s         summary.rpart.sgml
na.rpart.sgml           rpart.control.sgml      surrogate.c
node.h                  rpart.exp.s             test
nodesplit.c             rpart.exp.sgml          text.rpart.s
partition.c             rpart.h                 text.rpart.sgml
path.rpart.s            rpart.matrix.s          usersplit.c
path.rpart.sgml         rpart.matrix.sgml       xpred.rpart.s
plot.rpart.s            rpart.object.sgml       xpred.rpart.sgml
plot.rpart.sgml         rpart.poisson.s         xval.c
plotcp.s                rpart.poisson.sgml
plotcp.sgml             rpart.s
[root@birds rpart]# Splus CHAPTER
Creating data directory for chapter .
Creating "makefile"
makefile will build with: anova.c anovapred.c branch.c bsplit.c
choose_surg.c fix_cp.c formatg.c free_tree.c gini.c graycode.c
insert_split.c labels.rpart.sgml make_cp_list.c make_cp_table.c
meanvar.rpart.sgml model.frame.rpart.sgml mysort.c na.rpart.sgml nodesplit.c
partition.c path.rpart.sgml plot.rpart.sgml plotcp.sgml poisson.c
post.rpart.sgml pred_rpart.c predict.rpart.sgml print.rpart.sgml
printcp.sgml prune.rpart.sgml residuals.rpart.sgml rpart.anova.sgml
rpart.branch.sgml rpart.c rpart.class.sgml rpart.control.sgml rpart.exp.sgml
rpart.matrix.sgml rpart.object.sgml rpart.poisson.sgml rpart.sgml
rpart_callback.c rpartco.sgml rpartexp2.c rpconvert.sgml rpcountup.c
rpmatrix.c rsq.rpart.sgml rundown.c rundown2.c s_to_rp.c s_xpred.c
snip.rpart.mouse.sgml snip.rpart.sgml summary.rpart.sgml surrogate.c
text.rpart.sgml usersplit.c xpred.rpart.sgml xval.c
S-PLUS chapter rpart initialized.
[root@birds rpart]# Splus make install.funs S.so
gcc -I${SHOME}/include -O -fPIC -m486 -pipe -DLOCAL_GETTXT -DNEED_FPU_CONTRO
L -pthread    -c -o anova.o anova.c
gcc -I${SHOME}/include -O -fPIC -m486 -pipe -DLOCAL_GETTXT -DNEED_FPU_CONTRO
L -pthread    -c -o anovapred.o anovapred.c
gcc -I${SHOME}/include -O -fPIC -m486 -pipe -DLOCAL_GETTXT -DNEED_FPU_CONTRO
L -pthread    -c -o branch.o branch.c
gcc -I${SHOME}/include -O -fPIC -m486 -pipe -DLOCAL_GETTXT -DNEED_FPU_CONTRO
L -pthread    -c -o bsplit.o bsplit.c
gcc -I${SHOME}/include -O -fPIC -m486 -pipe -DLOCAL_GETTXT -DNEED_FPU_CONTRO
L -pthread    -c -o choose_surg.o choose_surg.c
gcc -I${SHOME}/include -O -fPIC -m486 -pipe -DLOCAL_GETTXT -DNEED_FPU_CONTRO
L -pthread    -c -o fix_cp.o fix_cp.c
gcc -I${SHOME}/include -O -fPIC -m486 -pipe -DLOCAL_GETTXT -DNEED_FPU_CONTRO
L -pthread    -c -o formatg.o formatg.c
gcc -I${SHOME}/include -O -fPIC -m486 -pipe -DLOCAL_GETTXT -DNEED_FPU_CONTRO
L -pthread    -c -o free_tree.o free_tree.c
gcc -I${SHOME}/include -O -fPIC -m486 -pipe -DLOCAL_GETTXT -DNEED_FPU_CONTRO
L -pthread    -c -o gini.o gini.c
gcc -I${SHOME}/include -O -fPIC -m486 -pipe -DLOCAL_GETTXT -DNEED_FPU_CONTRO
L -pthread    -c -o graycode.o graycode.c
gcc -I${SHOME}/include -O -fPIC -m486 -pipe -DLOCAL_GETTXT -DNEED_FPU_CONTRO
L -pthread    -c -o insert_split.o insert_split.c
gcc -I${SHOME}/include -O -fPIC -m486 -pipe -DLOCAL_GETTXT -DNEED_FPU_CONTRO
L -pthread    -c -o make_cp_list.o make_cp_list.c
gcc -I${SHOME}/include -O -fPIC -m486 -pipe -DLOCAL_GETTXT -DNEED_FPU_CONTRO
L -pthread    -c -o make_cp_table.o make_cp_table.c
gcc -I${SHOME}/include -O -fPIC -m486 -pipe -DLOCAL_GETTXT -DNEED_FPU_CONTRO
L -pthread    -c -o mysort.o mysort.c
gcc -I${SHOME}/include -O -fPIC -m486 -pipe -DLOCAL_GETTXT -DNEED_FPU_CONTRO
L -pthread    -c -o nodesplit.o nodesplit.c
gcc -I${SHOME}/include -O -fPIC -m486 -pipe -DLOCAL_GETTXT -DNEED_FPU_CONTRO
L -pthread    -c -o partition.o partition.c
gcc -I${SHOME}/include -O -fPIC -m486 -pipe -DLOCAL_GETTXT -DNEED_FPU_CONTRO
L -pthread    -c -o poisson.o poisson.c
gcc -I${SHOME}/include -O -fPIC -m486 -pipe -DLOCAL_GETTXT -DNEED_FPU_CONTRO
L -pthread    -c -o pred_rpart.o pred_rpart.c
gcc -I${SHOME}/include -O -fPIC -m486 -pipe -DLOCAL_GETTXT -DNEED_FPU_CONTRO
L -pthread    -c -o rpart.o rpart.c
gcc -I${SHOME}/include -O -fPIC -m486 -pipe -DLOCAL_GETTXT -DNEED_FPU_CONTRO
L -pthread    -c -o rpart_callback.o rpart_callback.c
gcc -I${SHOME}/include -O -fPIC -m486 -pipe -DLOCAL_GETTXT -DNEED_FPU_CONTRO
L -pthread    -c -o rpartexp2.o rpartexp2.c
gcc -I${SHOME}/include -O -fPIC -m486 -pipe -DLOCAL_GETTXT -DNEED_FPU_CONTRO
L -pthread    -c -o rpcountup.o rpcountup.c
gcc -I${SHOME}/include -O -fPIC -m486 -pipe -DLOCAL_GETTXT -DNEED_FPU_CONTRO
L -pthread    -c -o rpmatrix.o rpmatrix.c
gcc -I${SHOME}/include -O -fPIC -m486 -pipe -DLOCAL_GETTXT -DNEED_FPU_CONTRO
L -pthread    -c -o rundown.o rundown.c
gcc -I${SHOME}/include -O -fPIC -m486 -pipe -DLOCAL_GETTXT -DNEED_FPU_CONTRO
L -pthread    -c -o rundown2.o rundown2.c
gcc -I${SHOME}/include -O -fPIC -m486 -pipe -DLOCAL_GETTXT -DNEED_FPU_CONTRO
L -pthread    -c -o s_to_rp.o s_to_rp.c
gcc -I${SHOME}/include -O -fPIC -m486 -pipe -DLOCAL_GETTXT -DNEED_FPU_CONTRO
L -pthread    -c -o s_xpred.o s_xpred.c
gcc -I${SHOME}/include -O -fPIC -m486 -pipe -DLOCAL_GETTXT -DNEED_FPU_CONTRO
L -pthread    -c -o surrogate.o surrogate.c
gcc -I${SHOME}/include -O -fPIC -m486 -pipe -DLOCAL_GETTXT -DNEED_FPU_CONTRO
L -pthread    -c -o usersplit.o usersplit.c
gcc -I${SHOME}/include -O -fPIC -m486 -pipe -DLOCAL_GETTXT -DNEED_FPU_CONTRO
L -pthread    -c -o xval.o xval.c
[root@birds rpart]# Splus make dump
License Warning : Server down. Trying "$SHOME/cmd/LICENSE server start".
S-PLUS : Copyright (c) 1988, 2001 Insightful Corp.
S : Copyright Lucent Technologies, Inc.
Version 6.0.1 Release 1 for Linux 2.2.12 : 2001
Working data will be in .Data
all.Sdata ... meta.Sdata ... all.S ... done
DUMP_FILES created with list of files to dump via tar, cpio, etc.
[root@birds rpart]# rm -rf .Data makefile
[root@birds rpart]# Splus CHAPTER
Creating data directory for chapter .
Creating "makefile"
makefile will build with: anova.c anovapred.c branch.c bsplit.c
choose_surg.c fix_cp.c formatg.c free_tree.c gini.c graycode.c
insert_split.c labels.rpart.sgml make_cp_list.c make_cp_table.c
meanvar.rpart.sgml model.frame.rpart.sgml mysort.c na.rpart.sgml nodesplit.c
partition.c path.rpart.sgml plot.rpart.sgml plotcp.sgml poisson.c
post.rpart.sgml pred_rpart.c predict.rpart.sgml print.rpart.sgml
printcp.sgml prune.rpart.sgml residuals.rpart.sgml rpart.anova.sgml
rpart.branch.sgml rpart.c rpart.class.sgml rpart.control.sgml rpart.exp.sgml
rpart.matrix.sgml rpart.object.sgml rpart.poisson.sgml rpart.sgml
rpart_callback.c rpartco.sgml rpartexp2.c rpconvert.sgml rpcountup.c
rpmatrix.c rsq.rpart.sgml rundown.c rundown2.c s_to_rp.c s_xpred.c
snip.rpart.mouse.sgml snip.rpart.sgml summary.rpart.sgml surrogate.c
text.rpart.sgml usersplit.c xpred.rpart.sgml xval.c
S-PLUS chapter rpart initialized.
[root@birds rpart]# Splus make boot install.help
S datasets booted
/splus/library/rpart
/splus/library/rpart/.Data/__Shelp
HINSTALL: processing ./.Data/__Shelp/labels.rpart.sgm
HINSTALL: processing ./.Data/__Shelp/meanvar.rpart.sgm
HINSTALL: processing ./.Data/__Shelp/model.frame.rpart.sgm
HINSTALL: processing ./.Data/__Shelp/na.rpart.sgm
HINSTALL: processing ./.Data/__Shelp/path.rpart.sgm
HINSTALL: processing ./.Data/__Shelp/plot.rpart.sgm
HINSTALL: processing ./.Data/__Shelp/plotcp.sgm
HINSTALL: processing ./.Data/__Shelp/post.rpart.sgm
HINSTALL: processing ./.Data/__Shelp/predict.rpart.sgm
HINSTALL: processing ./.Data/__Shelp/print.rpart.sgm
HINSTALL: processing ./.Data/__Shelp/printcp.sgm
HINSTALL: processing ./.Data/__Shelp/prune.rpart.sgm
HINSTALL: processing ./.Data/__Shelp/residuals.rpart.sgm
HINSTALL: processing ./.Data/__Shelp/rpart.anova.sgm
HINSTALL: processing ./.Data/__Shelp/rpart.branch.sgm
HINSTALL: processing ./.Data/__Shelp/rpart.class.sgm
HINSTALL: processing ./.Data/__Shelp/rpart.control.sgm
HINSTALL: processing ./.Data/__Shelp/rpart.exp.sgm
HINSTALL: processing ./.Data/__Shelp/rpart.matrix.sgm
HINSTALL: processing ./.Data/__Shelp/rpart.object.sgm
HINSTALL: processing ./.Data/__Shelp/rpart.poisson.sgm
HINSTALL: processing ./.Data/__Shelp/rpart.sgm
HINSTALL: processing ./.Data/__Shelp/rpartco.sgm
HINSTALL: processing ./.Data/__Shelp/rpconvert.sgm
HINSTALL: processing ./.Data/__Shelp/rsq.rpart.sgm
HINSTALL: processing ./.Data/__Shelp/snip.rpart.mouse.sgm
HINSTALL: processing ./.Data/__Shelp/snip.rpart.sgm
HINSTALL: processing ./.Data/__Shelp/summary.rpart.sgm
HINSTALL: processing ./.Data/__Shelp/text.rpart.sgm
HINSTALL: processing ./.Data/__Shelp/xpred.rpart.sgm
/splus/cmd/BUILD_JHELP: Creating gifs directory.
Running html2jhelp in /splus/library/rpart/.Data/__Jhelp
Getting topic keywords from file: "/splus/splus/lib/X11/keywords"
Processing HTML help files in: ../__Hhelp
Getting gif files from directory: gifs
/splus/cmd/BUILD_JHELP: Creating Search info -- running jhindexer
JAVA_HOME="/splus/java/jh/javahelp/bin/../../../jre"
Running:
-----
/splus/java/jh/javahelp/bin/../../../jre/bin/java   -Dlax.nl.env.path=/splus
/java/jre/bin:/splus/cmd:/splus/cmd:/usr/local/sbin:/usr/sbin:/sbin:/usr/loc
al/sbin:/usr/sbin:/sbin:/bin:/usr/bin:/usr/bin/X11:/usr/local/bin:/usr/bin:/
usr/X11R6/bin:/home/volker/bin:/home/volker/bin com.zerog.lax.LAX
/splus/java/jh/javahelp/bin/jhindexer.lax /tmp/env.properties.18716
../__Hhelp -db .//rpartHelpSearch
-----

LaunchAnywhere(tm) - The Universal Java Application Launcher
       Version 2.5 - Copyright 1998 Zero G Software, Inc.

[root@birds rpart]#




<Prev in Thread] Current Thread [Next in Thread>