Re: [Rd] args / formals on primitives

2007-04-17 Thread Prof Brian Ripley
On Mon, 16 Apr 2007, Thomas Friedrichsmeier wrote: On SVN revision 41087: which is over 100 old. Now we are in code freeze, the pace of change should reduce considerably (although people will continue to work in R-devel) ?args has this example line: args(c)# - NULL (c is a

[Rd] no visible binding for global variable

2007-04-17 Thread Robin Hankin
Hello everyone I am trying to get one of my packages through R's QC. The package is clean for me under R-2.4.1, R-2.5.0, and R-devel, but Kurt gets * checking R code for possible problems ... WARNING hypercube: no visible binding for global variable ‘f’ Function hypercube()

Re: [Rd] no visible binding for global variable

2007-04-17 Thread Prof Brian Ripley
On Tue, 17 Apr 2007, Robin Hankin wrote: Hello everyone I am trying to get one of my packages through R's QC. The package is clean for me under R-2.4.1, R-2.5.0, and R-devel, but Kurt gets Do you have _R_CHECK_USE_CODETOOLS_ set to something true (and for 2.4.1, codetools installed)?

Re: [Rd] save() and interrupts

2007-04-17 Thread Luke Tierney
On Mon, 16 Apr 2007, Henrik Bengtsson wrote: On 4/16/07, Luke Tierney [EMAIL PROTECTED] wrote: On Mon, 16 Apr 2007, Bill Dunlap wrote: On Sun, 15 Apr 2007, Henrik Bengtsson wrote: On 4/15/07, Prof Brian Ripley [EMAIL PROTECTED] wrote: On Sun, 15 Apr 2007, Henrik Bengtsson wrote:

[Rd] predict.ar() produces wrong SE's (PR#9614)

2007-04-17 Thread kirk . hampel
Full_Name: Kirk Hampel Version: 2.4.1 OS: Windows Submission from: (NULL) (144.53.251.2) Given an AR(p) model, the last p SE's are wrong. The source of the bug is that the C code (ver 2.4.0) assumes *npsi is the length of the psi vector (which is n+p), whilst the predict.ar function in R passes

[Rd] [Wishlist] to uniform help(x) and library(help=x) behaviours relating htmlhelp option (PR#9613)

2007-04-17 Thread lbraglia
Full_Name: Luca Braglia Version: R version 2.4.1 (2006-12-18) OS: Debian Lenny (testing) Submission from: (NULL) (82.61.142.240) Some options of mine: options(htmlhelp) $htmlhelp [1] TRUE options(browser) $browser [1] /usr/bin/urxvt -rv -e elinks I run R under X windows system: if I

[Rd] rhel5 rpm spec mods

2007-04-17 Thread Ben Walton
Hi All, I'm in the process of building an rpm for rhel5 (client currently). This has required modification of the spec file. When I've completed the process, I'd like to submit the changes to save others doing the same work. Is this the appropriate place to submit a patch with those changes?

Re: [Rd] rhel5 rpm spec mods

2007-04-17 Thread Hin-Tak Leung
Ben Walton wrote: Hi All, I'm in the process of building an rpm for rhel5 (client currently). This has required modification of the spec file. When I've completed the process, I'd like to submit the changes to save others doing the same work. Is this the appropriate place to submit a

Re: [Rd] rhel5 rpm spec mods

2007-04-17 Thread Ben Walton
The only changes I've made (taken from the fc6.src.rpm) are in the initial detection of which linux/rpm-based distro it's being built on. This allows detection of gcc version, pdfviewer, etc. These changes are all similar to what happens in the fc line of detection, but weren't being done for

Re: [Rd] rhel5 rpm spec mods

2007-04-17 Thread Hin-Tak Leung
Ben Walton wrote: The only changes I've made (taken from the fc6.src.rpm) are in the initial detection of which linux/rpm-based distro it's being built on. This allows detection of gcc version, pdfviewer, etc. These changes are all similar to what happens in the fc line of detection, but

Re: [Rd] rhel5 rpm spec mods

2007-04-17 Thread Ben Walton
On Tue, Apr 17, 2007 at 05:29:31PM +0100, Hin-Tak Leung wrote: + Without modification, rpmbuild was looking for XFree86-devel and gcc-g77 + which aren't valid packages in rhel5 (haven't looked at 4 as rpms were + already built for that). + + yes and no. You can do rpmbuild --nodeps

Re: [Rd] predict.ar() produces wrong SE's (PR#9614)

2007-04-17 Thread ripley
Thank you. Here is a reproducible example (since yours is not of the actual code): example(ar) predict(sunspot.ar, n.ahead=25) predict(sunspot.ar, n.ahead=20) and compare, say, prediction 20. Fixed for 2.5.0. On Tue, 17 Apr 2007, [EMAIL PROTECTED] wrote: Full_Name: Kirk Hampel Version:

Re: [Rd] rhel5 rpm spec mods

2007-04-17 Thread Peter Dalgaard
Ben Walton wrote: Hi All, I'm in the process of building an rpm for rhel5 (client currently). This has required modification of the spec file. When I've completed the process, I'd like to submit the changes to save others doing the same work. Is this the appropriate place to submit a patch

[Rd] typo in R-exts

2007-04-17 Thread Tony Plate
There looks to be a typo in the R-exts manual: The whose @file{tests} is copied to the check area, ... ^ I'm not sure what was intended here, so I can't suggest a fix. (from https://svn.r-project.org/R/trunk/doc/manual/R-exts.texi) -- Tony Plate

Re: [Rd] rhel5 rpm spec mods

2007-04-17 Thread Prof Brian Ripley
On Tue, 17 Apr 2007, Ben Walton wrote: Hi All, I'm in the process of building an rpm for rhel5 (client currently). This has required modification of the spec file. When I've completed the process, I'd like to submit the changes to save others doing the same work. Is this the appropriate

[Rd] use of .Rout.save files in the 'tests' directory of a package

2007-04-17 Thread Tony Plate
Even though all files in the 'tests' directory are copied to the installation directory and tests are run there, the current makefiles that runs the tests (share/make/{tests,wintests}.mk seem to go to some trouble to refer to the .Rout.save files in the original 'tests' directory. (E.g., in

Re: [Rd] typo in R-exts

2007-04-17 Thread Tony Plate
The actual behavior, as far as I can make out, is that all the files in the 'tests' directory are copied, but not any subdirectories (which I personally would have found useful). So, saying the whole directory is probably not accurate. -- Tony Plate Peter Dalgaard wrote: Tony Plate wrote:

Re: [Rd] typo in R-exts

2007-04-17 Thread Prof Brian Ripley
'whole of', as svn up will show you. I prefer 'svn praise' myself. BTW, it is very easy to read @file{foo} as 'file foo', and that is a frequent problem. On Tue, 17 Apr 2007, Peter Dalgaard wrote: Tony Plate wrote: There looks to be a typo in the R-exts manual: The whose @file{tests} is

Re: [Rd] typo in R-exts

2007-04-17 Thread Peter Dalgaard
Prof Brian Ripley wrote: I prefer 'svn praise' myself. Or 'svn annotate'. I think it depends on what I'm looking for, plus the risk that the author (perpetrator, contributor) might be me __ R-devel@r-project.org mailing list

[Rd] sys.call and friends

2007-04-17 Thread Jeffrey Horner
Hello, I noticed that sys.frame treats which = 0 differently than sys.call and sys.function, and the documentation was unclear about it. f - function() sys.call() f() f() f - function() sys.function() f() function() sys.function() f - function() sys.frame() f() environment: R_GlobalEnv

Re: [Rd] Documentation update to R-lang.texi

2007-04-17 Thread Duncan Murdoch
On 4/16/2007 12:57 PM, Jeffrey Horner wrote: Section 4.3.4 of R-lang.texi version 41191 in the paragraph that starts When h(3) is... explains that x and y are unbound variables in the function body of g in this example: f - function(x) { y - 10 g - function(x) x

[Rd] undefined symbol: Rf_rownamesgets

2007-04-17 Thread Ross Boylan
I get the error undefined symbol: Rf_rownamesgets when I try to load my package, which include C++ code that calls that function. This is particularly strange since the code also calls Rf_classgets, and it loaded OK with just that. Can anyone tell me what's going on? For the record, I worked

Re: [Rd] undefined symbol: Rf_rownamesgets

2007-04-17 Thread Duncan Murdoch
On 4/17/2007 10:43 PM, Ross Boylan wrote: I get the error undefined symbol: Rf_rownamesgets when I try to load my package, which include C++ code that calls that function. This is particularly strange since the code also calls Rf_classgets, and it loaded OK with just that. Can anyone

Re: [Rd] undefined symbol: Rf_rownamesgets

2007-04-17 Thread Ross Boylan
On Tue, Apr 17, 2007 at 11:07:12PM -0400, Duncan Murdoch wrote: On 4/17/2007 10:43 PM, Ross Boylan wrote: I get the error undefined symbol: Rf_rownamesgets when I try to load my package, which include C++ code that calls that function. This is particularly strange since the code also calls

Re: [Rd] undefined symbol: Rf_rownamesgets

2007-04-17 Thread Prof Brian Ripley
On Tue, 17 Apr 2007, Duncan Murdoch wrote: On 4/17/2007 10:43 PM, Ross Boylan wrote: I get the error undefined symbol: Rf_rownamesgets when I try to load my package, which include C++ code that calls that function. This is particularly strange since the code also calls Rf_classgets, and