Hello, I would like to use Bayesian Networks with R. I have already installed the package called deal which has succefully unpacked (package 'deal' successfully unpacked and MD5 sums checked) . But when I try to write " <- network (df) I have that kind of error message (be low)! rats <- network(rats.df) Error: couldn't find function "network" Thank u for your help Alice [[alternative HTML version deleted]]
I guess you are using R on Windows, and install the binary version of the package. (Please tell us, as the Posting Guide asks, rather than leave us guessing.) Did you load the package with `library(deal)' before using the functions? Andy> From: NDIKUMAGENGE Alice > > > Hello, > > I would like to use Bayesian Networks with R. > I have already installed the package called deal which has > succefully unpacked (package 'deal' successfully unpacked and > MD5 sums checked) > . > But when I try to write " <- network (df) > I have that kind of error message (be low)! > > rats <- network(rats.df) > Error: couldn't find function "network" > > Thank u for your help > > Alice > > > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html > >
NDIKUMAGENGE Alice wrote:> Hello, > > I would like to use Bayesian Networks with R. > I have already installed the package called deal which has succefully unpacked (package 'deal' successfully unpacked and MD5 sums checked) > . > But when I try to write " <- network (df) > I have that kind of error message (be low)! >Quite certainly you forgot to load the package: library(deal) Uwe Ligges> rats <- network(rats.df) > Error: couldn't find function "network" > > Thank u for your help > > Alice > > > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html