-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: object 'subset_colors' not found - at Step 8 of your example code #1
Comments
I believe just using
|
Did you wait until the rendering was completed? The rendering time actually varies from device to device. In my case, my MacBook M1 takes around 15-20 minutes to complete a single rendering and save the actual picture. Before that, the file is saved as a 1x1 pixel image. |
Yes, Niloy, I learned as much. Your code, after using your suggestion, does complete and after the saving of the above result image (png file), in the RStudio console your timers are reported:
So, my assumption now is that 'something' is either wrong or missing that leads to the rather black 3D image of my previous post instead of the color image in the Rayshader window. |
Sorry Man, Couldn't help without being able to reproduce the error actually. |
Hi @ericmelse , I was getting a black iamge on all the scripts as well. After rendering the XQuartz plot with It possibly has to do with removing the |
Dear Niley,
With great interest I am reading your Medium post How to Create a 3D Population Density Map in R and exercise your code example as to create the Bangladesh tilted map.
My issue now is that at Step 8, when I run your code:
I get the following error message immediately after the line
tx ...
:Error: object 'subset_colors' not found
I admit that I am not a savvy R user and only can guess that something has first to be declared as to get the object
subset_colors
in memory so that thetx
object can be created.Time permitting, I appreciate your helping hand as to solve this Error.
The text was updated successfully, but these errors were encountered: