Empty directory: Difference between revisions

R language
m (→‎{{header|C sharp}}: Regularize header markup to recommended on category page)
(R language)
Line 1,063:
print "empty"
</lang>
 
=={{header|R}}==
<lang R>
is_dir_empty <- function(path){
if(length(list.files(path)) == 0)
print("This folder is empty")
}
is_dir_empty(path)
</lang>
 
=={{header|Racket}}==
Anonymous user