2015-08-13から1日間の記事一覧
この記事の「なんちゃってRパッケージ」はこちら Here is the github containing files and directories handled in this note. 次のようなMCMCpackパッケージのridichlet()関数を使った関数をパッケージ内に使いたいとする You may want to use some R pack…
ヘルプファイルは、各関数を1関数-1Rファイルとしたうえで、特定の書式に従って書くことによって充実させられる Now you may want to or have to make help files appropriate for semi or full-official package style. Write each R file for each R fun…
この記事の「なんちゃってRパッケージ」はこちら Here is the github containing files and directories handled in this note. Rcppのよさは、Rcppファイルを作ると、Cpp関数をRから呼び出す関数(ラッパー関数)を書く必要がないこと Rxpp is a package to u…
この記事の「なんちゃってRパッケージ」はこちら Here is the github containing files and directories handled in this note. Fortran関数を組み込んでみる Let's try fortran functions. 基本は同じで、use_rcpp()関数を使ってsrcフォルダを作り、そこにf…
この記事の「なんちゃってRパッケージ」はこちら Here is the github containing files and directories handled in this note. Cの関数を取り込むには、C関数をダイナミック・リンク・ライブラリにしつつ、それを呼び出す、という仕組みにする必要がある Le…
この記事の「なんちゃってRパッケージ」はこちら Here is the github containing files and directories handled in this note. ヘルプを開いてもどんな関数があるのかもわからないのでは困るので、少しの手間をとることにする No help article is very inco…
この記事の「なんちゃってRパッケージ」はこちら Here is the github containing files and directories handled in this note. githubアカウントでの作業 Tasks in your github account Githubアカウント(アカウント名がryamada22とする)で新しいrepository…
この記事はとても良いです(Japanese only) Rパッケージの良さはインストールが簡単でヘルプ記事が必ずついていること One of R's strong points is that installing packages is easy and every package has its help article. その良さはパッケージ作成の側…