In general, you should probably update your R installation. In specific, you should install the missing package Formula, as the error message is telling you.
On Thu, Mar 10, 2016 at 2:51 PM, CHIRIBOGA Xavier <xavier.chirib...@unine.ch> wrote: > 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' > > ______________________________________________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > 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 -- To UNSUBSCRIBE and more, see 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.