回答編集履歴

5

リンクの修正

2022/05/30 13:00

投稿

n2022
n2022

スコア39

test CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  <1> Macのチップが変わっており、R, miniconda、OS12用に(というか、Apple M1チップ用に)、再install。古いフォルダは再インストール前に削除。# これで、(4)[iii] brew doctorのエラーメッセージは軽減。
4
4
  miniconda, R の再install元は、下記の通りです。
5
- > https://docs.conda.io/en/latest/miniconda.html より、Python3.9の右にある、Miniconda3 macOS 64-bit bash
5
+ > https://docs.conda.io/en/latest/miniconda.html より、Python3.9の右にある、Miniconda3 macOS 64-bit bash
6
6
 
7
7
  > https://cran.r-project.org/bin/macosx/ より、R-4.2.0-arm64.pkg
8
8
  最終的な解決にどの程度寄与するのか分かりませんが、この後、```% brew install xxx``` で、samtoolsとbowtie2はinstallしておきました。)

4

語句修正

2022/05/30 12:57

投稿

n2022
n2022

スコア39

test CHANGED
@@ -1,4 +1,4 @@
1
- すべてのエラーが消えた訳ではありませんが、installまは行けした。以下、有効と思われた3点を記載します。
1
+ すべてのエラーが消えた訳ではありませんが、自己解決きたように思い。以下、有効と思われた3点を記載します。
2
2
 
3
3
  <1> Macのチップが変わっており、R, miniconda、OS12用に(というか、Apple M1チップ用に)、再install。古いフォルダは再インストール前に削除。# これで、(4)[iii] brew doctorのエラーメッセージは軽減。
4
4
  miniconda, R の再install元は、下記の通りです。

3

語句の修正

2022/05/30 12:53

投稿

n2022
n2022

スコア39

test CHANGED
@@ -20,7 +20,7 @@
20
20
  > BiocManager::install("methylKit", type = "source")
21
21
  ```
22
22
   
23
-  #(4)[i]が残りましたが、
23
+  #(4)[i] fatal error が残りましたが、
24
24
  > /opt/R/arm64/include/lzma.h:293:10: fatal error: 'lzma/version.h' file not found
25
25
  のような形で、どこに何が足りないのか、理解可能になりました。
26
26
 
@@ -30,4 +30,4 @@
30
30
  ```
31
31
  にて、1.22.0の表示。installできたと思われます。
32
32
 
33
- 自己解決できたと思いますが、お気づきの点などありましたら、ご指摘いただきたく思います。
33
+ 今回は自己解決できたと思いますが、お気づきの点などありましたら、ご指摘いただきたく思います。

2

誤タイプの修正

2022/05/30 12:51

投稿

n2022
n2022

スコア39

test CHANGED
@@ -5,7 +5,7 @@
5
5
  > https://docs.conda.io/en/latest/miniconda.html より、Python3.9の右にある、Miniconda3 macOS 64-bit bash
6
6
 
7
7
  > https://cran.r-project.org/bin/macosx/ より、R-4.2.0-arm64.pkg
8
- 最終的な解決にどの程度寄与するのか分かりませんが、この後、> 引用テキスト```% brew install xxx``` で、samtoolsとbowtie2はinstallしておきました。)
8
+ 最終的な解決にどの程度寄与するのか分かりませんが、この後、```% brew install xxx``` で、samtoolsとbowtie2はinstallしておきました。)
9
9
 
10
10
  <2> 上記 https://cran.r-project.org/bin/macosx/ の下記情報を参照
11
11
 

1

自己解決できたと思われる方法を詳しく書きました。

2022/05/30 12:50

投稿

n2022
n2022

スコア39

test CHANGED
@@ -1 +1,33 @@
1
- 閲覧しくださっ方、ありがとうございました。自己解決できようです。後ほど整理て再投稿します。
1
+ すべのエラーが消え訳ではありません、installでは行けました。以下、有効と思われ3点を記載します。
2
+
3
+ <1> Macのチップが変わっており、R, miniconda、OS12用に(というか、Apple M1チップ用に)、再install。古いフォルダは再インストール前に削除。# これで、(4)[iii] brew doctorのエラーメッセージは軽減。
4
+ miniconda, R の再install元は、下記の通りです。
5
+ > https://docs.conda.io/en/latest/miniconda.html より、Python3.9の右にある、Miniconda3 macOS 64-bit bash
6
+
7
+ > https://cran.r-project.org/bin/macosx/ より、R-4.2.0-arm64.pkg
8
+ 最終的な解決にどの程度寄与するのか分かりませんが、この後、> 引用テキスト```% brew install xxx``` で、samtoolsとbowtie2はinstallしておきました。)
9
+
10
+ <2> 上記 https://cran.r-project.org/bin/macosx/ の下記情報を参照
11
+
12
+ ```
13
+ This release uses Xcode 13.1 and experimental GNU Fortran 12 arm64 fork. If you wish to compile R packages which contain Fortran code, you may need to download GNU Fortran for arm64 from https://mac.R-project.org/tools. Any external libraries and tools are expected to live in /opt/R/arm64 to not conflict with Intel-based software and this build will not use /usr/local to avoid such conflicts (see the tools page for more details).
14
+ ```
15
+ Xcode 13.4を、applestoreより入手。(かなり時間がかかる)入手後開く必要あり。
16
+ GNU Fortran for arm64を、上記サイトより入手し、そのサイトに記載されている要領により、展開。
17
+
18
+ 下記コードにて、インストール中の警告メッセージはやや減り、(3)のメッセージは出なくなりました。
19
+ ```R
20
+ > BiocManager::install("methylKit", type = "source")
21
+ ```
22
+  
23
+  #(4)[i]が残りましたが、
24
+ > /opt/R/arm64/include/lzma.h:293:10: fatal error: 'lzma/version.h' file not found
25
+ のような形で、どこに何が足りないのか、理解可能になりました。
26
+
27
+ <3> miniconda3の中に存在するlzma.hファイルと、lzmaフォルダを、/opt/R/arm64/include/の中へコピペ。ファイルだけではなく、フォルダもコピペする必要がありました。 # いくつか警告メッセージは残るものの、
28
+ ```R
29
+ packageVersion("methylKit")
30
+ ```
31
+ にて、1.22.0の表示。installできたと思われます。
32
+
33
+ 自己解決できたと思いますが、お気づきの点などありましたら、ご指摘いただきたく思います。