Hello, I installed the new release 0.65.0 of R on our local Solaris system. As I already (and sucessfully) installed the 0.64.0 and 0.64.1 version of R, I hadn't had any trouble during the installation. But as I've started R in order to see the demo I've got horizontal and vertical lines goint to the left and top of the X11 window at each tick (demo ("graphics")). This seems not to be a grid but is now standard in any 2D plot (I also tried several of my own R programs). Furthermore, the exported postscripts (dev.print (file="blabla.ps")) can't be displayed by ghostscript. What did I wrong during the installation? Thank for your help Ralf Herbrich ------------------------------------------------------------------- Ralf Herbrich phone : +49-30-314-25817 TU Berlin email : ralfh at cs.tu-berlin.de FB 13; FR 6-9 URL : http://stat.cs.tu-berlin.de/~ralfh 10587 Berlin Germany [teaching assistant in the statistics group at the TU Berlin] ------------------------------------------------------------------ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Ralf Herbrich <ralfh at cs.tu-berlin.de> writes:> Hello, > > I installed the new release 0.65.0 of R on our local Solaris system. As I > already (and sucessfully) installed the 0.64.0 and 0.64.1 version of R, I > hadn't had any trouble during the installation. But as I've started R in > order to see the demo I've got horizontal and vertical lines goint to the > left and top of the X11 window at each tick (demo ("graphics")). This > seems not to be a grid but is now standard in any 2D plot (I also tried > several of my own R programs). Furthermore, the exported postscripts > (dev.print (file="blabla.ps")) can't be displayed by ghostscript. > > What did I wrong during the installation?Possibly nothing, but I don't see that effect on solaris 2.5.1. You're not using an older config.cache by any chance? What version of Solaris are we talking about? And is the effect visible on all X servers? And which version of which C compiler? -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Mon, 13 Sep 1999, Ralf Herbrich wrote:> > Hello, > > I installed the new release 0.65.0 of R on our local Solaris system. As I > already (and sucessfully) installed the 0.64.0 and 0.64.1 version of R, I > hadn't had any trouble during the installation. But as I've started R in > order to see the demo I've got horizontal and vertical lines goint to the > left and top of the X11 window at each tick (demo ("graphics")). This > seems not to be a grid but is now standard in any 2D plot (I also tried > several of my own R programs). Furthermore, the exported postscripts > (dev.print (file="blabla.ps")) can't be displayed by ghostscript. > > What did I wrong during the installation?Probably nothing. I have seen this effect on Solaris when the configuration did not work consistently (that is it re-configured with different settings because the environment variables were different: usually because I did not ask it to re-configure). I think the reason is that either HAVE_FINITE is not defined in src/include/Rconfig.h or it is defined and FINITE_BROKEN is also defined. Can you send me (privately) that file, the result of typing `R.version' and details of the compilers used (for starters). It might be worth doing make clean rm config.cache ./configure (keep the output) make to try once again. -- 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 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Ralf: I have had the same experience under RH 6.0 Linux. The lines were present when the HDF library was found and linked in - make check also failed at example(contour) when HDF was found. On reconfiguring without the HDF input/output enabled, the problems went away - both the ugly lines, and the failure of make check. I hadn't posted a bug.report, waitng for corroboration. If you have the HDF library in a searchable place, ./configure will find it and enable HDF input/output. I don't know, however, if this is the problem, it feels more like symptoms of some deeper clash in namespace? -- Roger Bivand Department of Geography, Norwegian School of Economics and Business Administration, Breiviksveien 40, N-5045 Bergen, Norway. voice: +47 55 95 93 55; fax +47 55 95 93 93 e-mail: Roger.Bivand at nhh.no -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Prof Brian D Ripley
1999-Sep-14 14:17 UTC
R with a broken finite() (was [R] Problems with R-0.65.0)
[Copied to R-bugs so it goes into the database.] On Mon, 13 Sep 1999, Ralf Herbrich wrote:> > Hello, > > I installed the new release 0.65.0 of R on our local Solaris system. As I > already (and sucessfully) installed the 0.64.0 and 0.64.1 version of R, I > hadn't had any trouble during the installation. But as I've started R in > order to see the demo I've got horizontal and vertical lines goint to the > left and top of the X11 window at each tick (demo ("graphics")). This > seems not to be a grid but is now standard in any 2D plot (I also tried > several of my own R programs). Furthermore, the exported postscripts > (dev.print (file="blabla.ps")) can't be displayed by ghostscript. > > What did I wrong during the installation?To follow up on this, Ralf was using Solaris 2.6 and gcc version egcs-2.91.63 19990224 (egcs-1.1.2 pre-release-3) which is probably not a good idea, being an old pre-release (gcc 2.8.1, real egcs-1.1.2 and gcc-2.95.1 have all been tried). This reported that calloc and finite are broken on Solaris 2.6, and they are not on other systems, so it seems more likely that the compiler is broken. If you find a system with HAVE_FINITE and FINITE_BROKEN defined, then R will not work correctly (unless it uses the AIX workaround). The fix I suggested to Ralf worked, and will probably be incorporated in 0.65.1 (unless we find a better one). Try replacing the line # define R_FINITE(x) ((x) != R_NaReal) in Arith.h by static int R_FINITE(double x) { return !isnan(x) & (x != R_PosInf) & (x != R_NegInf); } -- 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 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._