Step 1: Install Python 3.11 using reticulate
Use the following command in R to install Python version 3.11 using the reticulate package:
reticulate::install_python(version = '3.11')
Step 2: Run the install_pharmy command
After installing Python 3.11, execute the following command to complete the pharmr installation:
pharmr::install_pharmy()
Step 3: Verify the Installation
To confirm that the package was installed successfully, run:
library(pharmr)
If successful, you should see the expected output, indicating that the pharmr package is loaded without errors.
Comments
0 comments
Please sign in to leave a comment.