output of command list.files("C:\\Users\\Hp\\Documents\\Read")
is
[1] "1.jpg" "2.jpg" "3.jpg" "Untitled4-1.jpg" "Untitled4-2.jpg" "Untitled4-3.jpg"
How do I get an output "1" "2" "3" "Untitled4-1" "Untitled4-2"
output of command list.files("C:\\Users\\Hp\\Documents\\Read")
is
[1] "1.jpg" "2.jpg" "3.jpg" "Untitled4-1.jpg" "Untitled4-2.jpg" "Untitled4-3.jpg"
How do I get an output "1" "2" "3" "Untitled4-1" "Untitled4-2"