Skip to content

Commit

Permalink
# Please include a useful commit message! jr
Browse files Browse the repository at this point in the history
  • Loading branch information
jimrothstein committed Nov 20, 2024
1 parent 312333a commit 42eca1f
Show file tree
Hide file tree
Showing 2 changed files with 400 additions and 3 deletions.
7 changes: 4 additions & 3 deletions envir/9009_namespace_example.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -57,24 +57,25 @@ apropos("environment")
apropos("namespace")
apropos("getNamespace")
apropos("namespace")
```

## Packages (Mostly)

### all installed packages
### list all installed packages

```{r}
installed.packages()
installed.packages() |> class()
ls()
```

### attached packages vs search()
### list attached packages vs search()

```{r}
(.packages()) #22
search() #24
# To compare, add prefix `package:`
z=paste0("package:", .packages())
z %in% search()
Expand Down
Loading

0 comments on commit 42eca1f

Please sign in to comment.