Learn R Programming

MplusAutomation (version 1.1.1)

detectMplus: Detect the location/name of the Mplus command

Description

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.

Usage

detectMplus()

Arguments

Value

A character string that is the Mplus command possibly the path to the mplus command or an error if it cannot be found.

Author

Joshua F. Wiley <jwiley.psych@gmail.com>

Details

It does not require any arguments.

Examples

Run this code

## if you have Mplus installed, uncomment and run
## this will give an error if it cannot find Mplus.
## detectMplus()

Run the code above in your browser using DataLab