search for: myplot_tak

Displaying 1 result from an estimated 1 matches for "myplot_tak".

2012 Dec 24
2
whats wrong in my codes???
Dear R family,i am trying to plot and save, simultaneously, about 1000. the name of each plot is contained in "names" file. when i run this loop, i get an error. "Error in plot.new() : Unable to open file 'C:/R/SAVEHERE/myplot_Tak.jpg' for writing". could you please correct the mistake in the loop? >names<-(names(sp)) >for(a in seq_along(names)){ >mypath <- file.path("C:","R","SAVEHERE",paste("myplot_", names[a], ".jpg",sep = "")) >jpeg(fi...