'rlang_is_string'

I get an error as described below.

Kindly help me to proceed further.

#_____________R Script

mydata <- read.csv(file.choose())

mydata

install.packages("ggplot2")

library(ggplot2)

?ggplot2

?qplot

qplot(data=mydata, x=Internet.users)

#________CONSOLE

?ggplot2

No documentation for ‘ggplot2’ in specified packages and libraries:

you could try ‘??ggplot2’

install.packages("ggplot2")

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/harish/Documents/R/win-library/3.6’

(as ‘lib’ is unspecified)

trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/ggplot2_3.2.0.zip'

Content type 'application/zip' length 3965523 bytes (3.8 MB)

downloaded 3.8 MB

package ‘ggplot2’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in

C:\Users\harish\AppData\Local\Temp\RtmpeAJDBu\downloaded_packages

library(ggplot2)

?ggplot2

?qplot

mydata <- read.csv(file.choose())

mydata

qplot(data=mydata, x=Internet.users)

Error in is_string(x) : object 'rlang_is_string' not found

Thanks in advance,

Harish Ramamoorthy

Have you tried installing the rlang package? It's possible that package isn't up-to-date and so you need a newer version of that to go along with the newest version of ggplot2.

That's what I'd try first, anyway, if I got this message. :slightly_smiling_face:

3 Likes

Thanks, It worked :slightly_smiling_face:

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