Thanks.
Both methods definitely help.

-Roberto

2010/9/14 Uwe Ligges <lig...@statistik.tu-dortmund.de>

>
>
> On 06.09.2010 03:51, Roberto Badilla Fuentes wrote:
>
>> Hi,
>>
>> I have a dataset in .dbf format.  It contains Coordinates and Time.
>> The TIMESTAMP is as follows:
>>
>>   03/18/2006 13:30:37
>> I am not working with the TIMESTAMP column, but when I print out my
>> manipulated dataset using
>> *write.dbf*  I get the value *390 *where the TIMESTAMP value should be.
>>  Can
>> Anyone help me out why R does this
>> and how I can correct it.
>>
>
> Probably the timestamp was read in as a factor.
>
>
> Use as.character() followed by, e.g., strptime() to convert it to a time
> format.
>
> Best,
> Uwe Ligges
>
>
>
>> Thanks
>> -Roberto
>>
>>        [[alternative HTML version deleted]]
>>
>> ______________________________________________
>> R-help@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.
>>
>

        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to