Skip to content

Commit

Permalink
added
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas HOMBERG committed Nov 8, 2024
1 parent 4cde874 commit 40492d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion phase-0-smoothie/bundle/FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ A conda evnironnement is provided follow this steps to install and activate it:
- and run: `conda env create -f environment-r.yml && conda activate h3`


To run the docker interactively you can run either R with :
To run the docker interactively you can run with :
- `sudo docker run -it -v .:/hadaca3 -w /hadaca3 hombergn/hadaca3_pyr R` and then `source("submission_script.R")` for the R version
- `sudo docker run -it -v .:/hadaca3 -w /hadaca3 hombergn/hadaca3_pyr python` and then `import submission_script` for the python version.

Due to the usage of the super user (sudo) all files created by docker will be owned by root. In order to retrieve owner ship you can use this command : `sudo chown -R $USER submissions`.

Beware that Mac users with M1 processors might encounter problems.

Expand Down
1 change: 1 addition & 0 deletions phase-0-smoothie/bundle/submission.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ If this page does not answer your questions try the FAQ page :)
```
docker pull hombergn/hadaca3_pyr
docker run -it -v .:/hadaca3 -w /hadaca3 hombergn/hadaca3_pyr R
chown -R $USER submissions #if necessary
```

## How to generate a prediction of the data (R)?
Expand Down

0 comments on commit 40492d9

Please sign in to comment.