First, select one file randomly from the current directory: file <- sample(list.files(), 1). Then do whatever you want with it, e.g. read all lines:
確定! 回上一頁