The next release of Bio7 adds a lot of new R features and improvements. One minor change is that the default perspective after the startup of Bio7 now is the R perspective to emphazise the importance of R within this software.
The R-Shell view has been simplified and the R templates have been moved in it’s own simple view for an improved usability (see screenshot from R perspective below).
In addition the context menu has been enhanced to allow the creation of submenus from scripts found in folders and subfolders (recursively added) which you can create for a menu structure.
Java (with dependant classes) can be dynamically compiled and executed like a script, too.
Several improvements have also been added to the R-Shell and the R editor for an easier generation of valid R code. The R-Shell and the R editor now display R workspace objects with it’s class and structure in the code completion dialog (marked with a new workspace icon – see below).
In the R editor a new quick fix function has been added to detect and install missing packages (from scanned default packages folder of an R installation – has to be enabled in the Bio7 R code analysis preferences).
Also the detection of missing package imports are fixable (when a function is called but the installed package declaration is missing in the code but the package is installed to deliver the function).
The code assistance in the R-Shell and in the R editor now offers completions for, e.g., dataframes (columns) in the %>% operator of piped function calls:
In addition code assistance is available for list, vectors, dataframes and arrays of named rows and columns, etc., when available in the current R environment.
Code completion for package functions can now easily added with the R-Shell or the R editor which loads the package function help for both interfaces. The editor will automatically be updated (see updated editor marking unknown functions in screencast below).
Numerous other features, improvements and bugfixes have been added, too.
I recently discovered on a high dpi display (Retina-Display) enabled 13’’ notebook that the latest release of Bio7 for MacOSX is not displayed in high dpi but in a lower resolution which makes text and icons blurry (scaled) and unnecessary strains the eyes when editing R scripts with the R editor.
So I uploaded a new, fixed version for MacOSX.
However, to fix an already downloaded version of Bio7 you have to open open the ‘/Bio7.app/Contents/Info.plist’ file with a text editor (right-click on Bio7.app, execute ‘Show Package Contents’ and open ‘/Contents/Info.plist’) and add the following lines before the </dict> tag:
In addition to update the Info.plist file for the Operating System you have to open the Terminal (in ‘Applications/Utilities’) and execute the following command (default install directory – shell command is one line!):
A new version of Bio7 is available. The application Bio7 is an integrated development environment for ecological modeling scientific image analysis and statistical analysis. Over the years Bio7 evolved to a platform useful for a broad scientific context.
This release includes a plethora of new features and improvements for the R editor, RShell, RMarkdown editor and the ImageJ plugin.
Improved the context information when opening code completion (R-Shell and R editor)
Added an improved context information when openening code completion in the R-Shell
Context information of a function is shown when using code completion inside function calls
Added code completion for function arguments in the R-Shell
Added code completion help for ‘library’, ‘require’, ‘data’,’::’ and ‘:::’ functions in the R-Shell and in the R editor
Screencast code completion:
Screencast code completion with particle analysis:
Improved code completion for S3 and S4 nested attributes (e.g., x@y$z) also in function calls when cursor is set inside of a composite call
Implemented a code completion filter (when typing)
Added an option to select different key combinations for the R-Shell code completion (Strg+Space can already be occupied on MacOSX)
Added dark theme support for the help browser when opened from the R-Shell help (?)
Added a matching brackets selection action to the R-Shell view (Key+Mouse-click before opening or closing bracket)
Added an action to transfer the R-Shell history to an opened R editor (see R-Shell help (?))
The R-Shell and code completion fonts can now be changed and the size increased
The R-Shell is now faster if long text is printed (removed automatic text wrapping)
Added the Eclipse Spell Checking infrastructure to the R editor (can be enabled in the preferences)
Screencast spell checking:
Spell checking errors can now be fixed in the R editor (hoover action available)
Added a preference to enable/disable spell checking
Added a ‘Load packages tab’ in the ‘Packages’ view as an UI replacement for the Load packages dialog (improved usability)
Added an action to update the display list of installed packages (also triggered if you activate the tab)
Added an ‘Attached Packages’ tab to the ‘Packages’ view
Added an action to update all packages (‘Load Packages’ tab)
Screencast R Packages view:
Improved the R-Shell code completion in general
Improved the hoover display layout (for warnings and errors)
Fixed several bugs (Reenabled loop parsing and fixed a bug to restore code folding after using code completion in the R editor!)
Updated ANTLR parser to version 4.7
Added „require“ for package code completion
Reduced the memory footprint of the R editor (OS handles)
Added missing roxygen tags for code completion of the R editor
Created a wizard to support a project template (default folders and files) for reproducible projects
Changed key binding of ‘<-‘ and ‘%>%’ operators to make them available in the R-Shell, too (see help in R-Shell)
Improved the “Evaluate Selected Line” Action for Rserve (Evaluated when successfully parsed!)
R Markdown editor
Spell checking errors in the R markdown editor can now be fixed with a hoover action
Added a decent markdown parser (flexmark) to the editor which fixes some minor display problems
Added a format action for selected text to the markdown editor
Screencast format markdown selection
Updated ImageJ plugin to version 1.51.t16
Code completion (template) action now displays the macro documentation when typing
Code completion context information improved
Images from macros are now opened fast (before had a 2s delay because of a missing ImageJ attribute)
Cluttered MACOSX menus are now closed (added from opened application windows and frames). Some default added menus are disabled in the Bio7 preferences by default
Macros can now be executed within an external ImageJ instance in a separate Java process (if enabled in the preferences). Windows only!
Added Macro debugging context menus to the macro editor
Screencast ImageJ macro debugging:
Added an context actions to copy the Macro Recorder code to the current editor
Added an „Evaluate Line“ action
Reenabled CTRL+X as default „Cut“ text action.
Download and Installation:
Just download the *.zip distribution file from https://bio7.org and unzip it in your preferred location. Bio7 comes bundled with a Java Runtime Environment, R and Rserve distribution and works out of the box.
Download and extract the installation file from https://bio7.org.
For Linux you have to install R and Rserve (see Rserve installation below!).
In addition For MacOSX you have to install R and Rserve (see below!).
Linux and MacOSX Rserve installation:
To install Rserve open the R shell and then execute the menu action “Options->Install Rserve (coop. mode)”. This will download an install Rserve in your default R library location, see video below (please make sure that your default Linux R library install location has writing permissions!).
The special version of Rserve can also be downloaded here: