Ciao Paolo,

How about you show some row of your data?
How many columns have your data.frame? One?
By the way "data" is not a so good name for your data frame.

We will be very happy to help you

Kindly,

Miltinho
Brasile

On 2/11/08, Paolo Grillo <paolo.grillo@guest.unimi.it> wrote:
>
>
>   Hi all
>   I have this problem:
>   In my database .dta, called "data" I have five rows
>   data<-read.dta("C:\\2_CO_mmobile_ALL_Rid.dta")
>   # From this database  I wuold like to create another
>   coppie<-c(data[4:length(data)])
>   but I find this
>
>   # Length of  original data
>   length(data[,4])
>   5                       RIGHT!!
>   # Length of new data
>   length(coppie[1])
>   1                      WHY??
>   Thank you all for your help
>   Paolo Grillo
> ______________________________________________
> 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]]

