Guys,

lattice is a "recommended" package, which means that it is installed by default 
with any standard R installation.

Thus, all that is required, as Sarah noted in an earlier reply, is either:

  library(lattice)

or 

  require(lattice)

depending upon preference.

latticeExtra, on the other hand, is a third party package that would need to be 
installed separately, if desired.

Regards,

Marc Schwartz


> On Jan 8, 2019, at 1:46 PM, Bert Gunter <bgunter.4...@gmail.com> wrote:
> 
> 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 <rshep...@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@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.

Reply via email to