R studio newbie installation program problems

Hi,
Complete noob here studying R studio for the first time. Trying to install Mosaic to follow tutorial notes with no luck. I tried the following but don't know how to fix the error. Any help would be much appreciated keeping in mind i am extremely new at learning programming. Thanks for your time.

> install.packages("mosaic")
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:

https://cran.rstudio.com/bin/windows/Rtools/
Installing package into ‘C:/Users/Simone/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/mosaic_1.8.3.zip'
Content type 'application/zip' length 3135756 bytes (3.0 MB)
downloaded 3.0 MB

package ‘mosaic’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
	C:\Users\Simone\AppData\Local\Temp\RtmpM5mV49\downloaded_packages
> library("mosaic")
Registered S3 methods overwritten by 'tibble':
  method     from  
  format.tbl pillar
  print.tbl  pillar
Error: package or namespace load failed for ‘mosaic’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
 namespace ‘dplyr’ 0.8.5 is already loaded, but >= 1.0.0 is required
> data("SaratogaHouses")
Warning message:
In data("SaratogaHouses") : data set ‘SaratogaHouses’ not found

This is asking you to update dplyr

install.packages("dplyr")

hi- thanks for responding to my question! :slight_smile:

I tried your recommendation and was provided with the following:

install.packages("dplr")
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:

https://cran.rstudio.com/bin/windows/Rtools/
Installing package into ‘C:/Users/Simone/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘dplr’ is not available for this version of R

A version of this package for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages
Warning in install.packages :
Perhaps you meant ‘dplR’ ?

Any suggestions?

Thanks for helping .

I am not sure if this helpful also:

R version 4.0.4 (2021-02-15) -- "Lost Library Book"
Copyright (C) 2021 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)

Thanks
Ryka

The package name is "dplyr" not "dplr"

thanks for your help, it is much appreciated. You have saved my day mate- i can do the tutorial now :smile:

If your question's been answered (even by you!), would you mind choosing a solution? It helps other people see which questions still need help, or find solutions if they have similar problems. Here’s how to do it:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.