Here is an example of the type of data I'm sending qplot:
rnorm_test_data<-rnorm(1000,3,6)
house_age<-seq(1:1000)
length(rnorm_test_data)
length(house_age)
house_info<-data.frame(rnorm_test_data,
house_age,
Location = c("NA"))
qplot(house_age, data = house_info, binwidth = 1,
fill = factor(as.character(house_info$Location)))
It tells me, and probably correctly:
Error: evaluation nested too deeply: infinite recursion / options(expressions=)?
Is there anyway for "fill" to work properly with a single factor? I think that is causing the problem, i.e. I am sending in a single factor. I was hoping that "fill" would have recognized this and only used a single "fill" color. Do I need to handle this type of situation instead of leaving it up to qplot?
Thank you again for your insights and feedback.