Dear colleague I have got a problem during working with some package in R and in spite of trying with R help, internet and any other resources I could not succeed. Indeed when I what to install some function like bwplot, boxplot, xyplot I receive this sort of messages: Warning in install.packages : package ?xyplot? is not available (for R version 3.5.2) Do you know how I can solve that? -- S. M. Nasrollahi Postdoctoral Researcher French National Institute for Agricultural Research Unite? Mixte de Recherches sur les Herbivores, 63122 St Gene`s Champanelle, France sayyed-mahmoud.nasrollahi at inra.fr Tel: +9826132248082 Fax: +9826132246752
xyplot is not a package, it is a function within the lattice package, which should already be installed. library(lattice) # load the package from the R library ?xyplot # look at the help for the function The others are also functions, not packages. Sarah On Tue, Jan 8, 2019 at 9:15 AM S. Mahmoud Nasrollahi <smnasrolahi at gmail.com> wrote:> Dear colleague > I have got a problem during working with some package in R and in > spite of trying with R help, internet and any other resources I could > not succeed. Indeed when I what to install some function like bwplot, > boxplot, xyplot I receive this sort of messages: > Warning in install.packages : > package ?xyplot? is not available (for R version 3.5.2) > Do you know how I can solve that? > > > -- > S. M. Nasrollahi > Postdoctoral Researcher > French National Institute for Agricultural Research > Unite? Mixte de Recherches sur les Herbivores, > 63122 St Gene`s Champanelle, France > sayyed-mahmoud.nasrollahi at inra.fr > Tel: +9826132248082 > Fax: +9826132246752 > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >-- Sarah Goslee (she/her) http://www.sarahgoslee.com [[alternative HTML version deleted]]
On Tue, 8 Jan 2019, S. Mahmoud Nasrollahi wrote:> I have got a problem during working with some package in R and in spite of > trying with R help, internet and any other resources I could not succeed. > Indeed when I what to install some function like bwplot, boxplot, xyplot I > receive this sort of messages: Warning in install.packages : package > ?xyplot? is not available (for R version 3.5.2) Do you know how I can > solve that?Yep. Those plots are part of the lattice package. You can install lattice (and latticeExtra if you want) with> installpkg("lattice")Happy plotting, Rich
I think it's ?install.packages Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Tue, Jan 8, 2019 at 9:50 AM Rich Shepard <rshepard at appl-ecosys.com> wrote:> On Tue, 8 Jan 2019, S. Mahmoud Nasrollahi wrote: > > > I have got a problem during working with some package in R and in spite > of > > trying with R help, internet and any other resources I could not succeed. > > Indeed when I what to install some function like bwplot, boxplot, xyplot > I > > receive this sort of messages: Warning in install.packages : package > > ?xyplot? is not available (for R version 3.5.2) Do you know how I can > > solve that? > > Yep. Those plots are part of the lattice package. You can install > lattice > (and latticeExtra if you want) with > > > installpkg("lattice") > > Happy plotting, > > Rich > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >[[alternative HTML version deleted]]