R: Special characters when creating a folder or file -


i trying create pdf inside folder special character , have error , have no idea why. can create folder special character write tables inside folder (using write.table) can not create pdf files. has idea can solve problem?

library(ggplot) > print(output_folder)  "/users/name/documents/imperial_airlines_flight_201%2f8" > file_name <- paste(output_folder,"/","test.pdf", sep="") pdf(file_name,width = 20, height=10)    qplot(gear, mpg, data=mtcars, geom=c("boxplot", "jitter"),        fill=gear, main="mileage gear number",       xlab="", ylab="miles per gallon")  dev.off() 

i can not modify name of folder.

thanks lot help.


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

post - imageshack API cURL -

dataset - MPAndroidchart returning no chart Data available -