Friday, 15 June 2012

file - Generate path string of subfolder in the working directory for R -



file - Generate path string of subfolder in the working directory for R -

in r, want load file in subfolder in working directory. convinent, want generate path of folder combine file want access. don't know how it.

please help me.

thank lot.

use file.path

> file.path(getwd(), "yourpath") [1] "c:/users/john/documents/yourpath"

r file

No comments:

Post a Comment