|
1 | 1 | # System requirements
|
2 | 2 |
|
3 |
| -## Linux (debian:10/ubuntu:20.04) |
| 3 | +The `rawrr` executable will run out of the box. |
4 | 4 |
|
5 |
| -In case you prefer to compile `rawrr.exe` from C# source code, please install |
6 |
| -the mono compiler and xbuild by installing the following Linux packages: |
| 5 | +I you want to build on your own follow the text below. |
7 | 6 |
|
8 |
| -```{sh} |
9 |
| -sudo apt-get install mono-mcs mono-xbuild |
10 |
| -``` |
| 7 | +## Compile and Link yourself |
11 | 8 |
|
12 |
| -Otherwise, to execute the precompiled code, the following Linux packages are |
13 |
| -sufficient: |
| 9 | +In case you prefer to compile `rawrr.exe` from C# source code, please install |
| 10 | +the .NET 8.0 |
14 | 11 |
|
15 |
| -```{sh} |
16 |
| -sudo apt-get install mono-runtime libmono-system-data4.0-cil -y |
17 |
| -``` |
| 12 | +### Linux (debian:10/ubuntu:20.04) (debian:12/ubuntu:24) |
18 | 13 |
|
19 |
| -## macOS (Catalina/BigSur) |
20 | 14 |
|
| 15 | +```{sh} |
| 16 | +## DEPRECIATED: sudo apt-get install mono-mcs mono-xbuild |
| 17 | +sudo apt-get install dotnet-sdk-8.0 |
21 | 18 | ```
|
22 |
| -brew install mono |
23 |
| -``` |
24 |
| - |
25 |
| -or install from |
26 | 19 |
|
27 |
| -https://www.mono-project.com/ |
| 20 | +### macOS (Catalina/BigSur/.../Sequoia) |
28 | 21 |
|
29 |
| -## Microsoft Windows |
| 22 | +https://dotnet.microsoft.com/en-us/download |
30 | 23 |
|
31 |
| -Running the `rawrr.exe` will run out of the box. |
| 24 | +### Microsoft Windows |
32 | 25 |
|
33 |
| -If the native C# compiler is not available install mono from: |
| 26 | +https://dotnet.microsoft.com/en-us/download |
34 | 27 |
|
35 |
| -https://www.mono-project.com/ |
| 28 | +## Install the .NET assemblies |
36 | 29 |
|
| 30 | +assemblies aka Common Intermediate Language bytecode |
37 | 31 |
|
38 |
| -# Install the .NET assemblies |
| 32 | +In general, ThermoFisher.CommonCore dlls can be obtained through: |
39 | 33 |
|
40 |
| -assemblies aka Common Intermediate Language bytecode |
| 34 | +https://github.com/thermofisherlsms/RawFileReader |
41 | 35 |
|
42 |
| -the following files are required in |
43 |
| -`r tools::R_user_dir("rawrr", which='cache')` |
44 |
| -or in the `MONO_PATH` |
| 36 | +or |
45 | 37 |
|
46 |
| -``` |
47 |
| -ThermoFisher.CommonCore.Data.dll |
48 |
| -ThermoFisher.CommonCore.MassPrecisionEstimator.dll |
49 |
| -ThermoFisher.CommonCore.RawFileReader.dll |
50 |
| -``` |
| 38 | +by contacting Jim Shofstahl using |
51 | 39 |
|
52 |
| -The download and install can be done on all platforms using the command: |
53 |
| -`r rawrr::installRawFileReaderDLLs()` |
| 40 | + |
54 | 41 |
|
55 |
| -The in the package included C# source code that can compile into a rawrr.exe |
56 |
| -file by calling `r rawrr:::buildRawrrExe()`. (is executed when the package |
57 |
| -is loaded) |
58 | 42 |
|
59 |
| -if no C# compile and build tool is available, run |
| 43 | +## build |
60 | 44 |
|
61 |
| -`r rawrr::installRawrrExe()` to download the rawrr.exe assembly. |
| 45 | +* source nuget pkgs |
62 | 46 |
|
63 |
| -On Windows, the decimal symbol has to be configured as a '.'! |
| 47 | +* add libraries |
64 | 48 |
|
65 |
| -In general, ThermoFisher.CommonCore dlls can be obtained through: |
| 49 | +* (cross)-dcompile and link |
66 | 50 |
|
67 |
| -https://github.com/thermofisherlsms/RawFileReader |
| 51 | +``` |
| 52 | +dotnet publish rawrr-dotnet.csproj --os osx -a x64 --output /Users/cp/Library/Caches/org.R-project.R/R/rawrr/rawrrassembly/osx-x64 |
| 53 | +dotnet publish rawrr-dotnet.csproj --os win -a x64 --output /Users/cp/Library/Caches/org.R-project.R/R/rawrr/rawrrassembly/win-x64 |
| 54 | +dotnet publish rawrr-dotnet.csproj --os linux -a x64 --output /Users/cp/Library/Caches/org.R-project.R/R/rawrr/rawrrassembly/linux-x64 |
68 | 55 |
|
69 |
| -or |
70 | 56 |
|
71 |
| -by contacting Jim Shofstahl using |
| 57 | +## generates a ~110MB BLOB |
| 58 | +dotnet publish -c Release -r linux-x64 -p PublishReadyToRun=true |
| 59 | +dotnet publish -c Release -r win-x64 -p PublishReadyToRun=true |
| 60 | +``` |
72 | 61 |
|
73 |
| - |
74 | 62 |
|
| 63 | +## Docker |
75 | 64 |
|
76 | 65 | The `Dockerfile` performing `R CMD build` and `R CMD check` requires
|
77 | 66 |
|
78 | 67 | ```
|
79 | 68 | from bioconductor/bioconductor_docker:devel
|
80 | 69 | run apt-get update && apt-get install mono-mcs mono-xbuild -y
|
81 |
| -run apt-get install texlive-base texlive-latex-extra texinfo texlive-fonts-extra -y |
| 70 | +run apt-get install dotnet-sdk-8.0 |
82 | 71 | run R -q -e "BiocManager::install(c('BiocStyle', 'ExperimentHub', 'knitr', 'protViz', 'rmarkdown', 'tartare', 'testthat'))"
|
83 | 72 | ```
|
| 73 | + |
0 commit comments