TimeGPT in R
Using TimeGPT for time series forecasting in the R programming language
Logo for nixtlar
TimeGPT is available in R through the nixtlar package, which is hosted on CRAN. This package mirrors much of the functionality provided by the Python version, and new features are continually being added. Originally developed for Python, TimeGPT is now brought to the R community by nixtlar, offering access to the first foundation model for time series forecasting. The core philosophy remains the same: the future is for everybody.
Key Points
Package Name
nixtlar
Language
R
Repository
CRAN
Where to find the docs?
For detailed instructions on using nixtlar, refer to the official
documentation.
CRAN link
Access the nixtlar package page directly on CRAN via
this link.
Getting Started
The steps below outline the basic process of installing and setting up nixtlar to work with TimeGPT.
Install nixtlar
From your R console or RStudio, run:
Load nixtlar
Load the package:
Obtain API Key
You need an API key to use TimeGPT through nixtlar. Request your key from the Nixtla Dashboard.
Set Your API Key
After obtaining your API key, you can set it in your R environment as follows:
API Key Required
You must set your API key before using nixtlar and TimeGPT.
Usage Overview
Once your API key is configured, you can call the various functions provided by nixtlar to forecast time series data. The syntax is designed to mirror the Python version, making it straightforward for anyone familiar with TimeGPT in Python.
Support
If you have any questions or need assistance, please email support@nixtla.io. We’re here to help!