File tree Expand file tree Collapse file tree 3 files changed +33
-0
lines changed
Expand file tree Collapse file tree 3 files changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ .Rproj.user
2+ .Rhistory
3+ .RData
4+ .Ruserdata
Original file line number Diff line number Diff line change 1+ # This is a function for using using the packages that are nt installed in R previously
2+
3+ pkgActivate <- function (x )
4+ {
5+ if (! require(x ,character.only = TRUE ))
6+ {
7+ install.packages(x ,dep = TRUE )
8+ library(x )
9+ if (! require(x ,character.only = TRUE )) stop(" Package not found" )
10+ }
11+ }
12+
13+ # Please use the function to invoke the packages in your programs
14+
15+ pkgActivate(" tidyverse" )
16+
Original file line number Diff line number Diff line change 1+ Version: 1.0
2+
3+ RestoreWorkspace: Default
4+ SaveWorkspace: Default
5+ AlwaysSaveHistory: Default
6+
7+ EnableCodeIndexing: Yes
8+ UseSpacesForTab: Yes
9+ NumSpacesForTab: 2
10+ Encoding: ISO8859-1
11+
12+ RnwWeave: Sweave
13+ LaTeX: pdfLaTeX
You can’t perform that action at this time.
0 commit comments