R - Reading vector or dataframe from string -


i read data frame string. bit difficult explain, and, far couldn't find answer anywhere.

let's imagine have several data frames: "param1", "param2", ... "param100". able access them loop:

for (i in c(1:100)){   <- paste0("param",i)   b <- ??? (a) } 

where b become "param1", ... "param100" when i varies 1 100.

use get.

for (i in 1:100) {   b <- get(paste0("param", i)) } 

Comments

Popular posts from this blog

apache - setting document root in antoher partition on ubuntu -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -

Process 'command 'F:\android-sdk\build-tools\21.1.2\aapt.exe'' finished with non-zero exit value 1 -