sury
☆    

India,
2019-08-24 08:33

Posting: # 20510
Views: 242
 

 BEAR package installation in R [R for BE/BA]

Hii All...

I was actually trying to install R bear package by following the instruction as per http://forum.bebac.at/mix_entry.php?id=15786

but i am getting the error message. pls do help me in this regards. i am just pasting the complete console here


> install.packages("randomizeBE");install.packages("gWidgets2");install.packages("gWidgets2RGtk2")
Installing package into ‘C:/Users/suryateja.m/Documents/R/win-library/3.5’
(as ‘lib’ is unspecified)
--- Please select a CRAN mirror for use in this session ---
trying URL 'https://cloud.r-project.org/bin/windows/contrib/3.5/randomizeBE_0.3-4.zip'
Content type 'application/zip' length 51290 bytes (50 KB)
downloaded 50 KB

package ‘randomizeBE’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
C:\Users\suryateja.m\AppData\Local\Temp\RtmpmyhWA4\downloaded_packages
Installing package into ‘C:/Users/suryateja.m/Documents/R/win-library/3.5’
(as ‘lib’ is unspecified)
trying URL 'https://cloud.r-project.org/bin/windows/contrib/3.5/gWidgets2_1.0-8.zip'
Content type 'application/zip' length 1368811 bytes (1.3 MB)
downloaded 1.3 MB

package ‘gWidgets2’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
C:\Users\suryateja.m\AppData\Local\Temp\RtmpmyhWA4\downloaded_packages
Installing package into ‘C:/Users/suryateja.m/Documents/R/win-library/3.5’
(as ‘lib’ is unspecified)
trying URL 'https://cloud.r-project.org/bin/windows/contrib/3.5/gWidgets2RGtk2_1.0-7.zip'
Content type 'application/zip' length 2771739 bytes (2.6 MB)
downloaded 2.6 MB

package ‘gWidgets2RGtk2’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
C:\Users\suryateja.m\AppData\Local\Temp\RtmpmyhWA4\downloaded_packages
> utils:::menuInstallLocal()
package ‘stab’ successfully unpacked and MD5 sums checked
> library (bear)
Error: package or namespace load failed for ‘bear’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
there is no package called ‘gWidgets’
>
yjlee168
★★  
avatar
Homepage
Kaohsiung, Taiwan,
2019-08-24 09:43

@ sury
Posting: # 20511
Views: 207
 

 BEAR package installation in R

Hi sury

» I was actually trying to install R bear package by following the instruction as per http://forum.bebac.at/mix_entry.php?id=15786

The info of that linked thread has been out of date (it's posted in 2015). Please forget it. The quick way to install bear is to download preinst.r first from Sourceforge and then open R console/terminal. Type source("preinst.r") and select '1' for bear. Select a repository site from CRAN. This may take a while to complete. It will install all required/dependent R packages for you. Then download bear R packages from Sourceforge, according to what platforms/OS you have. Browse the home page of bear at Sourceforge carefuuly (remember to srolldown your screen) for more detailed info, especially if your platform/OS is macOS. You have to install gtk+ driver first for macOS before running source("preinst.r").
» ..
» package ‘stab’ successfully unpacked and MD5 sums checked

stab is another R package used to analyze drug stability. I don't get it why you want to install stab for bear.

All the best,
-- Yung-jin Lee
bear v2.8.6:- created by Hsin-ya Lee & Yung-jin Lee
Kaohsiung, Taiwan http://pkpd.kmu.edu.tw/bear
Download link (updated) -> here
Activity
 Thread view
Bioequivalence and Bioavailability Forum |  Admin contact
19,789 posts in 4,196 threads, 1,358 registered users;
online 7 (1 registered, 6 guests [including 4 identified bots]).
Forum time (Europe/Vienna): 14:57 CEST

100% of all disasters are failures of design, not analysis.    Ronald G. Marks

The BIOEQUIVALENCE / BIOAVAILABILITY FORUM is hosted by
BEBAC Ing. Helmut Schütz
HTML5