I can't import dataset from excel to rstudio and this is the message I always got

Description of issue -

System Information:

  • RStudio Edition: (Desktop or Server)
  • RStudio Version:
  • OS Version:
  • R Version:
  • sessionInfo():

Referred here from support.rstudio.com

Hi @Mitch_Ubak,
Welcome to the RStudio Community Forum.

Looks like you need to download and install a couple of R add-on packages before the "Import dataset > Excel" will work correctly. The packages are readxl and Rcpp (see the text in the error box).

You can do this from the "Packages > Install" menu in RStudio. Or, in the console window run this command:

install.packages(c("readxl", "Rcpp"), dependencies=TRUE)

Once it completes, try the import again.
Hope this helps.

1 Like

This topic was automatically closed 42 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.