Hi Kenneth,

Thanks. The R views doesn’t install like packages/libraries, but instead (1) 
installs the “ctv” package/library, and then uses its “install.views()” and 
“update.views()” commands to install views.

Following your links, I see:

easyblock = 'RPackage'

So I find the rpackage.py routine in the easybuild install:

/opt/eb/software/EasyBuild/1.11.0/lib/python2.7/site-packages/easybuild_easyblocks-1.11.0-py2.7.egg/easybuild/easyblocks/generic/rpackage.py

So I assume that should be adapted to use “install.views” instead of 
“install.packages”. And the easyconfig would need a dependency on the “ctv” R 
package.

Thanks,

Todd

From: Kenneth Hoste <[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
List-Post: [email protected]
Date: Saturday, February 22, 2014 at 8:49 AM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: Re: [easybuild] R Task Views

Hi Todd,

On 19/02/14 21:32, Heywood, Todd wrote:
Has anybody installed R Task Views with easybuild? Or do I need to learn 
easyblocks to define a new install procedure?

http://cran.r-project.org/web/views/

I'm not aware of anyone who has looked into installing R Task Views with
EasyBuild.

But, it doesn't mean you'll need an easyblock though...

EasyBuild has support for installing R libraries as a stand-alone
module, see for example
https://github.com/hpcugent/easybuild-easyconfigs/blob/master/easybuild/easyconfigs/f/fmri/fmri-1.4-8-ictce-4.0.10-R-2.15.2.eb
and
https://github.com/hpcugent/easybuild-easyconfigs/blob/master/easybuild/easyconfigs/a/AnalyzeFMRI/AnalyzeFMRI-1.1-15-ictce-4.0.10-R-2.15.2.eb
.

We're going to look into a good getting started guide for writing
easyblocks, since several people in the community are at that exact point...

More on that later hopefully...


regards,

Kenneth

Reply via email to