Skip to content
Prev 247184 / 398503 Next

What does the shell() command do?

Dear R community,

I am trying to understand what the shell() function does.

An example is:

xfile <- shell(paste("dir/b ",
paste(directory.folder,"file.name",sep="")),intern=T)

I'm afraid I wasn't able to completely understand the explanation under the
Help files.

Thanks for your help!

Leanne.