This video is a must-watch for anyone starting with R, Rtools, and RStudio, especially before diving into any scripts. Many of us new to GIS and map-making with R often face challenges with version, path, installation, registry and environment issues. The simplest videos are often the most crucial. Thank you Milos for your awesome maps and data visualizations using R! I'm hoping to replicate some of your beautiful and stunning maps after a clean installation of R.
Thank you so much for your kind words, James! I'm thrilled to hear that you find my video helpful and inspiring for your work with GIS and map-making in R. It's always great to know that my content is assisting others in overcoming installation and setup challenges. If you ever have any questions or need further assistance while working on your maps, feel free to reach out.
I have problem in installing rayshader version 0.35.7 , it gives me error message that "Error in download_version_url(package, version, repos, type) : version '0.35.7' is invalid for package 'rayshader'" Please help me with this.
Hello, I re-run the code on my machine and it installs rayshader version 0.35.7 Are you also running this code? remotes::install_version( "rayshader", version = "0.35.7", repos = "cran.us.r-project.org" )
The error message suggests that there is an issue with a Unicode escape sequence in your R script or configuration file. This often occurs when a file path is not properly formatted in R. In R, backslashes in file paths need to be escaped with another backslash. Alternatively, you can use forward slashes, which R interprets correctly on all platforms. Here's how you can correct the file path: - Incorrect: "C:\User\Documents\file" - Correct: "C:\\User\\Documents\\file" or "C:/User/Documents/file" If you're setting a file path in an R script or a configuration file like `.Rprofile`, make sure to use the correct format. If you're using RStudio, you can also set the working directory through the GUI to avoid these issues. If the issue persists, you may want to check your .Rprofile or any R scripts for incorrect file paths and correct them accordingly
@@balakumar-de4pb Setting up the working directory through the GUI in RStudio is a straightforward process. Here's how you can do it: 1. Open RStudio and go to the "Files" tab on the lower right-hand pane. 2. Click on the "..." (more) button to open the navigation box. 3. Navigate to the desired folder where you want to set as your working directory. 4. Once you've found the folder, click on ''Set as Working Directory". This will change the current working directory to the one you selected, and any files you read or write will be saved in this directory. Remember to save your work before changing directories to avoid losing any unsaved changes.
I have a problem and it says "ERROR: dependencies 'rgl', 'terrainmeshr', 'rayimage', 'rayvertex', 'rayrender' are not available for package 'rayshader' * removing 'C:/Users/AppData/Local/R/win-library/4.3/rayshader'" how can i fix it?
This video is a must-watch for anyone starting with R, Rtools, and RStudio, especially before diving into any scripts. Many of us new to GIS and map-making with R often face challenges with version, path, installation, registry and environment issues. The simplest videos are often the most crucial. Thank you Milos for your awesome maps and data visualizations using R! I'm hoping to replicate some of your beautiful and stunning maps after a clean installation of R.
Thank you so much for your kind words, James! I'm thrilled to hear that you find my video helpful and inspiring for your work with GIS and map-making in R. It's always great to know that my content is assisting others in overcoming installation and setup challenges. If you ever have any questions or need further assistance while working on your maps, feel free to reach out.
Even your simplest video is magnificient. Awesome. Thanks for posting.
Thank you for your kind words and for following my content!
Sir you should make more tutorials on R use. you are doing great work. Amazing
Gracias por tanta dedicación y compartir tus conocimientos. Un Crack!
It's my pleasure!
Amazing video 👍
Thank you, glad you find it useful!
I have problem in installing rayshader version 0.35.7 , it gives me error message that "Error in download_version_url(package, version, repos, type) :
version '0.35.7' is invalid for package 'rayshader'" Please help me with this.
Hello, I re-run the code on my machine and it installs rayshader version 0.35.7
Are you also running this code?
remotes::install_version(
"rayshader",
version = "0.35.7",
repos = "cran.us.r-project.org"
)
I have a huge problem while installing it shows error '\u' used without hex digits in character string (:4:36) 😢
The error message suggests that there is an issue with a Unicode escape sequence in your R script or configuration file. This often occurs when a file path is not properly formatted in R.
In R, backslashes in file paths need to be escaped with another backslash. Alternatively, you can use forward slashes, which R interprets correctly on all platforms. Here's how you can correct the file path:
- Incorrect: "C:\User\Documents\file"
- Correct: "C:\\User\\Documents\\file" or "C:/User/Documents/file"
If you're setting a file path in an R script or a configuration file like `.Rprofile`, make sure to use the correct format. If you're using RStudio, you can also set the working directory through the GUI to avoid these issues.
If the issue persists, you may want to check your .Rprofile or any R scripts for incorrect file paths and correct them accordingly
@@milos-makes-maps how to set the working directory using GUI
@@balakumar-de4pb Setting up the working directory through the GUI in RStudio is a straightforward process. Here's how you can do it:
1. Open RStudio and go to the "Files" tab on the lower right-hand pane.
2. Click on the "..." (more) button to open the navigation box.
3. Navigate to the desired folder where you want to set as your working directory.
4. Once you've found the folder, click on ''Set as Working Directory".
This will change the current working directory to the one you selected, and any files you read or write will be saved in this directory. Remember to save your work before changing directories to avoid losing any unsaved changes.
Will look into it...
I have a problem and it says "ERROR: dependencies 'rgl', 'terrainmeshr', 'rayimage', 'rayvertex', 'rayrender' are not available for package 'rayshader'
* removing 'C:/Users/AppData/Local/R/win-library/4.3/rayshader'" how can i fix it?