Bootstrapping with sample(), what should the size of your sub-sample be?

I am currently bootstrapping my sample, x, using the sample function.
sample(x, size = n, replace = T)

My question is how do you know what size should be? Is there a standard procedure in determining the value of size?