R တွင် မည်သည့်ပက်ကေ့ချ်ဗားရှင်းကို ထည့်သွင်းထားသည်ကို စစ်ဆေးနည်း
R တွင် မည်သည့်ပက်ကေ့ဂျ်ဗားရှင်းကို တင်ထားသည်ကို စစ်ဆေးရန် အောက်ပါလုပ်ဆောင်ချက်များကို သင်အသုံးပြုနိုင်သည်-
#display package version packageVersion(" ggplot2 ") #display the date when this package version was released packageDate(" ggplot2 ") #display description of the package packageDescription(" ggplot2 ")
အောက်ဖော်ပြပါ ဥပမာသည် ဤလုပ်ဆောင်ချက်များကို လက်တွေ့အသုံးချနည်းကို ပြသထားသည်။
ဥပမာ- R တွင် မည်သည့်ပက်ကေ့ခ်ျဗားရှင်းကို ဖွင့်ထားသည်ကို စစ်ဆေးပါ။
ကျွန်ုပ်တို့သည် ကျွန်ုပ်တို့၏လက်ရှိ R ပတ်ဝန်းကျင်တွင် ggplot2 ပက်ကေ့ဂျ်ကို တင်သည်ဆိုကြပါစို့။
library (ggplot2)
ggplot2 ၏ မည်သည့်ဗားရှင်းကို တင်ထားသည်ကို စစ်ဆေးရန် packageVersion() လုပ်ဆောင်ချက်ကို အသုံးပြုနိုင်သည်။
#display package version packageVersion(" ggplot2 ") [1] '3.3.2'
ဗားရှင်း 3.2.2 တင်ထားသည်ကို ကျွန်ုပ်တို့တွေ့မြင်ရသည်။
ဤဗားရှင်းကို မည်သည့်အချိန်တွင် ထုတ်ဝေခဲ့သည်ကို သိရှိရန်၊ သင်သည် packageDate() လုပ်ဆောင်ချက်ကို အသုံးပြုနိုင်သည်။
#display the date when this package version was released packageDate(" ggplot2 ") [1] "2020-06-17"
ဤဗားရှင်းကို 2020 ခုနှစ် ဇွန်လ 17 ရက်နေ့တွင် ဖြန့်ချိခဲ့သည်ကို ကျွန်ုပ်တို့တွေ့မြင်နိုင်ပါသည်။
ပက်ကေ့ဂျ်၏ဖော်ပြချက်တစ်ခုပြသရန်၊ ကျွန်ုပ်တို့သည် packageDescription() လုပ်ဆောင်ချက်ကို အသုံးပြုနိုင်ပါသည်။
#display description of the package packageDescription(" ggplot2 ") Package: ggplot2 Version: 3.3.2 Title: Create Elegant Data Visualizations Using the Grammar of Graphics Description: A system for 'declaratively' creating graphics, based on "The Grammar of Graphics". You provide the data, tell 'ggplot2' how to map variables to aesthetics, what graphical primitives to use, and it takes care of the details. Authors@R: c( person("Hadley", "Wickham", , "hadley@rstudio.com", "aut", comment = c(ORCID = "0000-0003-4757-117X"), person("Winston", "Chang", , role = "aut", comment = c(ORCID = "0000-0002-1576-2126"), person("Lionel", "Henry", , role = "aut"), person("Thomas Lin", "Pedersen", , "thomas.pedersen@rstudio.com", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-5147-4711"), person("Kohske", "Takahashi", role = "aut"), person("Claus", "Wilke", role = "aut", comment = c(ORCID = "0000-0002-7470-9261"), person("Kara", "Woo", role = "aut", comment = c(ORCID = "0000-0002-5125-4188"), person("Hiroaki", "Yutani", role = "aut", comment = c(ORCID = "0000-0002-3385-7233"), person("Dewey", "Dunnington", role = "aut", comment = c(ORCID = "0000-0002-9415-4582"), person("RStudio", role = c("cph", "fnd"))) Depends: R (>= 3.2) Imports: digest, glue, grDevices, grid, gtable (>= 0.1.1), isoband, MASS, mgcv, rlang (>= 0.3.0), scales (>= 0.5.0), stats, tibble, withr (>= 2.0.0) Suggested: covr, dplyr, ggplot2movies, hexbin, Hmisc, knitr, lattice, mapproj, maps, maptools, multcomp, munsell, nlme, profvis, quantreg, RColorBrewer, rgeos, rmarkdown, rpart, sf (>= 0.7-3), svglite (>= 1.2.0.9001), testthat (>= 2.1.0), vdiffr (>= 0.3.0) Enhances:sp License: GPL-2 | LICENSE file URL: https://ggplot2.tidyverse.org, https://github.com/tidyverse/ggplot2 BugReports: https://github.com/tidyverse/ggplot2/issues LazyData: true Collate: 'ggproto.r' 'ggplot-global.R' 'aaa-.r' 'aes-color-fill-alpha.r' ..... ThumbnailBuilder: knitr Roxygen Note: 7.1.0.9000 Encoding: UTF-8 NeedsCompilation: no Packaged: 2020-06-17 06:03:58 UTC; thomas Author: Hadley Wickham [aut] (<https://orcid.org/0000-0003-4757-117X>), Winston Chang [aut] (<https://orcid.org/0000-0002-1576-2126>), Lionel Henry [aut], Thomas Lin Pedersen [aut, cre] (<https://orcid.org/0000-0002-5147-4711>), Kohske Takahashi [aut], Claus Wilke [aut] (<https://orcid.org/0000-0002-7470-9261>), Kara Woo [aut] (<https://orcid.org/0000-0002-5125-4188>), Hiroaki Yutani [aut] (<https://orcid.org/0000-0002-3385-7233>), Dewey Dunnington [aut] (<https://orcid.org/0000-0002-9415-4582>), RStudio [cph, fnd] Maintainer: Thomas Lin Pedersen <thomas.pedersen@rstudio.com> Repository: CRAN Date/Publication: 2020-06-19 13:00:03 UTC Built: R 4.0.3; ; 2020-11-20 18:07:33 UTC; unix -- File: /usr/lib/R/site-library/ggplot2/Meta/package.rds
ဖော်ပြချက်တွင် ပက်ကေ့ဂျ်လုပ်သောအရာ၊ ပက်ကေ့ဂျ်ကို ဖန်တီးသူ၊ မည်သည့်နေရာတွင် အမှားအယွင်းများကို သတင်းပို့ရမည်၊ ၎င်းကို ထုတ်ဝေလိုက်သည့်အချိန်နှင့် အခြားအရာများအကြောင်း အကျဉ်းချုပ် ရှင်းပြချက်တစ်ခု ပါဝင်သည်။
ထပ်လောင်းအရင်းအမြစ်များ
အောက်ဖော်ပြပါ သင်ခန်းစာများသည် R တွင် အခြားဘုံအလုပ်များကို မည်သို့လုပ်ဆောင်ရမည်ကို ရှင်းပြသည်-
R မှာ ပတ်ဝန်းကျင်ကို ဘယ်လိုရှင်းမလဲ။
R တွင် ဖိုင်ရှိမရှိ စစ်ဆေးနည်း
R တွင် setwd/getwd ကိုအသုံးပြုနည်း