Summary:
Set Up
Note: If conda command is still unavailable in the terminal, please open Anaconda Navigator app (installed in the previous step) and open the terminal as following:
Run Test Code:
Use .npy data in R
# R code, please download reticulate R package first
library(reticulate)
np <- import("numpy")
array = np$load('test/utils/qvar1.npy') # specify where .npy is
Note We are actively updating the code. For example, currently the naming convention is messy. In the next step, we want to follow PeP-8 style to improve the readability and consistency of our Python code.