Reinstall of jpeg followed by reinstall of latticeExtra solved this problem.
Thanks Sent from my iPhone > On Sep 8, 2023, at 6:34 PM, Ivan Krylov <krylov.r...@gmail.com> wrote: > > 8 сентября 2023 г. 22:25:10 UTC, Naresh Gurbuxani > <naresh_gurbux...@hotmail.com> пишет: >>> library(latticeExtra) >> Error: package or namespace load failed for ‘latticeExtra’ in dyn.load(file, >> DLLpath = DLLpath, ...): >> unable to load shared object >> '/home/ec2-user/SageMaker/R-library/jpeg/libs/jpeg.so': >> libjpeg.so.8: cannot open shared object file: No such file or directory > >> !> sessionInfo() >> R version 4.2.3 (2023-03-15) >> Platform: x86_64-conda-linux-gnu (64-bit) >> Running under: Amazon Linux 2 > Sounds like an LD_LIBRARY_PATH problem. How did you install the jpeg package? > Try reinstalling it. > -- > Best regards, > Ivan ______________________________________________ R-help@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.