R code that builds a data.frame from character vectors.
Who uses it
Statistics and R notebooks.
Writing R DataFrame
stringsAsFactors is set to FALSE explicitly. It has defaulted to FALSE since R 4.0, but being explicit means the snippet behaves the same on older installs.