Top "Repeat" questions

"repeat" refers to the action of doing something over again.

How do I check if my array has repeated values inside it?

So here is my array. double[] testArray = new double[10]; // will generate a random numbers from 1-20, too lazy to write …

c# arrays repeat
R repeat function until condition met

I am trying to generate a random sample that excludes certain "bad data." I do not know whether the data …

r function conditional-statements repeat
Generate a repeating sequence based on vector

I am trying to take an existing vector and repeat each element of it six times. I feel like this …

r repeat
How to capture an arbitrary number of groups in JavaScript Regexp?

I would expect this line of JavaScript: "foo bar baz".match(/^(\s*\w+)+$/) to return something like: ["foo bar baz", "…

javascript regex repeat capturing-group
How do I repeat any command in Vim, like "C-x z" in emacs?

In Vim, is there any way to repeat the last command regardless of whether it was an edit or not, …

vim command repeat
How to Loop/Repeat a Linear Regression in R

I have figured out how to make a table in R with 4 variables, which I am using for multiple linear …

r loops repeat linear-regression
math random number without repeating a previous number

Can't seem to find an answer to this, say I have this: setInterval(function() { m = Math.floor(Math.random()*7); $('.…

javascript random repeat
Using explicitly numbered repetition instead of question mark, star and plus

I've seen regex patterns that use explicitly numbered repetition instead of ?, * and +, i.e.: Explicit Shorthand (something){0,1} (something)? (something){1} (something) (…

regex readability repeat
Repeating background image in native iPhone app

Short of putting a UIWebView as the back-most layer in my nib file, how can I add a repeating background …

iphone cocoa-touch native repeat
repeat css background image a set number of times

is there a way to set the number of times a background image repeats with css?

css repeat