[R] CANNOT RUN ctree
CHIRIBOGA Xavier
xavier.chiriboga at unine.ch
Thu Mar 10 20:51:11 CET 2016
Dear all,
Sorry for question again, but I am desesperating..
I installed already "partykit" But there is stille a message (see below):
the package "partykit" has been compiled with the version R3.1.3.
What should I do now?
I run my function and appears this:
Error in loadNamespace(name) : there is no package called 'Formula'
THANK YOU for ur assistance,
Xavier
install.packages("partykit") Installing package into 'C:/Users/chiribogax/Documents/R/win-library/3.1' (as 'lib' is unspecified) trying URL 'http://cran.rstudio.com/bin/windows/contrib/3.1/partykit_1.0-5.zip' Content type 'application/zip' length 1215105 bytes (1.2 Mb) opened URL downloaded 1.2 Mb package 'partykit' successfully unpacked and MD5 sums checked The downloaded binary packages are in C:\Users\chiribogax\AppData\Local\Temp\RtmpyugH55\downloaded_packages > library("partykit") Le chargement a nécessité le package : grid Warning message: le package 'partykit' a été compilé avec la version R 3.1.3 > plot(ctree(Surv(hours,state)~soil+volatile, data=data)) Error in loadNamespace(name) : there is no package called 'Formula'
More information about the R-help
mailing list