[Rd] r44608 fails make check-all in scatter.smooth example

Gavin Simpson gavin.simpson at ucl.ac.uk
Mon Feb 25 19:15:05 CET 2008

Dear List,

Having had my appetite sufficiently whetted by Prof. Ripley's email
about the new graphics capabilities in Unixes, I wanted to try them out.
I updated to svn r44608, configured with the following options:

R is now configured for x86_64-unknown-linux-gnu

  Source directory:          ..
  Installation directory:    /usr/local

  C compiler:                gcc  -O3 -g -std=gnu99 -pipe -Wall -fexceptions -fstack-protector -m64 -march=opteron -mtune=opteron
  Fortran 77 compiler:       gfortran  -O3 -g -pipe -Wall -fexceptions -fstack-protector -m64 -march=opteron -mtune=opteron

  C++ compiler:              g++  -O3 -g -pipe -Wall -fexceptions -fstack-protector -m64 -march=opteron -mtune=opteron
  Fortran 90/95 compiler:    gfortran -O3 -g -pipe -Wall -fexceptions -fstack-protector -m64 -march=opteron -mtune=opteron
  Obj-C compiler:            gcc -g -O2

  Interfaces supported:      X11, tcltk
  External libraries:        readline
  Additional capabilities:   PNG, JPEG, iconv, MBCS, NLS, cairo
  Options enabled:           shared BLAS, R profiling, Java

  Recommended packages:      yes

R compiled OK, but make check-all fails running the scatter.smooth example:

running code in 'stats-Ex.R' ...make[4]: *** [stats-Ex.Rout] Error 1
make[4]: Leaving directory `/home/gavin/R/devel/build/tests/Examples'
make[3]: *** [test-Examples-Base] Error 2
make[3]: Leaving directory `/home/gavin/R/devel/build/tests/Examples'
make[2]: *** [test-Examples] Error 2
make[2]: Leaving directory `/home/gavin/R/devel/build/tests'
make[1]: *** [test-all-basics] Error 1
make[1]: Leaving directory `/home/gavin/R/devel/build/tests'
make: *** [check-all] Error 2

And the Rout file contains this at the failure:

$ tail -n 20 tests/Examples/stats-Ex.Rout.fail
> cleanEx(); nameEx("scatter.smooth")
> ### * scatter.smooth
> flush(stderr()); flush(stdout())
> ### Name: scatter.smooth
> ### Title: Scatter Plot with Smooth Curve Fitted by Loess
> ### Aliases: scatter.smooth loess.smooth
> ### Keywords: smooth
> ### ** Examples
> require(graphics)
> with(cars, scatter.smooth(speed, dist))
Error in .Fortran(R_lowesw, as.double(fitted.residuals), as.integer(N),  : 
  Incorrect number of arguments (4), expecting 7 for lowesw
Calls: with ... scatter.smooth -> loess.smooth -> simpleLoess -> .Fortran
Execution halted

This is on Fedora 8.

Plots on the new X11() device look very nice though!


 Dr. Gavin Simpson             [t] +44 (0)20 7679 0522
 ECRC, UCL Geography,          [f] +44 (0)20 7679 0565
 Pearson Building,             [e] gavin.simpsonATNOSPAMucl.ac.uk
 Gower Street, London          [w] http://www.ucl.ac.uk/~ucfagls/
 UK. WC1E 6BT.                 [w] http://www.freshwaters.org.uk

More information about the R-devel mailing list