In my AWS Sagemaker account latticeExtra does not load. It has worked in the past.
How can this problem be fixed? Thanks, Naresh Sent from my iPhone Begin forwarded message: Lattice package is preinstalled. I installed latticeExtra. > .libPaths() [1] "/home/ec2-user/SageMaker/R-library" [2] "/home/ec2-user/anaconda3/envs/R/lib/R/library" > find.package("lattice") [1] "/home/ec2-user/anaconda3/envs/R/lib/R/library/lattice" > find.package("latticeExtra") [1] "/home/ec2-user/SageMaker/R-library/latticeExtra" > 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 > find.package("jpeg") [1] "/home/ec2-user/SageMaker/R-library/jpeg" > dir("/home/ec2-user/SageMaker/R-library/jpeg/libs/jpeg.so") character(0) > file.exists("/home/ec2-user/SageMaker/R-library/jpeg/libs/jpeg.so") [1] TRUE !> sessionInfo() R version 4.2.3 (2023-03-15) Platform: x86_64-conda-linux-gnu (64-bit) Running under: Amazon Linux 2 Matrix products: default BLAS/LAPACK: /home/ec2-user/anaconda3/envs/R/lib/libopenblasp-r0.3.23.so locale: [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C [3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 [5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 [7] LC_PAPER=en_US.UTF-8 LC_NAME=C [9] LC_ADDRESS=C LC_TELEPHONE=C [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] lattice_0.21-8 loaded via a namespace (and not attached): [1] compiler_4.2.3 tools_4.2.3 RColorBrewer_1.1-3 grid_4.2.3 [5] png_0.1-8 [[alternative HTML version deleted]] ______________________________________________ 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.