Entering edit mode
4.4 years ago
mohammedtoufiq91
▴
260
Hi,
I recently installed R version to R-4.0.0, after launching R Studio and running a script I am unable to find the libraries that were installed in the previous version of R-3.5. Please let me know if its possible to locate and set these libraries whenever R is launched or do I have again re-install all the libraries.
I tried using .libPaths("your/path")
, however I have to set this everytime I work with R.
Kindly assist me with this.
Thank you,
Toufiq
Are you using system libraries or personal libraries? Check if new version is pushing libraries to a new location. Even if you locate previous R version libraries, you may have to recompile most, if not all, of them, for version 4.
@cpad0112, thank you for your message.
Please find the new and old paths as given below.
Version 4.0.0
Version 3.5
You are at a new version of R, agreeing with cpad0112, you will need to recompile everything, otherwise you may (or definitely) will run into compatibility issues sooner or later.
Recently I had similar issue, then I had to recompile everything. I just took the list of packages from the existing library. Here you can use your own library path
and compile everything as suggested by ATPoint
Thank you very much @Prakash.