similar to: SV: Documentation on how to put classes and methods in packageswith namespace?

Displaying 20 results from an estimated 100 matches similar to: "SV: Documentation on how to put classes and methods in packageswith namespace?"

2004 Mar 16
2
Documentation on how to put classes and methods in packages with namespace?
Documentation on how to put classes and methods in packages with namespace? How should I define my classes and methods in "dynamicGraph"??? (That is - Can some one point me to the documentation on how to put classes and methods in packages with a namespace? ) Currently it is done by the code below. This gives problems, when a workspace with a "dynmaicGraph" is
2008 Feb 01
1
package could not be loaded
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 =
2004 Mar 16
0
VS: Documentation on how to put classes and methods in packages with namespace?
> -----Oprindelig meddelelse----- > Fra: Jens Henrik Badsberg > Sendt: 16. marts 2004 11:37 > Til: 'r-help@stat.math.ethz.ch' > Emne: Documentation on how to put classes and methods in packages with namespace? > > > Documentation on how to put classes and methods in packages with namespace? > > How should I define my classes and methods in
2007 May 13
2
Oddities upgrading from 2.4.1 to 2.5.0
I'm working on Windoze XP and have for some time installed R in D:\R and upgraded my packages after installing the new version of R with a bit of code I think I got from the list: ip <- installed.packages(lib.loc = "d:\\R\\R-2.4.1\\library") ip <- ip[ip[,1]!="base" ,1] install.packages(ip) This time around that's produced some warning grumbles: Warning messages:
2007 Feb 13
4
Advice on visual graph packages
Hey, all. I'm looking for packages that are good at two things 1) Drawing directed graphs (i.e nodes and edges), both with single and double headed arrows, as well as allowing for differences in line width and solid versus dashed. Note: I've tried Rgraphviz here, but have run into some problems (which seem fixable and I may go with it in the end), and it doesn't satisfy need
2008 May 09
3
For Social Network Analysis-Graph Analysis - How to convert 2 mode data to 1 mode data?
Hi, Does anyone know of a package in R that has a function to convert network data (e.g. an adjacency matrix or ) from 2-mode to 1-mode? I am conducting social network analysis. I know that Pajek has this function under Net --> Transform --> 2-mode to 1-mode --> Rows. I have searched the documentation under packages 'sna', 'network', 'igraph', and
2005 Nov 01
4
S4 classes in existing packages
R-devel, I'm interested in looking at some examples of existing R packages that rely heavily on S4 classes to get a feel for varying styles and package organization techniques. Could you recommend any packages that might serve as a good starting point? Thanks in advance, Jeff
2005 Nov 01
4
S4 classes in existing packages
R-devel, I'm interested in looking at some examples of existing R packages that rely heavily on S4 classes to get a feel for varying styles and package organization techniques. Could you recommend any packages that might serve as a good starting point? Thanks in advance, Jeff
2004 Aug 20
0
Package "deal" version 1.2-17
A new version of the package "deal" is now available on CRAN. The package is for learning (parameters and structure) of Bayesian networks and provide an interface to Hugin. In the new version there is an interface to the package dynamicGraph which allows for editing and callbacks of graphs in the displayed window. Try > install.packages(c("dynamicGraph","deal"))
2004 Aug 20
0
Package "deal" version 1.2-17
A new version of the package "deal" is now available on CRAN. The package is for learning (parameters and structure) of Bayesian networks and provide an interface to Hugin. In the new version there is an interface to the package dynamicGraph which allows for editing and callbacks of graphs in the displayed window. Try > install.packages(c("dynamicGraph","deal"))
2007 Nov 13
2
connection diagram
Hi I am practically new to R, and need to construct connection diagrams, I have a table of data, of nodes in vertical rows, and horizontally the number of outgoing connections to other nodes, and the indices of these nodes, each in a column, so some columns are used, and some are not, based on how many connections I have the node is identified by these variables (dimension, wave number,
2005 Aug 03
1
tree/graph data structure APIs?
What is the best code available for simple general purpose manipulation of tree (and/or directed graph) data structures in R? Looking through CRAN, I see a bunch of packages for stastical regression trees, but nothing that seems to provide an API for manipulating tree data structures. What I'm looking for is something along the lines of an R version of the Tcllib ::struct::tree API available
2004 Aug 24
1
Changes to correct problems with classes in namespaces
An extensive set of changes to the methods package has been committed today to allow non-exported classes from packages with namespaces (and some related fixes in dealing with generic functions from namespaces as well). The namespace mechanism requires packages to export any class definitions that are part of the API. Unfortunately, NOT exporting classes has never really worked. The problem was
2007 Mar 16
1
Implementing trees in R
Hi all, I am rather new to R. Recently I have been trying to implement some tree algorithms in R. I used lists to model tree nodes. I thought something like this would work: parent <- list(); child <- list(); parent$child1 <- child; child$parent <- parent; When I tried to check whether a node is its parent's first child using "if
2005 Jan 26
2
networks in R
Good afternoon, do you know if R provides a special package to make networks ? Thank you, Angela
2005 Jul 31
3
Drawing a graph with vertices and edges using tcl/tk
Dear all; I would like to draw a graph with vertices and edges, and I guess tcl/tk would be appropriate. I don't know tcl/tk but have googled for a 10-page (or so) introduction to 'getting started with tcl/tk in R' but without any luck. - Does anyone know of the existence of such a document or any other web-based material on the subject? - Does anyone have an (informative) piece of
2010 Aug 25
1
Documenting S4 Methods
I'm in the process of converting some S3 methods to S4 methods. I have this function : setGeneric("enrichmentCalc", function(rs, organism, seqLen, ...){standardGeneric("enrichmentCalc")}) setMethod("enrichmentCalc", c("GenomeDataList", "BSgenome"), function(rs, organism, seqLen, ...) { ... ... ... })
2004 Mar 17
1
Bundles and 1.9.0 (alpha)
What is it "Package bundles" and 1.9.0 (alpha) ? 'Rcmd check Bundle' aborts with: Error: cannot open file '.../Bundle.Rcheck/Package/R/Package' for reading In ".../Bundle.Rcheck/" the packages of the bundle are "merged" into a single "package". ('Rcmd INSTALL' does also "merge" the packages of the bundle.) I do not in
2004 Mar 17
1
Bundles and 1.9.0 (alpha)
What is it "Package bundles" and 1.9.0 (alpha) ? 'Rcmd check Bundle' aborts with: Error: cannot open file '.../Bundle.Rcheck/Package/R/Package' for reading In ".../Bundle.Rcheck/" the packages of the bundle are "merged" into a single "package". ('Rcmd INSTALL' does also "merge" the packages of the bundle.) I do not in
2009 Apr 06
1
'R CMD build --binary BUNDLE' and Windows
'R CMD build --binary BUNDLE' and Windows. When using R version 2.9.0 beta for 'R CMD build --binary CoCo' on Windows only the first package of the 'Contains' field of the bundle DESCRIPTION file ends up in the zip file. (Same result for the bundle 'VR' by R version 2.9.0 beta.) The check of the CoCo bundle version 0.1.7.5 by R version 2.9.0 beta is OK (on