We were unable to load Disqus. If you are a moderator please see our troubleshooting guide.

WilliamKnowles • 2 years ago

Hello Andres, first of all thanks for taking the time to post info about this technology Thanks to you many people have better image about R system, secondly, I am also writing because I have an issue that after googling for some hours I can fix it, https://uploads.disquscdn.c.... Finally, As you can see in the image, It is not possible to install the package "dslabs" or any other. I am going to apply what you say in this post and see whether it works or not. However, I would really appreciate on behalf on the vast community who is starting using R tech, you to post an easy-to-apply solution. Thanks.

Andrés Castro Socolich • 2 years ago

I think your problem is not the location of your R library but the lack of the RTools software to compile an R package that doesn't have a precompiled binary at the moment.

I think you simply need to install a matching version of RTools in your system (just in case, RTools is not an R package, it is an independent software). I can download it from here

https://cran.r-project.org/...

BTW, whereas I'm happy to help you, this is a personal blog, not a helping site. In the future, you would have better luck by asking this on a helping site like https://community.rstudio.com/
Or https://stackoverflow.com

WilliamKnowles • 2 years ago

I do appreciate your humbleness, and fortunately I fixed the issue, first as you said I installed Rtools, then I left the Rprofile.site file as it originally was, then I set up my own library path folder by executing the following command on the R console:

> .libPaths("C:/Users/Willian Ludena/Desktop/RLibraries")

And finally, I proceeded with the package installation process.

> install.packages("tidyverse", lib = "C:/Users/YourUserName/Desktop/RLibraries", dependencies = TRUE)

Additionally I used the parameter "dependencies" and set it as TRUE, this in case I could need any extra related package.
I hope this contribute a little bit with the info showed on your post.
Keep in mind that everytime that I want to install a package I have to set the parameter "lib = C:/desired library path", I reckon that it shuld not be like that but as long as it works for me it is ok....It's about dam time...

shekhar sharan • 4 years ago

I am having this error :

Error: package or namespace load failed for ‘devtools’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
object 'pkgInfo' not found
In addition: Warning message:
In loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
package ‘ellipsis’ has no 'package.rds' in Meta/

.libPaths()
[1] "C:/Users/shekh/OneDrive - iitgn.ac.in/Documents/R/win..."
[2] "C:/Program Files/R/R-4.1.2/library"

please help me solve it

Andrés Castro Socolich • 4 years ago

It seems you need to reinstall the ellipsis package and you should change your default package library to a non-synced folder. Your question is not actually related to this blog post so if you need further help please try on a help site like https://community.rstudio.com/