Learn R Programming

MplusAutomation (version 1.1.1)

mplusAvailable: Check whether Mplus can be found

Description

This is a simple utility to check whether Mplus can be found. Returns 0 if Mplus command can be found by the system. If silent = FALSE, prints a message to the user to help suggest what to do.

Usage

mplusAvailable(silent = TRUE)

Value

The status of finding Mplus. Per unix conventions, status 0 indicates Mplus was found (0 problems) and status 1 indicates that Mplus was not found.

Arguments

silent

A logical whether to print a message or not. Defaults to TRUE for silent operation.

Author

Joshua Wiley

Examples

Run this code

mplusAvailable(silent = TRUE)
mplusAvailable(silent = FALSE)

Run the code above in your browser using DataLab