Re: [R-pkg-devel] is Fortran write still strictly forbidden?

2024-05-08 Thread Berwin A Turlach
Hi Jisca, On Wed, 8 May 2024 10:37:28 +0200 Jisca Huisman wrote: > I like to use write() in Fortran code [...] But from 'writing R > extensions' it seems that there have been quite a few changes with > respect to support for Fortran code, and it currently reads: > > 6.5.1 Printing from Fortran

Re: [R-pkg-devel] Problem with loading package "devtools" from CRAN.

2024-04-29 Thread Berwin A Turlach
G'day Rolf, On Tue, 30 Apr 2024 01:21:15 + Rolf Turner wrote: > Previously I got an error message from > > install.packages("devtools",lib="/home/rolf/Rlib") > > but now of course I cannot reproduce it. Presumably the install.packages() invocation did not produce an error message

Re: [R-pkg-devel] Problem with loading package "devtools" from CRAN.

2024-04-29 Thread Berwin A Turlach
G'day Rolf, hope all is well. On Mon, 29 Apr 2024 01:19:50 + Rolf Turner wrote: > Executive summary: > > > The devtools package on CRAN appears to be broken. > > Installing devtools from github (using remotes::install_github()) > > seems to give satisfactory results. I somehow have not

Re: [R-pkg-devel] Native pipe in package examples

2024-01-25 Thread Berwin A Turlach
On Thu, 25 Jan 2024 09:44:26 -0800 Henrik Bengtsson wrote: > On Thu, Jan 25, 2024 at 9:23 AM Berwin A Turlach > wrote: > > > > G'day Duncon, Uups, apologies for the misspelling of your name Duncan. Fingers were too fast. :) [...] > > But you could always code

Re: [R-pkg-devel] Native pipe in package examples

2024-01-25 Thread Berwin A Turlach
G'day Duncon, On Thu, 25 Jan 2024 11:27:50 -0500 Duncan Murdoch wrote: > On 25/01/2024 11:18 a.m., Henrik Bengtsson wrote: [...] > I think you're right that syntax errors in help page examples will be > installable, but I don't think there's a way to make them pass "R CMD > check" other than

Re: [Rd] A potential POSIXlt->Date bug introduced in r-devel

2022-10-06 Thread Berwin A Turlach
G'day all, On Thu, 6 Oct 2022 10:15:29 +0200 Martin Maechler wrote: > > Davis Vaughan > > on Wed, 5 Oct 2022 17:04:11 -0400 writes: > > # Weird, where is the `NA`? > > as.Date(x) > > #> [1] "2013-01-31" "1970-01-01" "2013-03-31" > > ``` > > I agree that

Re: [Rd] Trying to compile R 4.2.x on Linux as 32bit sub-architecture

2022-06-18 Thread Berwin A Turlach
G'day all, On Sat, 18 Jun 2022 22:58:19 +0800 Berwin A Turlach wrote: > [...] I attach the relevant file from trying to compile R-patched > during last night's run. Mmh, on the web-interface to the mailing list I see that the attachment might have been deleted. Perhaps because it w

Re: [R-pkg-devel] Question about preventing CRAN package archival

2021-06-03 Thread Berwin A Turlach
G'day Jeff, On Wed, 02 Jun 2021 11:34:21 -0700 Jeff Newmiller wrote: Not that I want to get involved in old discussions :), but... > MIT is more permissive than GPL2, ... this statement depends on how one defines "permissive". MIT requires that you fulfil: "The above copyright notice and

Re: [Rd] Development version of R fails tests and is not installed

2020-02-16 Thread Berwin A Turlach
G'day Jeroen, On Sun, 9 Feb 2020 01:04:24 +0100 Jeroen Ooms wrote: > I think the intention was to add something similar in R's autoconf > script to enable sse on 32-bit unix systems, but seemingly this hasn't > happened. For now I think you should be able to make your 32-bit > checks succeed if

[Rd] Development version of R fails tests and is not installed

2020-02-08 Thread Berwin A Turlach
G'day all, I have daily scripts running to install the patched version of the current R version and the development version of R on my linux box (Ubuntu 18.04.4 LTS). The last development version that was successfully compiled and installed was "R Under development (unstable) (2020-01-25

[Rd] Development version of R fails tests and is not installed

2019-03-05 Thread Berwin A Turlach
G'day all, I have daily scripts running to install the patched version of the current R version and the development version of R on my linux box (Ubuntu 18.04.2 LTS). The last development version that was successfully compiled and installed was "R Under development (unstable) (2019-02-25

Re: [R-pkg-devel] Cannot submit package due to misspell note

2018-04-14 Thread Berwin A Turlach
G'day all, On Sat, 7 Apr 2018 10:00:36 +0100 David Sterratt wrote: > On the subject of spell-checking, to avoid false positives when I'm > checking the package, in the directory above the package directory I > create a file called .spell_ignore with one word per

[Rd] Problem compiling R patched and R devel on Ubuntu

2017-08-03 Thread Berwin A Turlach
G'day all, since about a week my daily re-compilations of R patched and R devel are falling over, i.e. they stop with an error during "make check" (while building the 32 bit architecture) on my Ubuntu 16.04.3 LTS machine. Specifically, a test in graphics-Ex.R seems to fail and the last lines of

Re: [Rd] [patch] Error in reg-tests-1c.R (R-devel)

2016-05-18 Thread Berwin A Turlach
G'day Martin, On Wed, 18 May 2016 12:50:21 +0200 Martin Maechler wrote: > > Mikko Korpela > > on Wed, 18 May 2016 13:05:24 +0300 writes: > > > I get an error when running "make check" after building > > R-devel r70629

[Rd] Building R-patched and R-devel fails

2016-04-17 Thread Berwin A Turlach
G'day all, probably you have noticed this by now, but I thought I ought to report it. :) My scripts that update the SVN sources for R-patched and R-devel, run `tools/rsync-recommended' (for both) and then install both these versions from scratch failed this morning. Apparently the new version

Re: [Rd] Small inaccuracy in the Writing R Extensions manual

2016-01-12 Thread Berwin A Turlach
G'day Duncan, On Tue, 12 Jan 2016 07:32:05 -0500 Duncan Murdoch <murdoch.dun...@gmail.com> wrote: > On 11/01/2016 11:59 PM, Berwin A Turlach wrote: > > G'day all, > > > > In Chapter 1.4 (Writing package vignettes) the Writing R Extensions > > manual states: &

[Rd] On 'R CMD INSTALL' with multiple architectures

2016-01-11 Thread Berwin A Turlach
talls only libraries for the specified architecture (as an unwary user might expect). Cheers, Berwin == Full address ==== A/Prof Berwin A Turlach Tel.: +61 (8) 6488 3338 (secr) School of Maths and Stats (M019)+61 (8) 6488

[Rd] Small inaccuracy in the Writing R Extensions manual

2016-01-11 Thread Berwin A Turlach
G'day all, In Chapter 1.4 (Writing package vignettes) the Writing R Extensions manual states: By default @code{R CMD build} will run @code{Sweave} on all Sweave vignette source files in @file{vignettes}. If @file{Makefile} is found in the vignette source directory, then

Re: [Rd] Fortran BLAS giving bad results

2014-01-11 Thread Berwin A Turlach
of your routine you have to add a DOUBLE PRECISION ddot statement. HTH. Cheers, Berwin == Full address A/Prof Berwin A Turlach Tel.: +61 (8) 6488 3338 (secr) School of Maths and Stats (M019)+61 (8) 6488 3383 (self

Re: [Rd] R CMD config for R = 3.0.1

2013-05-19 Thread Berwin A Turlach
G'day Brian, On Sat, 18 May 2013 10:28:43 +0100 Prof Brian Ripley rip...@stats.ox.ac.uk wrote: [...] Is it necessary for R = 3.0.1 to have one build as main-architecture and the other one as sub-architecture? I could not find anything in the NEWS file or the Admin manual that indicated

Re: [Rd] R CMD config for R = 3.0.1

2013-05-19 Thread Berwin A Turlach
G'day Brian, On Sun, 19 May 2013 08:40:04 +0100 Prof Brian Ripley rip...@stats.ox.ac.uk wrote: Could you try current R-patched or R-devel? Works in my tests at least. Tried R-patched (2013-05-18 r62762) and R-devel (2013-05-18 r62762), installed with my original script. Things seem fine

[Rd] R CMD config for R = 3.0.1

2013-05-18 Thread Berwin A Turlach
Dear all, When installing the usual packages that I use, after installing R 3.0.1, I noticed that the installation of some packages that query R about its configuration did not succeed. The problem is exemplified by: berwin@bossiaea:~$ R-3.0.1 CMD config CC /opt/R/R-3.0.1/lib/R/bin/config: 222:

Re: [Rd] Recommended way to call/import functions from a Suggested package

2013-02-22 Thread Berwin A Turlach
G'day David, On Fri, 22 Feb 2013 18:50:07 -0800 David Winsemius dwinsem...@comcast.net wrote: On Feb 22, 2013, at 6:39 PM, David Winsemius wrote: [...] I've always wondered: How does lattice manage to use grid functions without putting them on the search path? Because lattice imports the

Re: [Rd] Calling FORTRAN function from R issue?

2012-03-06 Thread Berwin A Turlach
G'day Berend, On Tue, 6 Mar 2012 11:19:07 +0100 Berend Hasselman b...@xs4all.nl wrote: On 06-03-2012, at 01:21, Dominick Samperi wrote: [...] zx[0].r = 1.0; zx[0].i = 0.0; zx[1].r = 2.0; zx[0].i = 0.0; zx[2].r = 3.0; zx[0].i = 0.0; Just noticing that it is always zx[0].i, same

[Rd] nobs() and logLik()

2012-01-19 Thread Berwin A Turlach
Dear all, I am studying a bit the various support functions that exist for extracting information from fitted model objects. From the help files it is not completely clear to me whether the number returned by nobs() should be the same as the nobs attribute of the object returned by logLik().

Re: [Rd] nobs() and logLik()

2012-01-19 Thread Berwin A Turlach
G'day Brian, On Fri, 20 Jan 2012 06:20:30 + Prof Brian Ripley rip...@stats.ox.ac.uk wrote: I do wonder why people use zero weights rather than 'subset', and I don't particularly like the discontinuity as a weight goes to zero. I completely agree, and for developers it is a bit of a pain

Re: [Rd] CRAN: How to list a non-Sweave doc under Vignettes: on package page?

2011-11-07 Thread Berwin A Turlach
G'day Henrik, On Sun, 6 Nov 2011 16:41:22 -0800 Henrik Bengtsson h...@biostat.ucsf.edu wrote: is it possible to have non-Sweave vignettes(*) in inst/doc/ be listed under 'Downloads' on CRAN package pages? As far as I know, only by a little trick. Create an Sweave based vignette that uses

[Rd] Clean up after R CMD INSTALL and/or R CMD check

2010-12-03 Thread Berwin A Turlach
G'day all, I noticed the following (new) behaviour of R 2.12.0, running on Kubuntu 10.10, when installed with sub-architectures: When I run R CMD INSTALL or R CMD check on the source directory of a package that contains C or FORTRAN code, R creates sub-directories src-32/ and src-64/ that seem

Re: [Rd] Clean up after R CMD INSTALL and/or R CMD check

2010-12-03 Thread Berwin A Turlach
G'day Brian, On Fri, 3 Dec 2010 13:14:44 + (GMT) Prof Brian Ripley rip...@stats.ox.ac.uk wrote: I noticed the following (new) behaviour of R 2.12.0, running on Kubuntu 10.10, when installed with sub-architectures: Yes, there are new features when there are multiple sub-architectures.

Re: [Rd] Trying to understand the search path and namespaces

2010-11-16 Thread Berwin A Turlach
G'day Hadley, On Mon, 15 Nov 2010 19:45:30 -0600 Hadley Wickham had...@rice.edu wrote: 1.6 of Writing R Extensions says Note that adding a name space to a package changes the search strategy. The package name space comes first in the search, then the imports, then the base name space

Re: [Rd] Trying to understand the search path and namespaces

2010-11-16 Thread Berwin A Turlach
G'day Hadley, On Tue, 16 Nov 2010 07:35:09 -0600 Hadley Wickham had...@rice.edu wrote: Well, as the part of Writing R Extensions that Martin quoted states, the normal search path is part of the search path used by packages with name spaces.  So if you attach another package via

Re: [Rd] Query about .check_packages_used_in_examples

2010-10-11 Thread Berwin A Turlach
G'day Brian, On Mon, 11 Oct 2010 11:11:42 +0100 (BST) Prof Brian Ripley rip...@stats.ox.ac.uk wrote: Sounds reasonable to count Imports, so we'll alter this. Thanks for that. I noticed the changes to R-devel and to the R-2-12-branch. Looking at the diffs (an example is appended below), it

[Rd] Query about .check_packages_used_in_examples

2010-10-10 Thread Berwin A Turlach
G'day all, looking at http://cran.at.r-project.org/web/checks/check_results_Sleuth2.html I noticed that r-prerel-* and r-devel-* issue notes. Apparently, now examples are more thoroughly checked by R CMD check and the note pointed out that a package used in the examples was not declared. This

Re: [Rd] Query about .check_packages_used_in_examples

2010-10-10 Thread Berwin A Turlach
G'day all, sorry, should proof-read better before hitting the send button... On Mon, 11 Oct 2010 06:06:46 +0800 Berwin A Turlach ber...@maths.uwa.edu.au wrote: But then I noticed that for another package I have on R-forge a similar note is issued: https://r-forge.r-project.org/R/?group_id

Re: [Rd] checking user interrupts in C(++) code

2010-09-29 Thread Berwin A Turlach
G'day Simon, since Karl brought up this topic, I thought I might use it to seek clarification for something that bothered me for some time. On Tue, 28 Sep 2010 14:55:34 -0400 Simon Urbanek simon.urba...@r-project.org wrote: There are several ways in which you can make your code respond to

Re: [Rd] Matrix install fails because of defunct save in require

2010-09-17 Thread Berwin A Turlach
G'day Uwe, On Fri, 17 Sep 2010 19:22:04 +0200 Uwe Ligges lig...@statistik.tu-dortmund.de wrote: On 17.09.2010 16:04, Thomas Petzoldt wrote: Dear R-Devel, I've just tried to compile the fresh R-devel and found that the install of package Matrix failed:

Re: [Rd] Indexing bug?

2010-05-26 Thread Berwin A Turlach
G'day Duncan, On Wed, 26 May 2010 05:57:38 -0400 Duncan Murdoch murdoch.dun...@gmail.com wrote: Is this expected behaviour? Yes, according to the answer that this poster https://stat.ethz.ch/pipermail/r-devel/2008-March/048674.html got. Indeed, the help page of '[' states: The index object

Re: [Rd] Bugs? when dealing with contrasts

2010-04-21 Thread Berwin A Turlach
-1 -1 13 1 -1 -1 14 1 -1 -1 15 1 -1 -1 attr(,assign) [1] 0 1 1 attr(,contrasts) attr(,contrasts)$fac [1] contr.sum HTH. Cheers, Berwin == Full address Berwin A Turlach

[Rd] LOGICAL arguments in FORTRAN code

2010-04-08 Thread Berwin A Turlach
G'day all, I just took over maintenance of the quadprog package from Kurt Hornik and noticed that one of the FORTRAN routines has an argument that is declared to be a LOGICAL. The R code that calls this routine (via the .Fortran interface) passes the argument down wrapped in a call to

Re: [Rd] LOGICAL arguments in FORTRAN code

2010-04-08 Thread Berwin A Turlach
G'day Brian, On Thu, 8 Apr 2010 12:40:45 +0100 (BST) Prof Brian Ripley rip...@stats.ox.ac.uk wrote: On Thu, 8 Apr 2010, Berwin A Turlach wrote: [...] Thus, given that the port of quadprog existed for quite some time, I am wondering whether it is o.k. to pass R objects with storage mode

Re: [Rd] build, data and vignettes

2010-02-26 Thread Berwin A Turlach
G'day Uwe, On Fri, 26 Feb 2010 17:03:10 +0100 Uwe Ligges lig...@statistik.tu-dortmund.de wrote: R CMD check executes the R code in the vignettes and checks if that works, and it checks if the PDFs are available. It does not check if it can build the vignettes, because that is only necessary

Re: [Rd] inconsistency in ?factor

2009-05-25 Thread Berwin A Turlach
] TRUE TRUE TRUE TRUE TRUE TRUE R identical(f1,f2) [1] FALSE R all.equal(f1,f2) [1] Attributes: Component 2: 2 string mismatches Just my 2c. Cheers, Berwin === Full address = Berwin A TurlachTel.: +65 6516 4416

[Rd] Patch proposal for logspace_sub

2009-04-27 Thread Berwin A Turlach
= Berwin A TurlachTel.: +65 6516 4416 (secr) Dept of Statistics and Applied Probability+65 6516 6650 (self) Faculty of Science FAX : +65 6872 3919 National University of Singapore 6 Science Drive 2, Blk S16, Level 7

Re: [Rd] surprising behaviour of names-

2009-03-15 Thread Berwin A Turlach
G'day Wacek, On Sun, 15 Mar 2009 21:01:33 +0100 Wacek Kusnierczyk waclaw.marcin.kusnierc...@idi.ntnu.no wrote: Berwin A Turlach wrote: Obviously, assuming that R really executes *tmp* - x x - names-('*tmp*', value=c(a,b)) under the hood, in the C code, then *tmp* does not end

Re: [Rd] surprising behaviour of names-

2009-03-14 Thread Berwin A Turlach
On Sat, 14 Mar 2009 07:22:34 +0100 Wacek Kusnierczyk waclaw.marcin.kusnierc...@idi.ntnu.no wrote: [...] Well, I don't see any new object created in my workspace after x - 4 names(x) - foo Do you? of course not. that's why i'd say the two above are *not* equivalent. i

Re: [Rd] surprising behaviour of names-

2009-03-13 Thread Berwin A Turlach
On Fri, 13 Mar 2009 11:43:55 +0100 Wacek Kusnierczyk waclaw.marcin.kusnierc...@idi.ntnu.no wrote: Berwin A Turlach wrote: And it is documented behaviour. sure! Glad to see that we agree on this. Read section 2.1.10 (Environments) in the R Language Definition, haven't objected

Re: [Rd] surprising behaviour of names-

2009-03-13 Thread Berwin A Turlach
On Fri, 13 Mar 2009 19:41:42 +0100 Wacek Kusnierczyk waclaw.marcin.kusnierc...@idi.ntnu.no wrote: Glad to see that we agree on this. owe you a beer. O.k., if we ever meet is is first your shout and then mine. haven't objected to that. i object to your 'r uses pass by value',

Re: [Rd] surprising behaviour of names-

2009-03-12 Thread Berwin A Turlach
On Wed, 11 Mar 2009 20:31:18 +0100 Wacek Kusnierczyk waclaw.marcin.kusnierc...@idi.ntnu.no wrote: Simon Urbanek wrote: On Mar 11, 2009, at 10:52 , Simon Urbanek wrote: Wacek, Peter gave you a full answer explaining it very well. If you really want to be able to trace each instance

Re: [Rd] surprising behaviour of names-

2009-03-12 Thread Berwin A Turlach
On Wed, 11 Mar 2009 20:29:14 +0100 Wacek Kusnierczyk waclaw.marcin.kusnierc...@idi.ntnu.no wrote: Simon Urbanek wrote: Wacek, Peter gave you a full answer explaining it very well. If you really want to be able to trace each instance yourself, you have to learn far more about R

Re: [Rd] surprising behaviour of names-

2009-03-12 Thread Berwin A Turlach
On Thu, 12 Mar 2009 10:05:36 +0100 Wacek Kusnierczyk waclaw.marcin.kusnierc...@idi.ntnu.no wrote: well, as far as i remember, it has been said on this list that in r the infix syntax is equivalent to the prefix syntax, [...] Whoever said that must have been at that moment not as precise as he

Re: [Rd] surprising behaviour of names-

2009-03-12 Thread Berwin A Turlach
On Thu, 12 Mar 2009 10:53:19 +0100 Wacek Kusnierczyk waclaw.marcin.kusnierc...@idi.ntnu.no wrote: well, ?'names-' says: Value: For 'names-', the updated object. which is only partially correct, in that the value will sometimes be an updated *copy* of the object. But since R

Re: [Rd] surprising behaviour of names-

2009-03-12 Thread Berwin A Turlach
On Thu, 12 Mar 2009 15:21:50 +0100 Wacek Kusnierczyk waclaw.marcin.kusnierc...@idi.ntnu.no wrote: [...] And the R Language manual (ignoring for the moment that it is a draft and all that), since we must... clearly states that names(x) - c(a,b) is

Re: [Rd] surprising behaviour of names-

2009-03-12 Thread Berwin A Turlach
On Thu, 12 Mar 2009 21:26:15 +0100 Wacek Kusnierczyk waclaw.marcin.kusnierc...@idi.ntnu.no wrote: YMMV, but when I read a passage like this in R documentation, I start to wonder why it is stated that names(x) - c(a,b) is equivalent to *tmp* - x x - names-('*tmp*',

Re: [Rd] bug (PR#13570)

2009-03-05 Thread Berwin A Turlach
G'day Peter, On Thu, 05 Mar 2009 09:09:27 +0100 Peter Dalgaard p.dalga...@biostat.ku.dk wrote: rha...@stat.purdue.edu wrote: insert bug report here This is a CRITICAL bug!!! I have verified it in R 2.8.1 for mac and for windows. The problem is with loess degree=0 smoothing. For

Re: [Rd] [R] Semantics of sequences in R

2009-02-24 Thread Berwin A Turlach
On Mon, 23 Feb 2009 20:27:23 +0100 Wacek Kusnierczyk waclaw.marcin.kusnierc...@idi.ntnu.no wrote: Berwin A Turlach wrote: [...] judging from your question, you couldn't possibly see sorting routines in other languages. Quite likely, or the other languages that I regularly use

Re: [Rd] [R] Semantics of sequences in R

2009-02-24 Thread Berwin A Turlach
G'day Dimitris, On Tue, 24 Feb 2009 11:19:15 +0100 Dimitris Rizopoulos d.rizopou...@erasmusmc.nl wrote: in my opinion the point of the whole discussion could be summarized by the question, what is a design flaw? This is totally subjective, and it happens almost everywhere in life. [...]

Re: [Rd] [R] Semantics of sequences in R

2009-02-23 Thread Berwin A Turlach
On Mon, 23 Feb 2009 11:31:16 +0100 Wacek Kusnierczyk waclaw.marcin.kusnierc...@idi.ntnu.no wrote: Berwin A Turlach wrote: On Mon, 23 Feb 2009 08:52:05 +0100 Wacek Kusnierczyk waclaw.marcin.kusnierc...@idi.ntnu.no wrote: [...] and you mean that sort.list not being applicable to lists

Re: [Rd] [R] Semantics of sequences in R

2009-02-23 Thread Berwin A Turlach
On Mon, 23 Feb 2009 13:27:08 +0100 Wacek Kusnierczyk waclaw.marcin.kusnierc...@idi.ntnu.no wrote: Berwin A Turlach wrote: snip can you give one concrete example, and suggest how to estimate how much old code would involve the same issue? Check out the svn source of R, run

Re: [Rd] unloadNamespace (Was: How to unload a dll loaded via library.dynam()?)

2009-02-20 Thread Berwin A Turlach
, or indicate that this is the intended behaviour. Enlightening comments and/or pointers to where this behaviour is documented would be welcome. Cheers, Berwin === Full address = Berwin A TurlachTel.: +65 6516 4416

Re: [Rd] unloadNamespace (Was: How to unload a dll loaded via library.dynam()?)

2009-02-20 Thread Berwin A Turlach
G'day Brian, On Fri, 20 Feb 2009 11:37:18 + (GMT) Prof Brian Ripley rip...@stats.ox.ac.uk wrote: This was rather a large shift of subject, [...] Well, yes, from the clean unloading of compiled code to the clean unloading of R code. :-) Though, I also confirmed that the former is

Re: [Rd] vignette compilation times

2009-02-20 Thread Berwin A Turlach
G'day Robin, On Thu, 19 Feb 2009 11:10:45 + Robin Hankin rk...@cam.ac.uk wrote: I am preparing a number of vignettes that require a very long time to process with Sweave. The longest one takes 10 hours. Is the sum of all chunks taking this time? Or is it mostly the code in only a

Re: [Rd] vignette compilation times

2009-02-20 Thread Berwin A Turlach
G'day Gabor, On Thu, 19 Feb 2009 17:47:53 -0500 Gabor Grothendieck ggrothendi...@gmail.com wrote: [...] Unless this has changed recently,I've tried including a PDF but it does not appear in library(help = myPackage) nor on the CRAN site on http://cran.r-project.org/package=myPackage while

Re: [Rd] vignette compilation times

2009-02-20 Thread Berwin A Turlach
G'day Fritz, On Fri, 20 Feb 2009 12:46:49 +1100 Friedrich Leisch friedrich.lei...@stat.uni-muenchen.de wrote: [...] It is also unclear to me whether including a PDF without sources in a GPLed package isn't a violation of the GPL (I know people who very strongly think so). And source according

Re: [Rd] Warning: missing text for item ... in \describe?

2008-12-05 Thread Berwin A Turlach
G'day Brian, On Fri, 5 Dec 2008 15:35:00 + (GMT) Prof Brian Ripley [EMAIL PROTECTED] wrote: On Mon, 1 Dec 2008, Berwin A Turlach wrote: G'day Spencer, On Sun, 30 Nov 2008 22:31:54 -0800 Spencer Graves [EMAIL PROTECTED] wrote: Hello: What might be the problem

Re: [Rd] Warning: missing text for item ... in \describe?

2008-12-05 Thread Berwin A Turlach
G'day Brian, On Fri, 5 Dec 2008 17:32:58 + (GMT) Prof Brian Ripley [EMAIL PROTECTED] wrote: [...] Which platform are we talking here? I was using linux and R CMD check fda, using R 2.8.0, on the command line said: That writes to a file, and writes to a file are buffered. Try R CMD

Re: [Rd] Warning: missing text for item ... in \describe?

2008-11-30 Thread Berwin A Turlach
just say that long live find-grep-dired in emacs and perseverance (or should that be stubbornness?) HTH. Cheers, Berwin === Full address = Berwin A TurlachTel.: +65 6516 4416 (secr) Dept of Statistics

Re: [Rd] chisq.test with simulate.p.value=TRUE (PR#13292)

2008-11-17 Thread Berwin A Turlach
. Cheers, Berwin === Full address = Berwin A TurlachTel.: +65 6516 4416 (secr) Dept of Statistics and Applied Probability+65 6516 6650 (self) Faculty of Science FAX : +65 6872

Re: [Rd] typo in ?pie

2008-11-11 Thread Berwin A Turlach
G'day Brian, On Mon, 10 Nov 2008 21:07:44 + (GMT) Prof Brian Ripley [EMAIL PROTECTED] wrote: 'British' spelling is in the majority amongst R-core, and preferred for R documentation (that is in the guidelines somewhere). I have a vague memory of a discussion that ended with the conclusion

Re: [Rd] (PR#13132) splinefun gives incorrect derivs when extrapolating to the left

2008-10-12 Thread Berwin A Turlach
Dear Brian, On Thu, 9 Oct 2008 07:27:24 +0100 (BST) Prof Brian Ripley [EMAIL PROTECTED] wrote: Thanks, I've merged this (second version) patch into 2.8.0 beta. My pleasure. I thought it would be only fair that I fix the infelicity in the code after having provided the initial patch that

Re: [Rd] why is \alias{anRpackage} not mandatory?

2008-10-07 Thread Berwin A Turlach
=== Full address = Berwin A TurlachTel.: +65 6516 4416 (secr) Dept of Statistics and Applied Probability+65 6516 6650 (self) Faculty of Science FAX : +65 6872 3919 National University of Singapore 6

Re: [Rd] splinefun gives incorrect derivs when extrapolating to the left (PR#13132)

2008-10-07 Thread Berwin A Turlach
On Tue, 7 Oct 2008 19:31:03 +0800 Berwin A Turlach [EMAIL PROTECTED] wrote: The attached patch (against the current SVN version of R) implements the latter strategy. With this patch applied, make check FORCE=FORCE passes on my machine. The version of R that is build seems to give

Re: [Rd] literate programming

2008-08-05 Thread Berwin A Turlach
, Berwin === Full address = Berwin A TurlachTel.: +65 6515 4416 (secr) Dept of Statistics and Applied Probability+65 6515 6650 (self) Faculty of Science FAX : +65 6872

Re: [Rd] prod(0, 1:1000) ; 0 * Inf etc

2008-04-21 Thread Berwin A Turlach
G'day Martin, On Mon, 21 Apr 2008 18:40:43 +0200 Martin Maechler [EMAIL PROTECTED] wrote: I think most of us would expect prod(0:1000) to return 0, and ... ... it does. However, many of us also expect prod(x1, x2)to be equivalent to prod(c(x1,x2)) the same as we can expect

Re: [Rd] NA warnings for rdistr() {aka patch for random.c}

2008-03-11 Thread Berwin A Turlach
G'day Martin, On Tue, 11 Mar 2008 18:07:35 +0100 Martin Maechler [EMAIL PROTECTED] wrote: BAT == Berwin A Turlach [EMAIL PROTECTED] on Tue, 11 Mar 2008 13:19:46 +0800 writes: [...] BAT The first two lines give identical results, as one could BAT reasonably expect. Yes

Re: [Rd] patch for random.c

2008-03-05 Thread Berwin A Turlach
G'day Martin, On Mon, 3 Mar 2008 10:16:45 +0100 Martin Maechler [EMAIL PROTECTED] wrote: BAT == Berwin A Turlach [EMAIL PROTECTED] on Fri, 29 Feb 2008 18:19:40 +0800 writes: BAT while looking for some inspiration of how to organise some BAT code, I studied the code of random.c

[Rd] A patch

2008-03-05 Thread Berwin A Turlach
Dear all, since a day or two make dvi and make pdf fails on my machine when I try to install the latest version of R from scratch. The attached patch seems to solve this problem. Cheers, Berwin === Full address = Berwin A Turlach

Re: [Rd] A patch

2008-03-05 Thread Berwin A Turlach
On Wed, 5 Mar 2008 21:02:34 +0800 Berwin A Turlach [EMAIL PROTECTED] wrote: since a day or two make dvi and make pdf fails on my machine when I try to install the latest version of R from scratch. The attached patch seems to solve this problem. Sorry, forgot to change the attachment from

[Rd] patch for random.c

2008-02-29 Thread Berwin A Turlach
Dear all, while looking for some inspiration of how to organise some code, I studied the code of random.c and noticed that for distributions with 2 or 3 parameters the user is not warned if NAs are created while such a warning is issued for distributions with 1 parameter. E.g: R version 2.7.0

[Rd] On Section 2.5:Sub-architectures in the R Installation and Administration manual

2008-02-13 Thread Berwin A Turlach
distribution. (Presumably the same holds for Debian and all other distributions derived from Debian.) Cheers, Berwin === Full address = Berwin A TurlachTel.: +65 6515 4416 (secr) Dept of Statistics and Applied

Re: [Rd] 0.450.45 = TRUE (PR#10744)

2008-02-12 Thread Berwin A Turlach
=== Full address = Berwin A TurlachTel.: +65 6516 4416 (secr) Dept of Statistics and Applied Probability+65 6516 6650 (self) Faculty of Science FAX : +65 6872 3919 National University

Re: [Rd] Solve.QP

2007-12-06 Thread Berwin A Turlach
, Berwin === Full address = Berwin A TurlachTel.: +65 6516 4416 (secr) Dept of Statistics and Applied Probability+65 6516 6650 (self) Faculty of Science FAX : +65 6872 3919 National

Re: [Rd] ?mean

2007-01-26 Thread Berwin A Turlach
G'day Gabor, On Thu, 25 Jan 2007 09:53:49 -0500 Gabor Grothendieck [EMAIL PROTECTED] wrote: The help page for mean does not say what happens when one applies mean to a matrix. Well, not directly. :-) But the help page of mean says that one of the arguments is: x: An R object.

Re: [Rd] stem does not give a correct answer (PR#9359)

2006-11-12 Thread Berwin A Turlach
Berwin A Turlach Tel.: +61 (8) 6488 3338 (secr) School of Mathematics and Statistics+61 (8) 6488 3383 (self) The University of Western Australia FAX : +61 (8) 6488 1028 35 Stirling Highway Crawley WA 6009e-mail: [EMAIL

Re: [Rd] Numerical error in R (win32) (PR#8909)

2006-05-30 Thread Berwin A Turlach
as I did yesterday and hit the delete button and go home instead of hitting the sent button. But this time I won't. If anybody feels offended, my apologies. Cheers, Berwin == Full address Berwin A Turlach Tel

[Rd] Patch proposal for match.fun()

2006-05-27 Thread Berwin A Turlach
G'day all, some time ago I sent an email regarding the following behaviour of match.fun(): x - matrix(rnorm(200), ncol=2) var - fred apply(x, 2, var) Error in get(x, envir, mode, inherits) : variable fred of mode function was not found and asked whether it would be desirable to change this

[Rd] Question about match.fun()

2006-05-09 Thread Berwin A Turlach
Dear all, I was recently contacted by a user about an alledged problem/bug in the latest version of lasso2. After some investigation, we found out that it was a user error which boils down to the following: x - matrix(rnorm(200), ncol=2) var - fred apply(x, 2, var) Error in get(x, envir,

Re: [Rd] bounding box in PostScript

2006-04-17 Thread Berwin A Turlach
boxes that are suitable to be included in a LaTeX document you should specify `paper=special' and then define your plotting area via the 'height' and 'width' argument. Hope this helps. Cheers, Berwin == Full address Berwin A Turlach

[Rd] Suggest patch for princomp.formula and prcomp.formula

2006-03-25 Thread Berwin A Turlach
Dear all, perhaps I am using princomp.formula and prcomp.formula in a way that is not documented to work, but then the documentation just says: formula: a formula with no response variable. Thus, to avoid a lot of typing, it would be nice if one could use '.' and '-' in the formula,

Re: [Rd] Internal codes of the factor

2006-03-14 Thread Berwin A Turlach
== Full address Berwin A Turlach Tel.: +61 (8) 6488 3338 (secr) School of Mathematics and Statistics+61 (8) 6488 3383 (self) The University of Western Australia FAX : +61 (8) 6488 1028 35 Stirling Highway Crawley WA

Re: [Rd] Links to non-vignette documentation

2006-02-24 Thread Berwin A Turlach
G'day all, DM == Duncan Murdoch [EMAIL PROTECTED] writes: DM On 2/24/2006 7:27 AM, Romain Francois wrote: What about using the latex package pdfpages to copy the pages from your PDF file `interface96.pdf` to your Sweave file. Merci beaucoup, I wasn't aware that this style

Re: [Rd] simple C function segfaults

2006-02-20 Thread Berwin A Turlach
BK == Bernd Kriegstein [EMAIL PROTECTED] writes: BK void pico ( double *y, int n, int m ) ^ Everything is passed from R to C as pointer, so these should be pointers. Hope this helps. Cheers, Berwin

Re: [Rd] R CMD check, NAMESPACE, import: bad error?

2006-01-19 Thread Berwin A Turlach
G'day Seth, SF == Seth Falcon [EMAIL PROTECTED] writes: SF I'm seeing errors with R CMD check that I don't understand SF when checking a package that uses a NAMESPACE file with an SF import directive. I came sometime ago across a similar problem and it took me some time to figure it

[Rd] Enlightenment sought and a possible buglet in vector.Rd

2005-12-02 Thread Berwin A Turlach
Dear all, First, I recently had reasons to read the help page of as.vector() and noticed in the example section the following example: x - c(a = 1, b = 2) is.vector(x) as.vector(x) all.equal(x, as.vector(x)) ## FALSE However, in all versions of R in which I executed this

[Rd] Help page of par

2005-11-26 Thread Berwin A Turlach
Dear all, the second paragraph on the value returned by par() on the help page of par says: When just one parameter is queried, the value is a character string. When two or more parameters are queried, the result is a list of character strings, with the list names giving the

[Rd] R-exts.texi in SVN version 36380

2005-11-17 Thread Berwin A Turlach
G'day all, after issuing `svn up' on my machine this morning, I noticed that `make info' choked on R-exts.texi. Below is a patch that seems to solve the problem. BTW, while `make info' runs now, I still get the following warning: /usr/bin/makeinfo --enable-encoding -D UseExternalXrefs

[Rd] Suggested changes to R-lang.texi and R-exts.texi

2005-11-12 Thread Berwin A Turlach
Dear all, I would like to suggest the following changes to the R documentation: 1) R-exts.texi: Having had my first experience with uploading a package to ftp://cran.R-project.org/incoming/, I think it would be nice if the documentation pointed out that one should use ftp and not sftp

Re: [Rd] robustness of install.packages/update.packages (was Re: bug in L-BFGS-B? (PR#8099))

2005-08-29 Thread Berwin A Turlach
G'day Brian, BDR == Prof Brian Ripley [EMAIL PROTECTED] writes: BDR We've never encountered this lying mirror problem. Indeed, that mirror is a worry, I guess that is the reason why it is not on the official mirror list. We had the problem with install.packages/update.packages under linux

Re: [Rd] robustness of install.packages/update.packages (was Re: bug in L-BFGS-B? (PR#8099))

2005-08-29 Thread Berwin A Turlach
G'day Brian, BDR == Prof Brian Ripley [EMAIL PROTECTED] writes: However, update.packages() wanted to update quite a few packages besides MASS (the other packages in the VR bundle, nlme, lattice c). Once it failed on MASS, it terminated with an error and did not update any

[Rd] Coding standards (was Re: bug in L-BFGS-B? (PR#8099))

2005-08-28 Thread Berwin A Turlach
G'day Brian, BDR == Prof Brian Ripley [EMAIL PROTECTED] writes: BDR As for the problem, yes it probably is a bug in L-BFGS-B. BDR Fancy debugging the code? I was afraid that somebody would ask this. ;-) I looked a bit at the code and it seems to be non-trivial. Moreover, it seems to

[Rd] Writing R-extensions

2005-08-27 Thread Berwin A Turlach
G'day all, After reading through Writing R Extensions, Version 2.1.1 (2005-06-20), I thought the the following points might need clarifications or corrections. (I checked that these comments also hold for Writing R Extensions, Version 2.2.0.) 1) When I ran package.skeleton recently, I noticed

  1   2   >