I will copy and paste from the link I sent your earlier
Minimal Dataset (Sample Data)
You need to provide a data frame that is small enough to be (reasonably) pasted on a post, but big enough to reproduce your issue.
Let's say, as an example, that you are working with the iris data frame
head(iris)
#> Sepal.Length Sepal.Width Petal.Length Petal.Width Species
#> 1 5.1 3.5 1.4 0.2 setosa
#> 2 4.9 3.0 1.4 0.2 setosa
#> 3 4.7 3.2 1.3 0.2 setosa
#> 4 4.6 3.1 1.5 0.2 setosa
#> 5 5.0 3.6 1.4 0.2 setosa
#> 6 5.4 3.9 1.7 0.4 setosa
Note: In this example we are using the built-in dataset iris , as a representation of your actual data, you should use your own dataset instead of iris, or if your problem can be reproduced with any dataset, then you could use iris directly (or any other built-in dataset e.g. mtcars , ToothGrowth , PlantGrowth , USArrests , etc.) and skip this step.
And you are having issues while trying to do a scatter plot between Sepal.Length and Sepal.Width , so a good minimal sample data for this case would be just the first 5 rows of those two variables, this doesn't mean that you have to necessarily do the same, use your best judgment to decide the minimal amount of sample data needed to exemplify your specific problem.
head(iris, 5)[, c('Sepal.Length', 'Sepal.Width')]
#> Sepal.Length Sepal.Width
#> 1 5.1 3.5
#> 2 4.9 3.0
#> 3 4.7 3.2
#> 4 4.6 3.1
#> 5 5.0 3.6
Now you just need to put this into a copy/paste friendly format for been posted in the forum, and you can easily do it with the datapasta package.
# If you don't have done it already, You have to install datapasta first with
# install.packages("datapasta")
datapasta::df_paste(head(iris, 5)[, c('Sepal.Length', 'Sepal.Width')])
# This is the sample data that you have to use in your reprex.
data.frame(
Sepal.Length = c(5.1, 4.9, 4.7, 4.6, 5),
Sepal.Width = c(3.5, 3, 3.2, 3.1, 3.6)
)
A nice guide about datapasta can be found here:
maraaverick.rbind.io – 30 Oct 18

How to use {datapasta} to put data in a reprex.
You can also use dput provided in base , which is as simple as this:
dput(head(iris, 5)[c("Sepal.Length", "Sepal.Width")])
#> structure(list(Sepal.Length = c(5.1, 4.9, 4.7, 4.6, 5), Sepal.Width = c(3.5,
#> 3, 3.2, 3.1, 3.6)), row.names = c(NA, 5L), class = "data.frame")
This output may seem awkward compared to the output of datapasta , but it's much more general in the sense that it supports many more types of R objects.