[R] Question about as.numeric with tclvalue

From: Erin Hodgess <erinm.hodgess_at_gmail.com>
Date: Sun, 23 Mar 2008 21:17:15 -0500


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

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Mon 24 Mar 2008 - 02:21:45 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 24 Mar 2008 - 08:30:23 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive