R command dir.create and file.path
问题 I've just started learning r and confused by the following question given in the course: Create a directory in the current working directory called “testdir2” and a subdirectory for it called “testdir3”, all in one command by using dir.create() and file.path(). I couldn't get it to accept my answer and then found another site online giving the answers. This is the answer the other site gave: dir.create(file.path('testdir2', 'testdir3'), recursive = TRUE) After copy/pasting this answer it