Gavin Simpson
2008-Feb-25 18:15 UTC
[Rd] r44608 fails make check-all in scatter.smooth example
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! Cheers, G -- %~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~% 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 %~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
Prof Brian Ripley
2008-Feb-25 19:10 UTC
[Rd] r44608 fails make check-all in scatter.smooth example
The cause is this: r44607 | maechler | 2008-02-25 14:01:52 +0000 (Mon, 25 Feb 2008) | 2 lines add Fortran type declarations in two cases, mainly for didactical reasons The two declarations have been interchanged. Fixed in 44609, I hope. On Mon, 25 Feb 2008, Gavin Simpson wrote:> 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! > > Cheers, > > G > -- > %~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~% > 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 > %~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~% > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel >-- 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