Using RStudio with Microsoft R Client

Error Information:

Description of issue - I installed the library tidyverse from Microsoft R Client RGui before installing RStudio. I can load the pre-installed Libraries in RStudio, but not the tidyverse libraries (such as ggplot2).

Steps taken so far - Searched this community an Internet in general for information.

System Information:

  • RStudio Edition: (Desktop or Server) Desktop
  • RStudio Version: Version 1.1.456
  • OS Version: : Windows 10
  • R Version: R version 3.4.3 (2017-11-30)

Also: Windows 10

  • RStudio diagnostics report:
  • Your sessionInfo():
  • RStudio crash report:
  • RStudio application log files:

From Troubleshooting Guide: Using RStudio

what error do you get?

please include the output of sessionInfo()

1 Like

Error in library(tidyverse) : there is no package called ‘tidyverse’
R version 3.4.3 (2017-11-30)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)

Matrix products: default

[1] LC_COLLATE=Norwegian Bokmål_Norway.1252
[2] LC_CTYPE=Norwegian Bokmål_Norway.1252
[3] LC_MONETARY=Norwegian Bokmål_Norway.1252
[5] LC_TIME=Norwegian Bokmål_Norway.1252

attached base packages:
[1] stats graphics grDevices utils datasets methods
[7] base

other attached packages:
[1] RevoUtilsMath_10.0.1 RevoUtils_10.0.7 RevoMods_11.0.0
[4] MicrosoftML_9.3.0 mrsdeploy_1.1.3 RevoScaleR_9.3.0
[7] lattice_0.20-35 rpart_4.1-11

loaded via a namespace (and not attached):
[1] codetools_0.2-15 CompatibilityAPI_1.1.0
[3] foreach_1.4.5 grid_3.4.3
[5] R6_2.2.2 jsonlite_1.5
[7] curl_3.1 iterators_1.0.9
[9] tools_3.4.3 compiler_3.4.3
[11] mrupdate_1.0.1

:slight_smile: Hans Kristian

I usually see this error message when I haven't installed tidyverse yet,



Does install.packages('tidyverse') return a success message? That is, ending with

** testing if installed package can be loaded
* DONE (tidyverse)
1 Like

I could of course install tidyverse from RStudio.
However, I would like RStudio to know about the tidyverse installation
that I performed from RGui.

:slight_smile: Hans Kristian

You can add or change your libpath to match:


Thank you, I will check this out

:slight_smile: Hans kristian