Skip to content

Make all tutorials multi-language by adding R code examples #11420

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

Keerthi421
Copy link

PR :Make all tutorials multi-language by adding R code examples
Description :
This PR addresses issue #11413 by adding R language examples alongside the existing Python examples in XGBoost tutorials. This makes the documentation more accessible to users who prefer working in R rather than Python.
Implementation
Added language tabs using the sphinx-panels extension
Created equivalent R code examples matching the functionality of existing Python examples
Ensured consistent code style between Python and R implementations
Tested all R code examples to verify functionality
The implementation follows the plan outlined in PLAN.md, providing a systematic approach to convert all tutorials to support multiple languages.

Example
Before this PR, tutorials only provided Python examples. After this PR, users can switch between Python and R examples using the tabbed interface.
Related Issues
Fixes #11413

@trivialfis
Copy link
Member

While the issue is a good place to use LLM, but at least one should verify the intent of the issue before submitting a PR.

@trivialfis trivialfis closed this Apr 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make all tutorials multi-language
2 participants