Below are the messages I get on the console when I try to install tidyverse.
The messages were very long and it's in the google document (link shared below).
I am running the latest version of Ubuntu on VMware.
Your help would be deeply appreciated as I am a student trying to learn some data science.
> install.packages("tidyverse", dependencies = TRUE) Installing package into ‘/home/gjk/R/x86_64-pc-linux-gnu-library/3.6’ (as ‘lib’ is unspecified) also installing the dependencies ‘plyr’, ‘desc’, ‘pkgbuild’, ‘rprojroot’, ‘reshape2’, ‘Rcpp’, ‘fs’,...
You have a cascade of errors but all starts here
ERROR: failed to lock directory ‘/home/gjk/R/x86_64-pc-linux-gnu-library/3.6’ for modifying
Try removing ‘/home/gjk/R/x86_64-pc-linux-gnu-library/3.6/00LOCK-Rcpp’
Follow the indication on the error message and delete that file, then try to install again.
Also, for future posts, is better if you post the error message here directly as formatted code
Formatting Code: the Basics
All code or console output you include in your posts should be formatted properly. Luckily, this is very easy to do! Just use the code formatting button at the top of the post editing box:
[image]
Select some code
Click the </> button!
The code formatting button automatically adds special Markdown formatting symbols to whatever you selected. If you check the preview pane to the right of your post, you'll see that the forum software now outputs nicely formatted code .
[04]
The code formatting button is pretty smart! It can tell the difference between snippets of code that are part of a sentence and blocks of code that stand alone. …
> library("tidyverse")
── Attaching packages ─────────────────────────────────────────────── tidyverse 1.3.0 ──
✓ ggplot2 3.2.1 ✓ purrr 0.3.3
✓ tibble 2.1.3 ✓ dplyr 0.8.4
✓ tidyr 1.0.2 ✓ stringr 1.4.0
✓ readr 1.3.1 ✓ forcats 0.5.0
── Conflicts ────────────────────────────────────────────────── tidyverse_conflicts() ──
x dplyr::filter() masks stats::filter()
x dplyr::lag() masks stats::lag()
Thank you for assisting me as well as educating me on how to properly post on the forums.
Appreciate it!
system
Closed
March 12, 2020, 4:51pm
4
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.