From ripley at stats.ox.ac.uk  Sun Oct 17 18:46:34 2004
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Sun Oct 17 18:46:43 2004
Subject: [Rd] Re: [R] Problem Compiling R-2.0.0 on Linux Alpha
In-Reply-To: <AF293AF0A07C8A44A6098DA99D037130089272@pnlmse24.pnl.gov>
Message-ID: <Pine.LNX.4.44.0410171740450.17145-100000@gannet.stats>

On Sun, 17 Oct 2004, Prasad, Rajiv wrote:

> Thanks, Peter, and Prof. Ripley.
> 
> My efforts last night was mostly futile except that it told me about the
> embedded newline in Built field.
> 
> Prof. Ripley: how do I get your fixes?  Can I just download
> R-2.0.0-patched?

Yes, tomorrow's tarball unless you want to get it from the SVN archive.
The change is in src/library/tools/R/admin.R and looks like

    Built <-
        paste("R ",
              paste(R.version[c("major", "minor")],
                    collapse = "."),
              "; ",
              if(file_test("-d", file.path(dir, "src"))) OStype
              else "",
              "; ",
              ## Prefer date in ISO 8601 format.
              ## Could also use
              ##   format(Sys.time(), "%a %b %d %X %Y")
              Sys.time(),
              "; ",
              .OStype(),
              sep = "")

    ## we must not split the Built: field across lines
    writeLines(c(formatDL(names(db), db, style = "list"),
                 paste("Built", Built, sep=": ")),
               file.path(outDir, "DESCRIPTION"))
    db["Built"] <- Built

Obviously I have not tested on an Alphabc...tuvwxyz system but it should 
work there.


-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


[Rd] Re: [R] Problem Compiling R-2.0.0 on Linux Alpha
Prof Brian Ripley