Use scan:

scan("Ret.csv", dec = ",")


On Thu, Jul 2, 2009 at 7:47 AM, Andriy Fetsun <fetsun@googlemail.com> wrote:

> Hi,
>
> Could you please help me?
>
> I am trying to load an csv-file in R, but it works wrong!
>
>  My data is
>
>
> 0,0127
>
> -0,0016
>
> 0,0113
>
> 0,0037
>
> -0,0025
>
>
> > Ret<-read.csv("Ret.csv")
> > Ret
>  X0 X0127
> 1  0    16
> 2  0   113
> 3  0    37
> 4  0    25
>
> Thank you in advance!
>
> --
> Best regards,
>
> Andy
>
>        [[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.
>



-- 
Henrique Dallazuanna
Curitiba-Paraná-Brasil
25° 25' 40" S 49° 16' 22" O

	[[alternative HTML version deleted]]


