[R] asking for help

Bert Gunter bgunter.4567 at gmail.com
Tue Apr 25 07:16:32 CEST 2017

By 163863 "values" do you mean rows in the data frame? If so, please
read about indexing in any online R tutorial or the Intro to R
tutorial that ships with R. This is an absolutely basic R operation,
and if you are unwilling or unable to put in the time to learn about
it, you should probably consider using other software.

If you mean something else, then please read and follow the posting
guide to help you post your question in a way that will make your
meaning clear and enable others to help you. And please post in *plain
text*, not HTML, which can get mangled by the mail software (though it
was fine this time).

Also, please note that "looping" in R is often unnecessary and inefficient.


-- Bert
Bert Gunter

"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )

On Mon, Apr 24, 2017 at 9:34 PM, Saifuddin, Miah Mohammad
<miah.mohammadsaifudd at mavs.uta.edu> wrote:
> I have a data frame having 163863 values. I want to subset it so that each set has 6069 values in it. for example 1:6069 as first, 6070: 6070+6068 as second. how can I do that, preferably in a loop.
>         [[alternative HTML version deleted]]
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.

More information about the R-help mailing list