I am a new user/student to R programming. I have a problem in viewing below code in R script, even though I already set following
data("ToothGrowth")
View(ToothGrowth)
install.packages("dplyr")
library(dplyr)
when you assign a result to an object name filter_growth <- some calculation tpyical behaviour is that the calculation results get stored in the name, and not printed to console. if you you want to print to console you can wrap the statement in a pair of normal brackets
(filter_growth <- some calculation)
which is the same as
filter_growth <- some calculation
print(filter_growth)
p.s. this is not related to Rstudio IDE but more fundamentally to 'R', as you would expect the same in RGUI or Rterm etc.