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

Prof Brian Ripley ripley at stats.ox.ac.uk
Sun Oct 17 18:46:34 CEST 2004


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 at 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



More information about the R-devel mailing list