Install VectorForgeML

Get VectorForgeML up and running in your R environment. The framework is hosted on GitHub and installs in minutes.

Step 1: Prerequisites

Ensure you have R (≥ 4.0.0) and a C++ compiler installed on your system.

  • Windows: Install RTools
  • macOS: Install Xcode Command Line Tools (xcode-select --install)
  • Linux: Install build-essential and r-base-dev

Step 2: Install from GitHub

VectorForgeML is installed directly from GitHub using the remotes package.

install.packages("remotes", repos="https://cloud.r-project.org")
remotes::install_github("mohd-musheer/VectorForgeML")

Step 3: Verify Installation

library(VectorForgeML)
# Check available functions
ls("package:VectorForgeML")

You should see 30+ functions listed. Ready to go! Check out the documentation for quick start guides.

Troubleshooting

Compiler Errors on Windows

If you encounter compilation errors on Windows, ensure RTools is installed and added to your PATH. Verify with Sys.which("make") in R.

macOS Compilation Issues

On macOS, ensure Xcode Command Line Tools are installed: xcode-select --install. For M1/M2 Macs, ensure you have the ARM-compatible R version.

Next Steps