[Rd] Needless updating of HTML package descriptions

2009-09-10 Thread Gabor Grothendieck
I recently installed a local package which failed because the package was already loaded; however, then it tried to update all the HTML package descriptions needlessly (since they had not changed due to the failure to install). Since updating the HTML package descriptions can be time consuming the

Re: [Rd] Non-GPL packages for R

2009-09-10 Thread Duncan Murdoch
On 10/09/2009 6:57 PM, spencerg wrote: I will offer my opinion as a user and contributer to R packages via R-Forge and CRAN: 1. How difficult would it be to split CRAN into two parts, depending on whether the package carried an acceptable license allowing free distribution

Re: [Rd] Non-GPL packages for R

2009-09-10 Thread Nicholas Lewin-Koh
With header this time On Thu, 10 Sep 2009 16:08 -0700, "Nicholas Lewin-Koh" wrote: > Hi, > I would also be in favor of a stronger stance on licenses. In > industry, where we can really get in big trouble for violating a > license, > we often maintain internal repositories, or need to be careful a

[Rd] (no subject)

2009-09-10 Thread Nicholas Lewin-Koh
Hi, I would also be in favor of a stronger stance on licenses. In industry, where we can really get in big trouble for violating a license, we often maintain internal repositories, or need to be careful about filtering what is used from CRAN. I think that is should really be a requirement the packa

Re: [Rd] Non-GPL packages for R

2009-09-10 Thread spencerg
I will offer my opinion as a user and contributer to R packages via R-Forge and CRAN: 1. How difficult would it be to split CRAN into two parts, depending on whether the package carried an acceptable license allowing free distribution? The second might carry a name like RANC

Re: [Rd] Non-GPL packages for R

2009-09-10 Thread Dirk Eddelbuettel
On 10 September 2009 at 14:26, Gabor Grothendieck wrote: | The SystemRequirements: field of the DESCRIPTION file normally | lists external dependencies whether free or non-free. Moreover, the (aptly named) field 'License:' in DESCRIPTION is now much more parseable and contains pertinent informati

Re: [Rd] importing/loading package without a namespace

2009-09-10 Thread Christos Hatzis
Thank you Martin. This has worked. It was perhaps the suggestion to explicitly call the qcc functions in my code via qcc:: Thanks. -Christos > -Original Message- > From: r-devel-boun...@r-project.org > [mailto:r-devel-boun...@r-project.org] On Behalf Of Martin Morgan > Sent: Thursday,

Re: [Rd] importing/loading package without a namespace

2009-09-10 Thread Martin Morgan
Hi Christos -- Christos Hatzis wrote: > I am developing a package that imports some functions from another package. > The imported package (qcc) does not have a namespace and this is causing > problems with loading of my package, which has a namespace. Is there a > workaround to allow loading the

[Rd] importing/loading package without a namespace

2009-09-10 Thread Christos Hatzis
I am developing a package that imports some functions from another package. The imported package (qcc) does not have a namespace and this is causing problems with loading of my package, which has a namespace. Is there a workaround to allow loading the namespace-less package? I searched the archiv

[Rd] R_SHELL=/bin/bash causes issues (PR#13949)

2009-09-10 Thread bownes
Full_Name: Bob Bownes Version: 2.9.2 OS: Solaris 10 Submission from: (NULL) (164.55.254.106) Symptom: Setting R_SHELL=/bin/bash causes make to fail. Reproduce with: bash-3.00# export R_SHELL=/bin/csh;./configure --with-readline=no --with-iconv=no --with-x=no --enable-static=yes --prefix=/home/d

Re: [Rd] Finding the environment of a promise

2009-09-10 Thread luke
One of the (many) things on my TODO list is to add some sort of reflection mechanism for examinging the status of bindings -- standard, active, delayed but evaluated, delayed but not yet evaluated, etc. The interface might have a flavor like bindingStatus(name, envir) returns one of "standar

Re: [Rd] Non-GPL packages for R

2009-09-10 Thread Gabor Grothendieck
The SystemRequirements: field of the DESCRIPTION file normally lists external dependencies whether free or non-free. On Thu, Sep 10, 2009 at 1:50 PM, Prof. John C Nash wrote: > Subject: Non-GPL packages for R > > Packages that are not licensed in a way that permits re-distribution on > CRAN are f

[Rd] Non-GPL packages for R

2009-09-10 Thread Prof. John C Nash
Subject: Non-GPL packages for R Packages that are not licensed in a way that permits re-distribution on CRAN are frequently a source of comment and concern on R-help and other lists. A good example of this problem is the Rdonlp2 package that has caused a lot of annoyance for a number of optimiza

Re: [Rd] 'make install' fails on Solaris (PR#13946)

2009-09-10 Thread bownes
Interesting. None of my paths have ':' in them. make install without --enable-R-static-lib works fine. On Thu, Sep 10, 2009 at 11:39 AM, Prof Brian Ripley wrote: > I can see what has happened: one of the paths contains : as Peter > suggested. By not why, and there seem to be more wrong with i

Re: [Rd] 'make install' fails on Solaris (PR#13946)

2009-09-10 Thread Bob Bownes
Interesting. None of my paths have ':' in them. make install without --enable-R-static-lib works fine. On Thu, Sep 10, 2009 at 11:39 AM, Prof Brian Ripley wrote: > I can see what has happened: one of the paths contains : as Peter > suggested. By not why, and there seem to be more wrong with i

Re: [Rd] 'make install' fails on Solaris (PR#13946)

2009-09-10 Thread Prof Brian Ripley
I can see what has happened: one of the paths contains : as Peter suggested. By not why, and there seem to be more wrong with it: look at the lines I've enclosed in ===. There is no space after -Rblas, and other odd things, so changing the sed script would not help here. As Peter say, -Wlfoo,b

Re: [Rd] 'make install' fails on Solaris (PR#13946)

2009-09-10 Thread ripley
This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --27464147-1085614336-1252597171=:13955 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8BIT I can see what

Re: [Rd] 'make install' fails on Solaris (PR#13946)

2009-09-10 Thread bownes
Sorry, typo. Yes, it is confusing sed. And, yes, I am also using /usr/xpg4/bin/sed. Here is the error: bash-3.00# make install installing doc ... ../tools/install-sh -c -m 644 ../NEWS "/home/dev/scratch/bbownes/R/lib/R/doc" installing doc/html ... installing doc/html/search ... installing doc/man

Re: [Rd] 'make install' fails on Solaris (PR#13946)

2009-09-10 Thread Bob Bownes
Sorry, typo. Yes, it is confusing sed. And, yes, I am also using /usr/xpg4/bin/sed. Here is the error: bash-3.00# make install installing doc ... ../tools/install-sh -c -m 644 ../NEWS "/home/dev/scratch/bbownes/R/lib/R/doc" installing doc/html ... installing doc/html/search ... installing doc/man

[Rd] findLineNum and setBreakpoint added

2009-09-10 Thread Duncan Murdoch
I've just added a couple of functions to R-devel to help with debugging. findLineNum() finds which line of which function corresponds to a particular line of source code; setBreakpoint() takes the output of findLineNum, and calls trace() to set a breakpoint there. These rely on having source

Re: [Rd] Package that does not work until I re write the exactly the same code

2009-09-10 Thread Christophe Genolini
Martin Morgan find the solution. Before setMethod("kml","ClusterizLongData",func) kml was in environment kml, After, kml is in environment global. So, using traceback(), we find that kml use an object Partition that is define in another package and that was export to the global environment bu

Re: [Rd] Problem using model.frame with argument subset in own function

2009-09-10 Thread Greg B. Hill
Gavin, I ran into the same cryptic "invalid subscript type 'closure'" message in a slightly less complicated scenario, and wanted to post the cause in my case (the root cause is probably the same either way). Similarly to your case, I was subsetting a data frame. I had a list of variable names

[Rd] feature and bug in wilcox.test

2009-09-10 Thread Fritz Scholz
Dear Developers Team, I have two items: 1. wilcox.test with the paired=T option appears to delete zeros before ranking absolute differences. Would it be possible to add the feature of removing zeros after ranking, which is given in Lehmann's Nonparametrics as the preferred choice. See also Pratt