Skip to content
Prev 4109 / 398506 Next

rpart on Alpha under OSF

Running on an Alpha machine which reports (uname -a)

       OSF1 bsdx01.bs.ehu.es V4.0 878 alpha

and using  the binary distribution  put together by  Albrecht Gebhardt
(in    http://cran.at.r-project.org/bin/osf/osf4.0/tar/alpha_ev5/)   I
obtain  core dumps  whenever I  try  to use  package rpart.  I have  R
REMOVE'd the rpart package, downloaded the source rpart_1.0-7.tar from
CRAN  and attempted  a compilation.  Everything works  fine  until the
linking step, when I get:

f77 -shared  -o /users/etptupaf/R/library/rpart/libs/rpart.so anova.o anovapred.o branch.o bsplit.o choose_surg.o fix_cp.o free_tree.o gini.o graycode.o insert_split.o make_cp_list.o make_cp_table.o mysort.o nodesplit.o partition.o poisson.o poissonpred.o pred_rpart.o rpart.o rpcountup.o rplabel.o rpmatrix.o rundown.o rundown2.o s_to_rp.o s_xpred.o surrogate.o xval.o -lUfor -lfor -lFutil -lm -lots -lm
ld:
Warning: Unresolved:
S_alloc

What is S_alloc? Do  I have to install the full source  for R in order
to compile a package? I do not have root rights on this machine, which
is why I went for the compiled distribution. Compiling the same package 
on my Linux Intel machine works all right, so I guess the problem is
I am missing something that I should have.


ft.