There are several ways to find the included datasets in R:
1: Using data()
will give you a list of the datasets of all loaded packages (and not only the ones from the datasets
package); the datasets are ordered by package
2: Using data(package = .packages(all.available = TRUE))
will give you a list of all datasets in the available packages on your computer (i.e. also the not-loaded ones)
3: Using data(package = "packagename")
will give you the datasets of that specific package, so data(package = "plyr")
will give the datasets in the plyr
package
If you want to know in which package a dataset is located (e.g. the acme
dataset), you can do:
dat <- as.data.frame(data(package = .packages(all.available = TRUE))$results) dat[dat$Item=="acme", c(1,3,4)]
which gives:
Package Item Title 107 boot acme Monthly Excess Returns
Related Posts:
- What is a MIME type?
- How do I make a delay in Java?
- Advanced AREL or just Rails Query for has_many through search by association
- warning javax.* types are not being woven because the weaver option ‘-Xset:weaveJavaxPackages=true’ has not been specified
- Why the range of int is -32768 to 32767?
- How to install apoc for neo4j?
- Muting a Discord user on my Server
- Xcode build failure “Undefined symbols for architecture x86_64”
- Transport endpoint is not connected
- Relative imports for the billionth time
- pagebreak in markdown while creating pdf
- Ping – Request timed out
- What does “?” mean in Java?
- Error ORA-00054 resource busy and acquire with NOWAIT specified or timeout expired in oracle11g
- git pull on a different branch
- Pythonic way to create a long multi-line string
- Collapse all methods in Visual Studio Code
- How do I correctly clean up a Python object?
- There is no directive with “exportAs” set to “ngForm”
- What is a Ray ID (Cloudflare)?
- How to convert .crt cetificate file to .pfx
- PHP &$string – What does this mean?
- Uncaught TypeError: Cannot read property ‘style’ of null – JS error
- Can you use if/else conditions in CSS?
- What is process.env.PORT in Node.js?
- enum to string in modern C++11 / C++14 / C++17 and future C++20
- ORA-29913: error in executing ODCIEXTTABLEOPEN callout when inserting csv into oracle
- Reason for the exception java.lang.VerifyError: Bad type on operand stack
- Update Git branches from master
- c array – warning: format not a string literal
- How to interactively (visually) resolve conflicts in SourceTree / git
- SQL array flattening: Why doesn’t CROSS JOIN UNNEST join every nested value with every row?
- Function to calculate R2 (R-squared) in R
- Windows Scheduled task succeeds but returns result 0x1
- git: fatal unable to auto-detect email address
- yum error “Cannot retrieve metalink for repository: epel. Please verify its path and try again” updating ContextBroker
- Is there an online application that automatically draws tree structures for phrases/sentences?
- Reference Error: moment is not defined (Using moment.js)
- ERROR: transport error 202: bind failed when starting Tomcat 7 in debug mode
- How to ‘minify’ Javascript code
- C++ undefined reference to WinMain@16 (Code::Blocks)
- How to check whether a Button is clicked by using JavaScript
- Lambda Calculus Reduction steps
- What is cardinality in Databases?
- How to extract Month from date in R
- Very basic inheritance: error: expected class-name before ‘{’ token
- How to use the command update-alternatives –config java
- this: Cannot use this in static context
- How to change angular port from 4200 to any other
- python 3.x ImportError: No module named ‘cStringIO’
- zsh command cannot found pip
- How to force garbage collector to run?
- Undo text entry in Jupyter Notebook under Win7
- How do I select text nodes with jQuery?
- apt-get for Cygwin?
- How do you use replace in Spyder?
- Converting time stamps in excel to dates
- Warning: session_start(): Cannot send session cookie – headers already sent by (output started at [duplicate]
- conversion to inaccessible base class is not allowed [duplicate]
- How to draw a line with matplotlib?
- /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
- Eclipse IDE – Error: Build path specifies execution environment Java SE 1.7
- How to enable Location access programmatically in android?
- Normalizing a list of numbers in Python
- How to get the filename without the extension in Java?
- HTTP status code 0 – Error Domain=NSURLErrorDomain?
- Should 3rd Parties Use $wp_scripts/$wp_styles->add_data?
- WordPress localization
- How to reference a function from a class in a different file which is also namespaced?
- How do I display the latest Flickr OAuth embedded image on the frontpage?
- Rendering javascript in render_callback php Code
- Next Previous siblings child pages
- Posts2Posts plugin and wp user frontend connect programmatically
- Need a method for base_url() or home_url() in CF7 additional settings [closed]
- The Principles of Essay Title Generator Free
- What A Pupil Learns From Writing An Argumentative Essay
- How To Tell If a Custom Field Was Made with ACF, Metabox.io, Carbon Fields, Custom Built, etc?
- Ping a Specific Port
- Something is burning in the server room; how can I quickly identify what it is?
- How do I select which Apache MPM to use?
- Finding out what user Apache is running as?
- How do you answer yes for yum install automatically
- How bad is IPv4 address exhaustion really?
- How can I read pcap files in a friendly format?
- What does Apache’s “Require all granted” really do?
- How do you increase a KVM guest’s disk space?
- What firewall ports need to be open to allow access to external git repositories?
- In systemd, what’s the difference between After= and Requires=?
- Is Ping a reliable way to check if a server is available?
- What range of MAC addresses can I safely use for my virtual machines?
- How do I create user accounts from the Terminal in Mac OS X 10.5?
- 10 servers to administer and I’m a history major [closed]
- Vagrant / VirtualBox DNS 10.0.2.3 not working
- How to get a .pem file from ssh key pair?
- logrotating files in a directories and its subdirectories
- How to restart Nginx on Mac OS X?
- What does that mean: packages excluded due to repository priority protections
- How can I set a short timeout with the ping command?
- Do you skip a rack unit between servers?
- apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName