Learn R Programming

MplusAutomation (version 1.0.0)

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.

Details

It does not require any arguments.

Examples

Run this code
# NOT RUN {
## 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