[R] package could not be loaded

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Feb 1 07:45:45 CET 2008


I suggest you update your R, install deal and dynamicGraph from CRAN and 
then try BNArray.  If that then fails, consult its provider for help.

Please note the posting guide makes clear that we don't provide support for 
obsolete versions of R, nor binary package distributions.

On Fri, 1 Feb 2008, Suhaila Zainudin wrote:

> Hi,
>
> I am an R newbie. I am running R2.5.1 on WinXP. I am trying to run a pacakge
> (BNArray1.0)  that depends on deal 1.2-26 and dynamicGraph 0.2.0.1 . These
> are available on http://www.cls.zju.edu.cn/binfo/BNArray/#OLE9 .
> I have installed the 3 packages (using local files). When I try to run
> BNArray, I reveicd this error message
>
>> local({pkg <- select.list(sort(.packages(all.available = TRUE)))
> + if(nchar(pkg)) library(pkg, character.only=TRUE)})
> Loading required package: deal
> Loading required package: dynamicGraph
> Error in loadNamespace(package, c(which.lib.loc, lib.loc), keep.source =
> keep.source) :
>        in 'dynamicGraph' methods for export not found: vertices,
> vertices<-, blocks, blocks<-, control, control<-, models, models<-, model,
> model<-, graphs, graphs<-, dg, dg<-, draw, checkBlockList, top, vbox,
> canvas, tags, addModel, replaceModel, addView, replaceView, viewLabel,
> viewType, visibleVertices, visibleBlocks, edgeList, blockEdgeList,
> factorVertexList, factorEdgeList, extraList, extraEdgeList, constrained,
> constrained<-, color, color<-, label, label<-, labelPosition,
> labelPosition<-, name, name<-, index, index<-, position, position<-,
> stratum, stratum<-, ancestors, ancestors<-, descendants, descendants<-,
> parent, parent<-, children, children<-, visible, visible<-, blockindex,
> blockindex<-, width, width<-, dash, dash<-, oriented, oriented<-,
> nodeIndices, nodeIndices<-, nodeIndicesOfEdge, nodeIndicesOfEdge<-,
> nodeTypesOfEdge, Names, Names<-, Constrained, Constrained<-, Colors,
> Colors<-, Labels, Labels<-, LabelPositions, LabelPositions<-, Positions,
> Positions<-, Strata, Strata<-, NodeAncestors, NodeAncestors<-,
> NodeDescendants, NodeDescendants<-, descendantsBlockList,
> ancestorsBlockList, Parents, Parents<-, Children, Children<-, Indices,
> NodeTypes, NodeIndices, Widths, Widths<-, Dashes, Dashes<-, Visible,
> Visible<-, Oriented, Oriented<-, setSlots, asDataFrame, Str, modifyModel,
> testEdge, setGraphEdges, graphEdges, setGraphComponents, graphComponents,
> addToPopups, propertyDialog
> Error: package 'dynamicGraph' could not be loaded
>
>
> How to solve this problem? TQ!
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at 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.
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-help mailing list