This is an utility function to help detect the correct name/path to Mplus. It tries hard across operating systems to find Mplus and if it cannot find the full version of Mplus to find a demo version of Mplus.
detectMplus()
A character string that is the Mplus command possibly the path to the mplus command or an error if it cannot be found.
It does not require any arguments.
Joshua F. Wiley <jwiley.psych@gmail.com>
## if you have Mplus installed, uncomment and run ## this will give an error if it cannot find Mplus. ## detectMplus()