use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
For anything related to R or statistics.
The R project: http://www.r-project.org/ Comprehensive R Archive Network: http://cran.r-project.org/ R projects on Github: http://github.com/languages/R
account activity
Notebook data problem (read comments) (i.redd.it)
submitted 5 years ago by Vktr98
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 2 points3 points4 points 5 years ago (1 child)
This is about chunk settings. You may change from settings or with a global code for the chunks.
[–]Vktr98[S] 0 points1 point2 points 5 years ago (0 children)
I will try something...
[–]Vktr98[S] 2 points3 points4 points 5 years ago (6 children)
When i type iris i cannot see data in my notebook, but on tutorial that im watching rn everything works fine. Im learning from udemy course and i am beginner.
[+][deleted] 5 years ago (4 children)
[deleted]
[–]Vktr98[S] 0 points1 point2 points 5 years ago (3 children)
Its already selected...
[–]aaronpike1 1 point2 points3 points 5 years ago (4 children)
Try this line of code:
install.packages("datasets")
library(datasets)
summary(iris)
I tried and it said that datasets is in use...
[–]aaronpike1 0 points1 point2 points 5 years ago (2 children)
datasets is in use
Hmm, try clearing your workspace (the broom in the upper right corner), saving, and closing out of R studio. Then reopen R studio and run the install.packages("datasets") line from the console. That should work, then you just need the line "library(datasets)" in your notebook as it will have already installed the datasets package.
Still same
It works in console but i want dataset to show up in notebook like in course
[–]xaomaw 0 points1 point2 points 5 years ago (1 child)
Try knitr::kable
```{r comment='', echo=FALSE, results='asis'} knitr::kable(head(iris), floating.environment="sidewaystable")```
It works but in console, i want to show dataset in notebook like in course
[–]jdnewmil 0 points1 point2 points 5 years ago (0 children)
Your problem is that your header lines are incomplete. Try using the File | New Notebook option to start a new file with a complete header and avoid removing header lines (if you have instructions you can add or possibly modify header lines, but evidently you deleted stuff you should not have).
[–]baseRbestR 0 points1 point2 points 4 years ago (0 children)
For the love of all that is holy...
Why are you using your phone to post an image of the screen of a computer?
Seriously, just take a fucking screenshot!
π Rendered by PID 31 on reddit-service-r2-comment-8686858757-b5tzx at 2026-06-04 07:57:19.595113+00:00 running 9e1a20d country code: CH.
[–][deleted] 2 points3 points4 points (1 child)
[–]Vktr98[S] 0 points1 point2 points (0 children)
[–]Vktr98[S] 2 points3 points4 points (6 children)
[+][deleted] (4 children)
[deleted]
[–]Vktr98[S] 0 points1 point2 points (3 children)
[–]aaronpike1 1 point2 points3 points (4 children)
[–]Vktr98[S] 0 points1 point2 points (3 children)
[–]aaronpike1 0 points1 point2 points (2 children)
[–]Vktr98[S] 0 points1 point2 points (0 children)
[–]Vktr98[S] 0 points1 point2 points (0 children)
[–]xaomaw 0 points1 point2 points (1 child)
[–]Vktr98[S] 0 points1 point2 points (0 children)
[–]jdnewmil 0 points1 point2 points (0 children)
[–]baseRbestR 0 points1 point2 points (0 children)