Walmir,

Your file is not well structured, firstly you should load your data into a
data.frame object.
I suggest using read.table function with sep=';'.
After that you must replace ',' with '.', I think gsub can solve that.
I've written a post on pricing Brazilian bonds with R and there I had to do
a few transformations like that.

http://blog.aboutwilson.net/posts/2014-04/pricing-brazilian-government-bonds-lft/

Finally you can use xts functions passing the data you want to put into a
time series format.

Wilson
http://blog.aboutwilson.net



On Fri, May 30, 2014 at 2:26 PM, walmir-rodrigues <
walmir-rodrigues@uol.com.br> wrote:

> Dears,
>
> I have a simple questions about how can I transform this file in a time
> series object? Can I use this in a fPortfolio?
>
> _______________________________________________
> R-SIG-Finance@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
> -- Subscriber-posting only. If you want to post, subscribe first.
> -- Also note that this is not the r-help list where general R questions
> should go.
>



-- 
Wilson Freitas
http://aboutwilson.net

	[[alternative HTML version deleted]]

