I want to get different sample with same seed value even after closing Rstudio

set.seed(2017556072)
library(tidyverse)

sample1<-sample(sentences,size=100)
sample1

1 Like

You can't. The entire and sole purpose of seed control is to have reproducible sampling. If you want different sampling. Stop controlling the seed?

2 Likes

it was for university HW I had to write my ID as a seed value. I wanted to change it because there was (don't) in one of my sentences and somehow it printed as (don????t). but I fixed it. Thank you for your answer tho.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.