open-discussion > MRIcroGL with R
Showing 1-2 of 2 posts
Display:
Results per page:
May 27, 2017  11:05 AM | SUDHAKAR MISHRA - Indian Institute of Information Technology Allahabad
MRIcroGL with R
Is it possible to use MRIcroGL with R.
May 31, 2017  05:05 PM | Chris Rorden
RE: MRIcroGL with R
MRIcroGL is a standalone executable, so you can not wrap it R. However, it does have a scripting language that you can use to launch it, open images, save bitmaps and even quit. This allows you to control it with any programming language that allows you to execute an external program - I provide samples for shell scripts, Matlab and Python. A web search for "R execute external program" will show you how to do this.
 https://www.nitrc.org/plugins/mwiki/index.php/mricrogl:MainPage#Scripting_from_the_command_line_and_other_programs