-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathBuildBackend_Tutorial.R
More file actions
25 lines (19 loc) · 883 Bytes
/
BuildBackend_Tutorial.R
File metadata and controls
25 lines (19 loc) · 883 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/env Rscript
{
# clear workspace
rm(list = ls()); options(error = NULL)
# remote install latest version of the package
# devtools::install_github(repo = "cjerzak/causalimages-software/causalimages")
# local install for development team
# install.packages("~/Documents/causalimages-software/causalimages",repos = NULL, type = "source",force = F)
# in general, you will simply use:
causalimages::BuildBackend()
# Note: This function requires an Internet connection
# Note: With default arguments, a conda environment called
# "CausalImagesEnv" will be created with required packages saved within.
# Advanced tip:
# if you need to points to the location of a specific version of python
# in conda where packages will be downloaded,
# you can use:
#causalimages::BuildBackend(conda = "/Users/cjerzak/miniforge3/bin/python")
}