Re: [Rd] assignInNamespace and new bindings

2011-05-31 Thread Thomas Friedrichsmeier
Hi, On Tuesday 31 May 2011, luke-tier...@uiowa.edu wrote: > Yes you should. Changing things in other people's packages is not a > safe thing to do. sorry to insist, but I was hoping for a slightly more specific pointer. I'll try asking it another way: Suppose I was using assignInNamespace() ent

Re: [Rd] GUI hooks in R [Was: assignInNamespace and new bindings]

2011-05-31 Thread Thomas Friedrichsmeier
On Tuesday 31 May 2011, Simon Urbanek wrote: > The history entries are somewhat in a grey area, because most GUIs use > their own implementation of history (and thus they are irrelevant) and the > *history() commands are documented to only use readline-backend. That > said, they could be easily use

[Rd] GUI hooks in R [Was: assignInNamespace and new bindings]

2011-05-31 Thread Simon Urbanek
On May 31, 2011, at 4:11 PM, Thomas Friedrichsmeier wrote: > On Tuesday 31 May 2011, Simon Urbanek wrote: >> I would expect so, but I'll let Luke comment on it. It is definitely a very >> bad idea. >> >> R provides facilities for customization and other GUIs are using them >> properly. If you are

Re: [Rd] assignInNamespace and new bindings

2011-05-31 Thread Thomas Friedrichsmeier
On Tuesday 31 May 2011, Simon Urbanek wrote: > I would expect so, but I'll let Luke comment on it. It is definitely a very > bad idea. > > R provides facilities for customization and other GUIs are using them > properly. If you are lacking anything, I would suggest asking here first - > it is much

Re: [Rd] Comment on build and INSTALL

2011-05-31 Thread Duncan Murdoch
On 11-05-31 3:29 PM, Ronald Barry wrote: Greetings, I have noticed two possible small glitches with build and INSTALL. First, when I run R CMD build latticeDensity, I get the following message: *excluding invalid files from 'latticeDensity' Subdirectory R c

[Rd] Comment on build and INSTALL

2011-05-31 Thread Ronald Barry
Greetings, I have noticed two possible small glitches with build and INSTALL. First, when I run R CMD build latticeDensity, I get the following message: *excluding invalid files from 'latticeDensity' Subdirectory R contains invalid file names:

Re: [Rd] assignInNamespace and new bindings

2011-05-31 Thread Simon Urbanek
Thomas, On May 31, 2011, at 2:16 PM, Thomas Friedrichsmeier wrote: > On Tuesday 31 May 2011, luke-tier...@uiowa.edu wrote: >> Also note at the beginning of of th help file: >> >> Utility functions to access and replace the non-exported functions >> in a name space, for use in developin

Re: [Rd] assignInNamespace and new bindings

2011-05-31 Thread luke-tierney
On Tue, 31 May 2011, Thomas Friedrichsmeier wrote: On Tuesday 31 May 2011, luke-tier...@uiowa.edu wrote: Also note at the beginning of of th help file: Utility functions to access and replace the non-exported functions in a name space, for use in developing packages with name space

Re: [Rd] assignInNamespace and new bindings

2011-05-31 Thread Thomas Friedrichsmeier
On Tuesday 31 May 2011, luke-tier...@uiowa.edu wrote: > Also note at the beginning of of th help file: > > Utility functions to access and replace the non-exported functions > in a name space, for use in developing packages with name spaces. >^^^

Re: [Rd] Query super- and subclasses of a class: is there a better way than to use 'completeClassDefinition()'

2011-05-31 Thread Martin Morgan
On 05/30/2011 08:54 AM, Janko Thyson wrote: Dear List, when I first started to use S4 classes, I used the function 'completeClassDef()' in order to see the super- and subclasses of a certain class: Hi Janko -- I think 'complete' is meant as an adverb here; what you might want is names(getClas

Re: [Rd] assignInNamespace and new bindings

2011-05-31 Thread luke-tierney
Also note at the beginning of of th help file: Utility functions to access and replace the non-exported functions in a name space, for use in developing packages with name spaces. ^^ This is intended only as a developer convenience, not

Re: [Rd] assignInNamespace and new bindings

2011-05-31 Thread Romain Francois
Le 31/05/11 12:01, Prof Brian Ripley a écrit : On Tue, 31 May 2011, Prof Brian Ripley wrote: On Tue, 31 May 2011, Romain Francois wrote: Hello, assignInNamespace refuses to assign an object to a name that is not already used in the namespace. That's intentional, and as documented: ‘assign

[Rd] Fwd: Projection Pursuit Index

2011-05-31 Thread Mohit Dayal
OK, figured this one out. But would a be a good modification I feel. Thanks and Regards, Mohit Dayal -- Forwarded message -- From: Mohit Dayal Date: 31 May 2011 17:05 Subject: Projection Pursuit Index To: R-devel@r-project.org Dear R-developers, I am trying to experiment with

[Rd] Projection Pursuit Index

2011-05-31 Thread Mohit Dayal
Dear R-developers, I am trying to experiment with projection pursuit (PP), and different indexes for the same, especially using the tourr package. However, I've noticed that a PP index in the said package is only a function of the projected data. Could I modify the function so that the index sees

Re: [Rd] assignInNamespace and new bindings

2011-05-31 Thread Prof Brian Ripley
On Tue, 31 May 2011, Prof Brian Ripley wrote: On Tue, 31 May 2011, Romain Francois wrote: Hello, assignInNamespace refuses to assign an object to a name that is not already used in the namespace. That's intentional, and as documented: ‘assignInNamespace’ and ‘fixInNamespace’ are invok

Re: [Rd] assignInNamespace and new bindings

2011-05-31 Thread Prof Brian Ripley
On Tue, 31 May 2011, Romain Francois wrote: Hello, assignInNamespace refuses to assign an object to a name that is not already used in the namespace. That's intentional, and as documented: ‘assignInNamespace’ and ‘fixInNamespace’ are invoked for their side effect of changing the o