Download Latest Version (89.8 kB) Get Updates
Home / bear
Name Modified Size InfoDownloads / Week
Parent folder
v2.8.3 2017-05-23
src 2017-05-23
v2.8.2 2017-05-08
v2.8.1 2017-05-06
validation 2016-08-26
v2.7.7 2016-05-04
NEWS 2017-05-23 35.2 kB 2017-05-23 4.7 kB
Totals: 8 Items   39.9 kB 6

How to install/upgrade bear manually?

bear website:
bug/question report (preferred): Bebac Forum with category of 'R for BE/BA'
Please search the Forum first before posting your question.

  1. the first time to install bear If you never install bear before, please download the file preinst.r from the top file list. Place the file under the working directory (use getwd() under R console/terminal to find out where it is.) Then go to this link: for more detailed information. The package does not require Java VM since v2.8.3. Please skip the Step 1 (about Java VM installation). But it still requires GTK+ drivers to work with. Please read the instruction carefully. If you are going to upgrade from v2.7.8 or later, the only thing to do is to install the package as binary format (.zip for Windows and .tgz for iMac OS X) directly from R console/terminal. For linux PC OS, please make sure that you have installed all required development tools for R packages. And then download the bundle file ( for Windows OS, bear_x.x.x.tgz for iMac OS X, or tar.gz for linux PC OS). To use preinst.r, you need to have administrator privilege. This is very important for Windows 10, iMac OS X and Linux PC. Then open R, type source("preinst.r") and select which package you want to install. The file preinst.r will first update all currently installed packages, and then install all required packages for the selected package. If the platform is Windows OS, it will continue to install the package with a local zip file. Otherwise, it will stop after installation of all required packages. Users of iMac OS X and Linux PC need to install the package manually (sorry about that). For iMac OS X and Linux PC users, please go to the next step for more details.

  2. upgrade from the previous version (bear v2.7.8 or later)

    • install from the binary file Just download (for Windows OS) or bear_x.x.x.tgz (for iMac OS X) from this site. Under R console (for Windows OS; iMac OS X users should choose install from a binary file), click Packages from the top menu and then click Install packages from local zip files... Find and select (for Windows OS) or bear_x.x.x.tgz (for iMac OS X) that you just download to install it.

    • install from the source file (This method should work for all platforms) The source file can be downloaded from the directory of src of download site. The source file should be like bear_x.x.x.tar.gz. Please always download the most updated version. Windows OS and iMac OS X may require the development tool which can be downloaded from CRAN mirror sites. Linux can be installed directly. Under a terminal, type R CMD INSTALL bear_x.x.x.tar.gz (for Windows OS 7/8.x; Windows 10 users, press "Windows key + x" together and click "Command Prompt (Admin)"); or sudo R CMD INSTALL bear_x.x.x.tar.gz (Linux and iMac OS X; then enter your 'su' password)

  3. for different platforms

    • MS-WINDOWS (installation from the binary file)

      1. Download '' from this site to your computer first.
      2. Under R console (Rgui.exe), click Packages from the top menu and then click Install packages from local zip files.... Finally, select to install it.
      3. If you like to go back to previous version, please go to the directory of 'src' to download the source file (bear_x.x.x.tar.gz). And type R CMD INSTALL bear_x.x.x.tar.gz (you may need to install development tool to install bear from the source file).
    • iMac OS X (installation from the binary file; if not work, please install from the source files; see above)

      1. Download "bear_x.x.x.tgz' to your home folder;
      2. Open Terminal and type sudo R CMD INSTALL bear_x.x.x.tgz and enter your 'su' password.
    • Linux-PC (installation from the binary file)

      1. Download 'bear_x.x.x_R_i686-pc-linux-gnu.tar.gz' (for x86 linux) or 'bear_x.x.x_R_x86_64-pc-linux-gnu.tar.gz' (for x64 linux) first;
      2. Open Terminal and type sudo R CMD INSTALL bear_x.x.x_R_i686-pc-linux-gnu.tar.gz (for x86 linux) or sudo R CMD INSTALL bear_x.x.x_R_x86_64-pc-linux-gnu.tar.gz (for x64 linux)

    That's all. Thanks for using bear. --YJ

Source:, updated 2017-05-23