Re: [R] Unusual Error Loading tidyverse

2021-10-07 Thread Conklin, Mike (GfK) via R-help
c: R Help Mailing List Subject: Re: [R] Unusual Error Loading tidyverse Nice fortune. In retrospect, maybe it would have worked to re-build the user library. Things were acting so strangely to me I opted for the direct, if more dangerous approach. :-) > On Oct 7, 2021, at 11:37 A

Re: [R] Unusual Error Loading tidyverse

2021-10-07 Thread Kevin Thorpe
Nice fortune. In retrospect, maybe it would have worked to re-build the user library. Things were acting so strangely to me I opted for the direct, if more dangerous approach. :-) > On Oct 7, 2021, at 11:37 AM, Jeff Newmiller wrote: > > Sad, more like. > > fortunes::fortune(337) > > You

Re: [R] Unusual Error Loading tidyverse

2021-10-07 Thread Jeff Newmiller
Sad, more like. fortunes::fortune(337) You would have done just as well to delete the user library and let R prompt you to re-create it if things were that bad. Note that the default R configuration always looks first in the user library and only falls back to the system library if the

Re: [R] Unusual Error Loading tidyverse

2021-10-07 Thread Kevin Thorpe
I thought I would close the loop on this. It was really weird and I don’t understand everything that went on. First, it was indeed the case that the main library was not writeable so packages were being installed in a user library. Here is where it gets confusing to me. Both library paths did

Re: [R] Unusual Error Loading tidyverse

2021-09-24 Thread Kevin Thorpe
Ah. Thanks Duncan. That makes sense based on some other messages I caught a glimpse of as we tried some things. I will investigate down this line. > On Sep 24, 2021, at 3:26 PM, Duncan Murdoch wrote: > > It is worth checking that the library where things were most recently > installed is the

Re: [R] Unusual Error Loading tidyverse

2021-09-24 Thread Duncan Murdoch
It is worth checking that the library where things were most recently installed is the first place R looks, i.e. the first entry in .libPaths(). Often R is installed by an administrator, and users can't write to the main library, so when they install packages they go somewhere else. If

Re: [R] Unusual Error Loading tidyverse

2021-09-24 Thread Kevin Thorpe
I did try installing xml2 and it appeared to complete. I will ask him to try again and send me the output. > On Sep 24, 2021, at 1:58 PM, Jeff Newmiller wrote: > > Seems like they should install the xml2 package before proceeding to load > whatever (tidyverse). > > This kind of "dependency

Re: [R] Unusual Error Loading tidyverse

2021-09-24 Thread Jeff Newmiller
Seems like they should install the xml2 package before proceeding to load whatever (tidyverse). This kind of "dependency missing" problem tends to be a recurring problem particularly on Windows but in general when some deeply-embedded dependency fails to load or is removed in preparation for

[R] Unusual Error Loading tidyverse

2021-09-24 Thread Kevin Thorpe
Below is some output from one of my students. I have never seen this error and tried a few things (updating packages for one) but am at a loss to help further. Would appreciate suggestions that I can pass along. Here is the error. I tried an install.packages(“xml2”) which appeared to complete