# Is anyone aware of efforts to reimplement R base functions or numpy in Julia for learning?

**URL:** <https://discourse.julialang.org/t/is-anyone-aware-of-efforts-to-reimplement-r-base-functions-or-numpy-in-julia-for-learning/120920>\
**Category:** Community\
**Created:** [October 4, 2024, 2:40pm UTC](https://discourse.julialang.org/t/is-anyone-aware-of-efforts-to-reimplement-r-base-functions-or-numpy-in-julia-for-learning/120920 "2024-10-04T14:40:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![xiaodai](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xiaodai/32/15937_2.png) [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Post date:** [October 4, 2024, 2:40pm UTC](https://discourse.julialang.org/t/is-anyone-aware-of-efforts-to-reimplement-r-base-functions-or-numpy-in-julia-for-learning/120920/1 "2024-10-04T14:40:21Z")

</div>

I think I saw a table mapping R functions to Julia once. But I was thinking if it’s possible to implement base r functions in Julia to replicate the arg names etc and replicate the functionality. Both as a learning opp for learning r base and python.

---

<div class="post-metadata">

**Author:** ![palday](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/palday/32/12640_2.png) [@palday](https://discourse.julialang.org/u/palday)\
**Post date:** [October 4, 2024, 5:29pm UTC](https://discourse.julialang.org/t/is-anyone-aware-of-efforts-to-reimplement-r-base-functions-or-numpy-in-julia-for-learning/120920/2 "2024-10-04T17:29:26Z")

</div>

Which functions are you thinking of ? A lot of “base” R is actually from the `stats` package, which is loaded by default in R. The Statistics stdlib and StatsBase package provide much of the same functionality in Julia.

---

<div class="post-metadata">

**Author:** ![xiaodai](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xiaodai/32/15937_2.png) [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Post date:** [October 4, 2024, 10:15pm UTC](https://discourse.julialang.org/t/is-anyone-aware-of-efforts-to-reimplement-r-base-functions-or-numpy-in-julia-for-learning/120920/3 "2024-10-04T22:15:10Z")

</div>

Yeah but the functions are different names.

---

<div class="post-metadata">

**Author:** ![alfaromartino](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/alfaromartino/32/52986_2.png) [@alfaromartino](https://discourse.julialang.org/u/alfaromartino)\
**Post date:** [October 4, 2024, 10:29pm UTC](https://discourse.julialang.org/t/is-anyone-aware-of-efforts-to-reimplement-r-base-functions-or-numpy-in-julia-for-learning/120920/4 "2024-10-04T22:29:47Z")

</div>

The ones that I know:

[Here](https://cheatsheets.quantecon.org/) for a comparison of Julia, Matlab and Python.  
[Here](https://dataframes.juliadata.org/stable/man/comparisons/) for a comparison of DataFrames relative to Python and R.

---

<div class="post-metadata">

**Author:** ![xiaodai](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xiaodai/32/15937_2.png) [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Post date:** [October 5, 2024, 12:22am UTC](https://discourse.julialang.org/t/is-anyone-aware-of-efforts-to-reimplement-r-base-functions-or-numpy-in-julia-for-learning/120920/5 "2024-10-05T00:22:43Z")

</div>

Yeah. I remember. I also remember another one that was more R focused.

---

<div class="post-metadata">

**Author:** ![xiaodai](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xiaodai/32/15937_2.png) [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Post date:** [October 5, 2024, 7:15am UTC](https://discourse.julialang.org/t/is-anyone-aware-of-efforts-to-reimplement-r-base-functions-or-numpy-in-julia-for-learning/120920/6 "2024-10-05T07:15:20Z")

</div>

I started a toy project called NumpyClone for implementing numpy API julia down to exact argument name
