R 1.5.1 not working with Windows NT on Virtual PC 4 (PR#1932)

Luke Tierney luke@stat.umn.edu
Fri, 23 Aug 2002 06:27:01 -0500


This is a bug in Virtual PC [Virtual PC is a PC emulator for Mac OS].
It seems to have been introduced in 4.0 and is still there in 5.0.  It
isn't there in 3.0. I reported it to Connectix and the upshot was that
they don't care.  I gave them a simple program that reproduces it,

----------------------------------(itest.c)------------------------------------
#include <stdio.h>

double R_Zero_Hack = 0.0;

double R_PosInf, R_NegInf;

main()
{
    R_PosInf = 1.0/R_Zero_Hack;
    R_NegInf = -1.0/R_Zero_Hack;
    printf("%g %g\n", R_PosInf, R_NegInf);
}
-------------------------------------------------------------------------------

This should produce

1.#INF -1.#INF

and does on an intel machine and on VPC 3.03.  But on VPC 4.02 and 5.0
it produces

1.#INF 1.#INF

If a few more people complain to connectix maybe something will
happen.  Virtual PC is nice in many ways; in fact I can build the
windows version of R on it with no problems.  But to run the R tests
or do anything useful with R I have to switch to 3.03, which I keep
around for that reason.  It's pretty annoing.

luke

On Fri, Aug 23, 2002 at 09:09:55AM +0200, alex_dacosta@yahoo.fr wrote:
> Full_Name: Alexandre Da Costa
> Version: 1.5.1
> OS: Windows NT 4 on Virtual PC 4
> Submission from: (NULL) (193.253.191.74)
> 
> 
> I am using Virtual PC 4.0.2 for every day work.
> I wanted to try connections of R 1.5.1 to Oracle DataBases.
> But R is running but is not working at all !
> The simple commands end with "no finite arguments" error.
> See following session:
> -----------------------------------------------------------
> R : Copyright 2002, The R Development Core Team
> Version 1.5.1  (2002-06-17)
> 
> R is free software and comes with ABSOLUTELY NO WARRANTY.
> You are welcome to redistribute it under certain conditions.
> Type `license()' or `licence()' for distribution details.
> 
> R is a collaborative project with many contributors.
> Type `contributors()' for more information.
> 
> Type `demo()' for some demos, `help()' for on-line help, or
> `help.start()' for a HTML browser interface to help.
> Type `q()' to quit R.
> 
> > max(1,2)
> [1] Inf
> Warning message: 
> no finite arguments to max; returning -Inf 
> > library()
> Error in if (nc[currentIndex] == 0) upperBlockIndex <- c(upperBlockIndex,  : 
>         missing value where logical needed
> In addition: Warning messages: 
> 1: no finite arguments to max; returning -Inf 
> 2: NAs introduced by coercion 
> > ls()
> [1] "last.warning"
> > dir()
>  [1] "afm"          "AUTHORS"      "bin"          "CHANGES"      "COPYING"     
>  [6] "COPYRIGHTS"   "doc"          "etc"          "FAQ"          "library"     
> [11] "modules"      "NEWS"         "README"       "README.Rterm" "rw-FAQ"      
> [16] "THANKS"       "unins000.dat" "unins000.exe" "Y2K"         
> > 
> Any Idea ?
> 
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> r-devel 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-devel-request@stat.math.ethz.ch
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._

-- 
Luke Tierney
University of Minnesota                      Phone:           612-625-7843
School of Statistics                         Fax:             612-624-8868
313 Ford Hall, 224 Church St. S.E.           email:      luke@stat.umn.edu
Minneapolis, MN 55455 USA                    WWW:  http://www.stat.umn.edu
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._