search for: mycurrentdata

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

2008 May 14
3
strip white in character strings
Dear all, I have several datasets and I want to generate pdf plots from them. I also want to generate automatically the names of the files. They are country-specific and the element mycurrentdata[1,1] contains this information. So what I do is something like this: pdf(file=paste(mycurrentdata[1,1], ".pdf", sep=""), width=...etc) The only problem I have is that some of the country names contain white space (e.g., "United Kingdom"). This is no problem for gen...