Closed bayoishola20 closed 4 years ago
Uninstall and reinstall the package from github:
remove.packages("rayshader")
remotes::install_github("tylermorganwall/rayshader")
remotes::install_github("tylermorganwall/rayrender")
Thank you! That resolved the missing "render_highquality" function but another pops when ran.
Error in diffuse() : could not find function "diffuse"
EDITED: Open a new issue instead?
No need, just uninstall rayrender and reinstall the github version:
remove.packages("rayrender")
remotes::install_github("tylermorganwall/rayrender")
Also restart R
That has now been resolved but yet another shows up.
Error in .Call(`_rayrender_render_scene_rcpp`, nx, ny, ns, fov, ambient_light, :
Incorrect number of arguments (63), expecting 62 for '_rayrender_render_scene_rcpp'
Code used:
render_highquality(lightdirection = 0, lightaltitude = 30, clamp_value = 10,
samples=200, clear=TRUE)
The issue is the package isn't fully uninstalling--try uninstalling rayrender, restarting R, and installing it from github again. If that doesn't work, you'll need to go into the folder containing your packages (found by typing .libPaths()
) and delete the rayrender folder.
Thank you! This does resolve the issue(s).
PS: Just incase someone has same issue, removing rayshader didn't happen until I navigated to
C:\Users\{Your_Computer_Name}\Documents\R\win-library\3.6
and manually deleted the folder 00LOCK-rayshader
Great!