[Rd] Regarding the recent changes to @<-

2013-01-13 Thread François Michonneau
Hello all, In one of the packages (phylobase) I'm contributing to, we define a class as follows: setClass("phylo4", representation(edge = "matrix", edge.length = "numeric", label = "character", edge.label = "charac

Re: [Rd] Incorporating single functions from other packages: rules and regulations?

2013-01-13 Thread Duncan Murdoch
On 13-01-13 3:44 PM, Tim Triche, Jr. wrote: a n00b question: if I call importFrom(IRanges, ranges) in my NAMESPACE file, that works great. but if I call R> importFrom(IRanges, ranges) ## Error: could not find function "importFrom" well, that doesn't work great. The NAMESPACE file is parse

Re: [Rd] Incorporating single functions from other packages: rules and regulations?

2013-01-13 Thread Ben Bolker
Tim Triche, Jr. gmail.com> writes: > a n00b question: > > if I call importFrom(IRanges, ranges) in my NAMESPACE file, that works > great. > but if I call > > R> importFrom(IRanges, ranges) > ## Error: could not find function "importFrom" > > well, that doesn't work great. The closest thing

Re: [Rd] Incorporating single functions from other packages: rules and regulations?

2013-01-13 Thread Tim Triche, Jr.
a n00b question: if I call importFrom(IRanges, ranges) in my NAMESPACE file, that works great. but if I call R> importFrom(IRanges, ranges) ## Error: could not find function "importFrom" well, that doesn't work great. The closest thing I can find in base is base:::importIntoEnv which helpfu

Re: [Rd] Project wanted

2013-01-13 Thread Dirk Eddelbuettel
On 13 January 2013 at 22:42, Siddhant Gupta wrote: | I am quite well versed in R. I can code in C++ and am currently pursuing | biotechnology from Indian Institute of Technology, Rookee. I am looking for | a project that I can immediately start working on and which is the need of | the hour for R

[Rd] Project wanted

2013-01-13 Thread Siddhant Gupta
Hi I am quite well versed in R. I can code in C++ and am currently pursuing biotechnology from Indian Institute of Technology, Rookee. I am looking for a project that I can immediately start working on and which is the need of the hour for R as well, so I can carry it to GSoC. Can anyone please he

Re: [Rd] Incorporating single functions from other packages: rules and regulations?

2013-01-13 Thread Dirk Eddelbuettel
On 13 January 2013 at 11:16, Johannes Graumann wrote: | In a little pkg I'm developing I am in need of the functionality provided by | plotrix::listDepth. | | I am loath of having the depend on and import the whole package just for | that purpose. Step back and realize that your total R instal

Re: [Rd] .print.via.format not found when building r61617?

2013-01-13 Thread Prof Brian Ripley
No on else is having this problem, including the OS X and Windows binary builds and all the CRAN platforms. I wondered if something is wrong with your collation: the function is defined in QC.R and used in admin.R pdftools.R sotools.R, so if admin.R < QC.R there would be a problem. You could

[Rd] Incorporating single functions from other packages: rules and regulations?

2013-01-13 Thread Johannes Graumann
Hi, In a little pkg I'm developing I am in need of the functionality provided by plotrix::listDepth. I am loath of having the depend on and import the whole package just for that purpose. What is an acceptable way of integrating this functionality into my own package? Just copying the functio