編集:私は用語「機能」はOPによるR関数の意味で使用されていなかったことを、この答えを想定し。 OPは問題を解決するためのアルゴリズムだと思う。
#### load packages ####
library(docxtractr)
library(plyr)
#### load data ####
# define path of dir
pathto <- "stackoverflow/41251392/example/"
# get path of every .docx-file in dir
filelist <- list.files(path = pathto, pattern = "*.docx", full.names = TRUE)
# read every file with docxtractr::read_docx()
tablelist <- lapply(filelist, read_docx)
# extract every table from every file with docxtractr::docx_extract_all_tbls()
tables <- lapply(tablelist, docx_extract_all_tbls)
#### append data to create one data.frame ####
# combine extracted tables with plyr::ldply()
ldply(lapply(tables, function(x) {ldply(x, data.frame)}), data.frame)
最後の行はわかりにくいです。 ?plyr::ldply
をご覧ください。
[ここ](http://stackoverflow.com/questions/11433432/importing-multiple-csv-files-into-r)と同じ一般的な考えを使用 –