Which packages, working directory? [Software]

posted by Helmut Homepage – Vienna, Austria, 2021-04-16 12:50 (1102 d 21:57 ago) – Posting: # 22310
Views: 7,201

[image]Hi Jayant,

❝ […] not working …


… is not a proper description of a software-related problem. I don’t have a crystal ball. Operating system, release of [image], installed packages and their versions, working directory?

Install devtools from CRAN and run this script:

getwd()
options(width = 60)
devtools::session_info()

You need five packages to run bootf2BCA: boot, ggplot2, plotly, rlang, and shiny. Their current versions are: boot 1.3-27, ggplot2 3.3.3, plotly 4.9.3, rlang 0.4.10, shiny 1.6.0. If one or more are missing our outdated, see this article about installation/updating of packages.
Alternatively you can execute this script:

update.packages(checkBuilt = TRUE, ask = FALSE)
install.packages(c("boot", "ggplot2", "plotly", "rlang", "shiny"),
                 repos = "https://cloud.r-project.org")

If after the first command a window with the question

[image] Do you want to install from sources the packages which need
 compilation?


pops up, click on     No     (the central button – it’s actual label depends on the locale of your operating system).

Your working directory (as reported by getwd()) has to be the one where the scripts of bootf2BCA are (the data files can be somewhere else). If not, in the menu bar of the [image] console:

File → Change dir… {navigate to the desired folder} and confirm with   OK  


Dif-tor heh smusma 🖖🏼 Довге життя Україна! [image]
Helmut Schütz
[image]

The quality of responses received is directly proportional to the quality of the question asked. 🚮
Science Quotes

Complete thread:

UA Flag
Activity
 Admin contact
22,990 posts in 4,826 threads, 1,664 registered users;
71 visitors (2 registered, 69 guests [including 2 identified bots]).
Forum time: 10:48 CEST (Europe/Vienna)

If you don’t like something change it;
if you can’t change it, change the way you think about it.    Mary Engelbreit

The Bioequivalence and Bioavailability Forum is hosted by
BEBAC Ing. Helmut Schütz
HTML5