Skip to content
Back to formatted view

Raw Message

Message-ID: <23313192.post@talk.nabble.com>
Date: 2009-04-30T09:57:33Z
From: aledanda
Subject: mode(x) <- "double"
In-Reply-To: <23296727.post@talk.nabble.com>

SOLVED:

I imported again the data like this:

data <- scan ("data.txt")

Thanks Phil Spector!

Alessandra


aledanda wrote:
> 
> Hi,
> I need your help!! 
> I imported a big coloumn vector from a txt file but it results as mode
> :"list" I want to change it in numeric otherwise I can't do my analysis.
> This is what i get:
> 
> mode (data) <- "double"
> Error in eval(expr, envir, enclos) : 
>  (list) object cannot be coerced to type 'double'
>> 
> 
> 
> Thanks a lot!!!
> 
> Alessandra
> 

-- 
View this message in context: http://www.nabble.com/mode%28x%29-%3C--%22double%22-tp23296727p23313192.html
Sent from the R help mailing list archive at Nabble.com.