Skip to content

semPLS package will not load seems to be failing on loading package lattice

2 messages · Michael Lane, David Winsemius

#
Hi R Help Team

I recently updated my R installation to R 3.4.3 and updated to later version of R Studio and I found that the package semPLS will not load even though installed and it seems to be failing on loading package lattice

Getting the following error message:

library(semPLS)
Loading required package: lattice
Error: package or namespace load failed for 'lattice':
.onLoad failed in loadNamespace() for 'grid', details:
  call: fun(libname, pkgname)
  error: object 'C_initGrid' not found
Error: package 'lattice' could not be loaded

Any advice or help on this bug would be much appreciated

Best regards Michael

Dr Michael Lane USQ Profile<http://staffprofile.usq.edu.au/Profile/Michael-Lane>
PhD Information Systems, USQ
Email: Michael.Lane at usq.edu.au<mailto:Michael.Lane at usq.edu.au>
Ph 07 4631 1268
Mobile 0407 316 391
Academic Coordinator School of Management and Enterprise
Member of Editoral Board Australasian Journal of Information Systems<http://journal.acs.org.au/index.php/ajis>
Member of Editoral Board Journal of Information Systems Education<http://jise.org/>



_____________________________________________________________
This email (including any attached files) is confidentia...{{dropped:18}}
#
Although it is the attempt to load lattice that triggers the fault, the difficulty actually reported was with loading the 'grid' Namespace. The grid package is one of the core R packages, so I have two suggestions:

First try to load grid as a package. (Although it's a core R package, it is not automatically loaded when R starts.)

library(grid)

If that fails then you clearly have a broken installation of R, and would need to reinstall. If it doesn't fail, then the error message would seem to be a puzzle, and you should re-read the Posting Guide and follow the instructions on reported unexpected behavior which you have so far only followed very incompletely.