I am trying to export different figures with corresponding file names.
For example, there is a table called 'A' and it has following structure.
 V1      V2 
 chr1     0.9
 chr1     0.1
 chr1     0.2
 chr2     1.1
 chr2     1.3
 chr2     0.1
plot(A[which(A$V1==chr1),2])
plot(A[which(A$V1==chr2),2])
.
.
.
.
output files
chr1.pdf
chr2.pdf
I succeeded in making different plots with different titles by V1 column. However, I cannot make different names of files.
Give me your nice solutions
 
     
    