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

David Winsemius dwinsemius at comcast.net
Sun Jan 28 18:11:40 CET 2018

> On Jan 28, 2018, at 4:50 AM, Michael Lane <Michael.Lane at usq.edu.au> wrote:
> 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

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.)


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.


> 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}}
> ______________________________________________
> 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.

David Winsemius
Alameda, CA, USA

'Any technology distinguishable from magic is insufficiently advanced.'   -Gehm's Corollary to Clarke's Third Law

More information about the R-help mailing list