[Rd] Undocumented S4 methods: generic 'show'

2006-11-22 Thread Pfaff, Bernhard Dr.
Dear R-Devel subsriber, during the set-up of a package with a NAMESPACE I stumbled over the following warning during: R CMD check -l c:/R/package smem ## skipped output * checking for missing documentation entries ... WARNING Undocumented S4 methods: generic 'show' and siglist 'equation' All u

Re: [Rd] Undocumented S4 methods: generic 'show'

2006-11-22 Thread Prof Brian Ripley
On Wed, 22 Nov 2006, Pfaff, Bernhard Dr. wrote: > Dear R-Devel subsriber, > > during the set-up of a package with a NAMESPACE I stumbled over the > following warning during: > > R CMD check -l c:/R/package smem > > ## skipped output > * checking for missing documentation entries ... WARNING > Undo

Re: [Rd] Undocumented S4 methods: generic 'show'

2006-11-22 Thread Pfaff, Bernhard Dr.
>On Wed, 22 Nov 2006, Pfaff, Bernhard Dr. wrote: >> >> \alias{show, equation-method} > >There are no spaces in the examples in Writing R Extensions, >so I would >not have assumed they are allowed. Does it work without the >space? (If >it supposed to, we need to document that.) Dear Prof. Ri

Re: [Rd] package vignettes, suggests and R CMD check

2006-11-22 Thread Paul Gilbert
Peter Ruckdeschel wrote: > Dear R-devels, > > We have encountered a problem concerning a dead lock in the dependency graph: > > We have two packages A1 and A2 where A2 extends A1. > > We have one package vignette for both packages, but which should be included > into package A1. > > So in the

Re: [Rd] package vignettes, suggests and R CMD check

2006-11-22 Thread Gabor Grothendieck
Assuming you don't want to split it tup: In A1 place a file A1-packages.Rd which documents all sources of documentation for A1. That can refers the user to the vignette in A2. packages?A1 will bring it up this information help file. You could also considering having a one line vignette in A1

Re: [Rd] dyn.load

2006-11-22 Thread Tom McCallum
To answer my own question - you can use DllMain with Rwin_fpset() to get around this error message. Am still struggling though as it crashes when it tries to call a function in the wrapped DLL - any ideas on how to debug this? Hope this is of help to some one Tom On Tue, 21 Nov 2006 17:30:

[Rd] Ralloc clash

2006-11-22 Thread Tom McCallum
Hi everyone, Have been trying to include windows.h (from MinGW) and R.h into a package and have found that Ralloc is coming up as a clash no matter which include ordering I use. In windows it has 2 arguments and is defined in objidl.h and in R.h it is 3 arguments. Any ideas of how to work

Re: [Rd] c.factor

2006-11-22 Thread Matthew Dowle
I noticed that a new feature in R 2.4 is that unlist of a list of factors already does the operation that I proposed : > x = factor(letters[1:5]) > y = factor(letters[4:8]) > unlist(list(x,y)) [1] a b c d e d e f g h Levels: a b c d e f g h > Therefore, does it not make sense that c(x,y) shoul

[Rd] Sued Tuerkei.

2006-11-22 Thread Sued Tuerkei.
Sehr geehrte Damen und Herren, Als SI GROUP Für Herbst und Winter haben wir Ihnen ein preislich unschlagbares Angebot an die türkische Riviera-BELEK Halb Pansion 5 Sterne Hotels anzubieten. Ab Zuerich und Basel. INCLUSIV FLUG Hin und Zurück und 8-tägige Ferien an der Türkischen Riviera-Antalya-5

Re: [Rd] c.factor

2006-11-22 Thread Matthew Dowle
I just noticed that a new feature in R 2.4 is that unlist of a list of factors already does the operation that I proposed : > x = factor(letters[1:5]) > y = factor(letters[4:8]) > unlist(list(x,y)) [1] a b c d e d e f g h Levels: a b c d e f g h > Therefore, does it not make sense that c(x,y) s

[Rd] How can I call a function R from C

2006-11-22 Thread Ricardo Rios
Hi wizards, I have a function in R for example: anyfunction<-function(beta0, popsize, maxgen), but I have a function in C for example: SEXP otherfunction(SEXP beta0, SEXP popsize, SEXP maxgen) I call it function with .Call but I need to call to anyfunction on otherfunction. Does somebody know

Re: [Rd] How can I call a function R from C

2006-11-22 Thread Jeffrey Horner
Ricardo Rios wrote: > Hi wizards, I have a function in R for example: > anyfunction<-function(beta0, popsize, maxgen), > > but I have a function in C for example: > > SEXP otherfunction(SEXP beta0, SEXP popsize, SEXP maxgen) > > I call it function with .Call but I need to call to anyfunction o

Re: [Rd] Ralloc clash

2006-11-22 Thread Prof Brian Ripley
Where exactly did you get windows.h from? The recommended source is w32api-3.7.tar.gz, and there is no Ralloc in any of its header files, including objidl.h. BTW, do you know about defining WIN32_LEAN_AND_MEAN when including windows.h? If not, it is worth finding out about. On Wed, 22 Nov 20