Skip to content

R CMD install runs out of memory

4 messages · Hadley Wickham, Duncan Murdoch, Uwe Ligges

#
$ R CMD install ggplot2
...
  scale-usage-d1                    text    html    latex
  scale_brewer                      text    html    latex   example
perl(90227) malloc: *** mmap(size=314880000) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
Out of memory!
ERROR: building help failed for package 'ggplot2'

Any ideas?  That particular file is
http://github.com/hadley/ggplot2/tree/master/man/scale_brewer.rd, but
I can't see any reason it would be causing problems.  The whole
package is available at http://github.com/hadley/ggplot2/

Hadley
#
On 10/3/2008 10:14 AM, hadley wickham wrote:
What OS is this, what Perl?

Duncan Murdoch
#
Duncan Murdoch wrote:
Arbitrary.

Problem is that Hadley uses

  \code{\link{\code{\link{....}}}}

in files scale_continuous.rd and scale_date.rd

Hadley,  the line
    scale_brewer                      text    html    latex   example
shows that help for scale_brewer has been build already.

Best wishes,
Uwe
#
On Fri, Oct 3, 2008 at 10:12 AM, Uwe Ligges
<ligges at statistik.tu-dortmund.de> wrote:
Ooops!  Thanks for figuring that out.

Hadley