I just upgraded my laptop from Fedora Core 20 to Fedora Core 22, and after the upgrade R can no longer use the ggplot2 library. The principal complaint seems to be that libicui18n.so.50 is not found. The version of libicu that is installed is version 54. On the other hand, the same environment exists on my desktop computer, also with version 54 of libicu and all works just fine. Any hints? Has anyone else seen this? Thanks, -- Jeff Trefftzs http://www.trefftzs.org
Hi Jeff, Your chances of getting a useful response will increase if you provide some additional information. For example, which version of R? Which version of ggplot2? What sequence of commands produces the error? What _exactly_ does the error message say? Does update.packages(ask=FALSE, checkBuilt=TRUE) install.packages("ggplot2") help? Best, Ista On Thu, Sep 3, 2015 at 3:03 PM, Jeff Trefftzs <jeff at trefftzs.org> wrote:> I just upgraded my laptop from Fedora Core 20 to Fedora Core 22, and > after the upgrade R can no longer use the ggplot2 library. The > principal complaint seems to be that libicui18n.so.50 is not found. The > version of libicu that is installed is version 54. On the other hand, > the same environment exists on my desktop computer, also with version > 54 of libicu and all works just fine. > Any hints? Has anyone else seen this? > > Thanks, > > -- > Jeff Trefftzs > http://www.trefftzs.org > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.
> On Sep 3, 2015, at 2:03 PM, Jeff Trefftzs <jeff at trefftzs.org> wrote: > > I just upgraded my laptop from Fedora Core 20 to Fedora Core 22, and > after the upgrade R can no longer use the ggplot2 library. The > principal complaint seems to be that libicui18n.so.50 is not found. The > version of libicu that is installed is version 54. On the other hand, > the same environment exists on my desktop computer, also with version > 54 of libicu and all works just fine. > Any hints? Has anyone else seen this? > > Thanks,Jeff, How did you install R (RPM or compiled source) and did you re-install after the F22 upgrade, or just upgrade from F20 to F22 in place? Since F20 EOL?d this summer, you would likely need to install current R RPMs built for F22, after the upgrade and/or rebuild R from source post the F22 upgrade. My guess is a version incompatibility issue, where you are running a version of R built for F20 on F22. Regards, Marc Schwartz
On Thu, 2015-09-03 at 16:47 -0400, Ista Zahn wrote:> Hi Jeff, > Your chances of getting a useful response will increase if you > provide > some additional information. For example, which version of R? Which > version of ggplot2?Sorry. R was version 3.2.1 ggplot2 1.0.1> What sequence of commands produces the error?install.packages("ggplot2") (or various equivalents while in R-Studio> What > _exactly_ does the error message say?I was working on my laptop, where I didn't have email enabled, so I was unable to cut & paste all the output. The last bit of the error messages boiled down to "unable to find libicui18n.so.50. No such file or directory" Does> update.packages(ask=FALSE, checkBuilt=TRUE) > install.packages("ggplot2")I hadn't tried that. Follow-up: On the laptop I downgraded to R-3.1.3 and things worked again. The various error messages I got were confusing. When I tried to install ggplot2 from the first US mirror the https server at Berkeley), it told me "gplot2 not available for R 3.2.1". When I tried one of the other servers (e.g., other Berkeley server, or the UCLA server) it would download, and come to grief with the libicu message. But downgrading to R 3.1.3 seems to have cured things. I'm still baffled, however, since I'm writing this on my desktop computer which has R version 3.2.1 and a successful install of ggplot2 -1.0.1 actually working. -- Jeff Trefftzs http://www.trefftzs.org
On Thu, 2015-09-03 at 16:47 -0400, Ista Zahn wrote:> Hi Jeff, > Your chances of getting a useful response will increase if you > provide > some additional information. For example, which version of R? Which > version of ggplot2? What sequence of commands produces the error? > What > _exactly_ does the error message say? > > Does > > update.packages(ask=FALSE, checkBuilt=TRUE) > install.packages("ggplot2") > > help?Thank you, Ista! This did, indeed, fix the problem. ggplot2 now works fine on both the laptop and the desktop computers. -- Jeff Trefftzs http://www.trefftzs.org