I am a beginner and need help about console

As a beginner i cant really fathom why i cant see "mpg" data

Welcome to the community!

This should not have happened, as far as I can see. Questions:

  1. Is it only for mpg? Or for any data? Try with iris.
  2. Is it only when you try rmarkdown? Or, always? Open a new R session, both in RStudio and R GUI and check.

Can you run this and share the output? Solving this is beyond my scope, but someone who can will probably require this?

1 Like

Thank you!!

  1. Tried iris but result is same
  2. Tried with new project & r notebook but failed again.
    But it worked with R GUI

What is the version number for tidyverse?

Are all packages updated? Make sure they are and then restart RStudio and try again.

Running R 4.0.2 with tidyverse 1.3.0 works for me.

1 Like

[1] ‘3.3.2’
[1] ‘1.3.0’

Hmm, that is odd.

Incidentally, the output should show up either in the console or inline but it does neither in your case. If you knit the notebook, does the resulting html file contain the expected output? Or is that a wash too?

I changed the output settings. Console works now but got problem with inline

Progress! :clap: :clap:

Only thing I can think of re: the output not showing up inline is to try a daily build and when you install it, don't overwrite the stable version of RStudio you have running. See if the daily build solves the issue?

1 Like

Is is because the dataset's name is "mtcars".

   Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
  10.40   15.43   19.20   20.09   22.80   33.90 
1 Like

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