[R] Question about as.numeric with tclvalue

Erin Hodgess erinm.hodgess at gmail.com
Mon Mar 24 03:17:15 CET 2008


Dear R People:

I have an interactive menu via an Rcmdr extension package which asks
for lower and upper limit to evaluate.

Typically, I use:

assign("a",as.numeric(tclvalue(lowlim)),envir=.GlobalEnv)

and that's fine.

However, if I try to use pi or Inf or -Inf, I get either coerced NAs or NaN.

Does anyone have any suggestions, please?

Thanks,
Erin
PS Happy Easter if you celebrate Easter.


-- 
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: erinm.hodgess at gmail.com



More information about the R-help mailing list