If I've understood your question, which is dicey without FAQ: What's a reproducible example (`reprex`) and how do I do one?, your problem is that you are trying to do inline assignments. That dog won't hunt. If you make your assignments within blocks the variables are available for indefinite inline use. Try this Rmd examplle

```
---
title: "StuckChunk.Rmd"
author: "Richard Careaga"
date: "12/16/2018"
output: html_document
---
# First iteration
<pre>
Here is the first inline: "r x <- sample(x=1:100, size=100, replace=TRUE) mean(x)" (backticks omitted)
</pre>
With the backticks, it throws an error. As it should, even from the console, because there are two statements on the same line.
> Error: unexpected symbol in "x <- sample(x=1:100, size=100, replace=TRUE) mean"
On the other hand, put the assignment of *x* in a code block with echo = TRUE if you want to show the assignment
```{r chunk1, results="asis", echo = TRUE, warning=FALSE}
x <- sample(x=1:100, size=100, replace=TRUE)
```

And you can inline `mean(x)`

ras often as you like:

`r mean(x)`

`r mean(x)`

`r mean(x)`

`r mean(x)`

`r mean(x)`

`r mean(x)`

`r mean(x)`

`r mean(x)`

`r mean(x)`

`r mean(x)`

`r mean(x)`

`r mean(x)`

`r mean(x)`

`r mean(x)`

`r mean(x)`

Likewise, assign r in a chunk

```
y <- x
y[sample(x=1:100, size=20, replace=FALSE)] <- NA
```

and you can do `mean(y)`

rand `mean(y, na.rm = TRUE)`

ras often as you like

`r mean(y)`

`r mean(y, na.rm = TRUE)`

`r mean(y)`

`r mean(y, na.rm = TRUE)`

`r mean(y)`

`r mean(y, na.rm = TRUE)`

`r mean(y)`

`r mean(y, na.rm = TRUE)`

`r mean(y)`

`r mean(y, na.rm = TRUE)`

`r mean(y)`

`r mean(y, na.rm = TRUE)`

`r mean(y)`

`r mean(y, na.rm = TRUE)`

`r mean(y)`

`r mean(y, na.rm = TRUE)`

`r mean(y)`

`r mean(y, na.rm = TRUE)`

`r mean(y)`

`r mean(y, na.rm = TRUE)`

`r mean(y)`

`r mean(y, na.rm = TRUE)`

And, since *x* is already defined, you don't need a new chunk for inline repetitions of `quantile(x, probs=c(0.25, 0.75))`

`r quantile(x, probs=c(0.25, 0.75))`

`r quantile(x, probs=c(0.25, 0.75))`

`r quantile(x, probs=c(0.25, 0.75))`

`r quantile(x, probs=c(0.25, 0.75))`

`r quantile(x, probs=c(0.25, 0.75))`

`r quantile(x, probs=c(0.25, 0.75))`

`r quantile(x, probs=c(0.25, 0.75))`

`r quantile(x, probs=c(0.25, 0.75))`

`r quantile(x, probs=c(0.25, 0.75))`

`r quantile(x, probs=c(0.25, 0.75))`

`r quantile(x, probs=c(0.25, 0.75))`

`r quantile(x, probs=c(0.25, 0.75))`

`r quantile(x, probs=c(0.25, 0.75))`

`r quantile(x, probs=c(0.25, 0.75))`

`r quantile(x, probs=c(0.25, 0.75))`

`r quantile(x, probs=c(0.25, 0.75))`

`r quantile(x, probs=c(0.25, 0.75))`