[R] Need help on an error, when looding library(uroot)

Rolf Turner r.turner at auckland.ac.nz
Thu Nov 1 21:49:41 CET 2007


On 2/11/2007, at 9:39 AM, Tom.O wrote:

>
> Hi
> When I'm looding the library "uroot" something happens with the  
> basic R code
> that handles numeric classes. Its looks like a bug but I cant  
> isolate the
> problem. So hopfully one of you smart guys out there can give me  
> some help.
>
> This is how the problem looks. Take for example the vector
> TEST <- c("1","2") which I want to transform it to a numeric  
> vector. I would
> use
> TEST <- as.numeric(TEST)
>
> but after i have loaded the "uroot" library I get this error  
> message when I
> try to perform the as.numeric command:
>
> Error in UseMethod("as.double") : no applicable method for "as.double"

I just installed and loaded ``uroot'' and tried your test example.
It worked without any complaint.  This is under

 > version
                _
platform       i386-apple-darwin8.10.1
arch           i386
os             darwin8.10.1
system         i386, darwin8.10.1
status
major          2
minor          6.0
year           2007
month          10
day            03
svn rev        43063
language       R
version.string R version 2.6.0 (2007-10-03)

Your problem must be specific to (a) your version of R (is it the  
latest?),
or (b) your operating system (both of which you should have specified  
in your
post), or (c) to your local environment --- with which it would be  
difficult
to provide any assistance.

	cheers,

		Rolf Turner


######################################################################
Attention:\ This e-mail message is privileged and confid...{{dropped:9}}



More information about the R-help mailing list