Figures with asterisks

Hello, I want to make some figures, empty square, empty oval and an arrow, using the for loop, I don't know how the coding should go, someone could tell me what the coding is like, thanks.

The encoding I have so far is:

n<-9
for(i in 1:n){
for(j in 1:n){
cat("*")
}
cat("\n")
}

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.