On 04.09.2014 15:03, Angel Marley wrote:
Dear R list,

I'm working with recursive tress using packages mvpart and rpart in R in linux 
xubuntu (64).

The package performed with no problem under my previous R version (2.14)

I had recently updated my R version to 3.1.1 and when I try to run a mvpart 
model I get the following error mesage

data(spider)
mvpart(data.matrix(spider[,1:12])~herbs+reft+moss+sand+twigs+water, data=spider)


This works for me.

Please run

update.packages(checkBuilt=TRUE)

and update your packages.

Best,
Uwe Ligges




Error en .C("s_to_rp", n = as.integer(nobs), nvarx = as.integer(nvar),  :
   "s_to_rp" not available for .C() for package "mvpart"

I tried to find this problem on the web, but I was not able to find any 
response.

If you can please help me to solve this problem, I would be grateful.
Best regards and thank you in advance
Angel Segura

PD below you will find R and session info

Working on Ubuntu 12.04.2 LTS \n \l

R.Version()
$platform
[1] "x86_64-pc-linux-gnu"

$arch
[1] "x86_64"

$os
[1] "linux-gnu"

$system
[1] "x86_64, linux-gnu"

$status
[1] ""

$major
[1] "3"

$minor
[1] "1.1"

$year
[1] "2014"

$month
[1] "07"

$day
[1] "10"

$`svn rev`
[1] "66115"

$language
[1] "R"

$version.string
[1] "R version 3.1.1 (2014-07-10)"

$nickname
[1] "Sock it to Me"

sessionInfo()
R version 3.1.1 (2014-07-10)
Platform: x86_64-pc-linux-gnu (64-bit)

locale:
  [1] LC_CTYPE=es_ES.UTF-8       LC_NUMERIC=C
  [3] LC_TIME=en_US.UTF-8        LC_COLLATE=es_ES.UTF-8
  [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=es_ES.UTF-8
  [7] LC_PAPER=en_US.UTF-8       LC_NAME=C
  [9] LC_ADDRESS=C               LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] mvpart_1.6-2 rpart_4.1-8

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to