How to create new directory in current working directory in R

r

#1

I want to create new directory name testdir in current working directory but I am getting error
dir.create(test.dir)
Error in dir.create(test.dir) : object ‘test.dir’ not found


#2

@sid100158 You must supply the path between quotes.


#3

try this- see how complete path is given by me

dir.create("/home/ajay/Desktop/verynewdir2")