Skip to content

question

2 messages · WFJ van IJcken, Spencer Graves

#
Hi,

I have a problem with R, after an update:
 this piece of code:
cat("creating resolver data frame\n");
dfG<-cbind(dfG,2^(RGN$G))
dfR<-cbind(dfR,2^(RGN$R))

suddenly, creates values to inf.
Is the syntax changed for the ^ symbol in the latest R downloadable version?

Kind regards, wilfred
1 day later
#
What are RGN$G and RGN$R?

	  Consider the following:

 > .Machine$double.xmax
[1] 1.797693e+308
 > log(.Machine$double.xmax, base=2)
[1] 1024
 > 2^(log(.Machine$double.xmax, base=2)-1)
[1] 8.988466e+307
 > 2^log(.Machine$double.xmax, base=2)
[1] Inf

	  If you want something different from this, PLEASE do read the
posting guide! "http://www.R-project.org/posting-guide.html".  It may
help you formulate your question to increase the chances of getting a 
more useful reply.

	  Best Wishes,
	  spencer graves
WFJ van IJcken wrote: