View dataframes by pasting its name in r
<p>Is there any way to View dataframes in r, while refering to them with another variable? Say I have 10 data frames named df1 to df10, is there a way I can View them while using i instead of 1:10?
Example:</p>

<pre><code>df1 = as.data.frame(c(1:20))
i = 1

View(paste("df", i, sep =""))
</code></pre>

<p>I would like this last piece of code to do the same as View(df1). Is there any command or similar in R that allows you to do that?</p>