tidyLPA icon indicating copy to clipboard operation
tidyLPA copied to clipboard

message that MPlus is not installed in error

Open jrosen48 opened this issue 4 years ago • 1 comments

I have MPlus installed, and can use it, but get a message that MPlus is not installed. I have seen this before but haven't followed up. I wonder if it's a Mac (what I'm using) vs. Windows (what you use @cjvanlissa) thing?

library(tidyLPA)
#> You can use the function citation('tidyLPA') to create a citation for the use of {tidyLPA}.
#> Mplus is not installed. Use only package = 'mclust' when calling estimate_profiles().
library(dplyr)
#> Warning: package 'dplyr' was built under R version 3.6.2
#> 
#> Attaching package: 'dplyr'
#> The following objects are masked from 'package:stats':
#> 
#>     filter, lag
#> The following objects are masked from 'package:base':
#> 
#>     intersect, setdiff, setequal, union

pisaUSA15 %>%
  select(broad_interest, enjoyment, self_efficacy) %>%
  single_imputation() %>%
  estimate_profiles(3, package = "mplus")
#> tidyLPA analysis using mplus: 
#> 
#>  Model Classes AIC      BIC      Entropy prob_min prob_max n_min n_max BLRT_p
#>  1     3       34798.49 34891.59 0.77    0.80     0.94     0.16  0.67  0.00

Created on 2020-12-29 by the reprex package (v0.3.0)

jrosen48 avatar Dec 29 '20 14:12 jrosen48

Can you check what you get from MplusAutomation::mplusAvailable()? It's likely a problem with MplusAutomation.

I use Windows, btw!

cjvanlissa avatar Dec 29 '20 15:12 cjvanlissa