> setwd("~/DataClass/letters/src") > plot1 <- ggplot(first.letter.counts, aes(x = V1)) + geom_density() > ggsave(file.path('graphs', 'plot1.pdf')) Saving 8.38 x 4.67 in image Error in grDevices::pdf(..., version = version) : cannot open file 'graphs/plot1.pdf' > > plot2 <- ggplot(second.letter.counts, aes(x = V1)) + geom_density() > ggsave(file.path('graphs', 'plot2.pdf')) Saving 8.38 x 4.67 in image Error in grDevices::pdf(..., version = version) : cannot open file 'graphs/plot2.pdf'
For some reason I'm getting an error in grdevices, due to some version problem?
So it's not creating the pdf's.
Far as I can tell everything is up to date.
Any idea's? I'm using RStudio and I'm still new to R. So any help would be appreciated.
ProjectTemplate tutorial on the ProjectTemplate website
--
You received this message because you are subscribed to the Google Groups "ProjectTemplate" group.
To unsubscribe from this group and stop receiving emails from it, send an email to projecttempla...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.