1. Clear Screen Ctrl+L2. Exit Q ()3. Set the workspace getwd () SETWD ('D:\\Program Files\\rstudio\\workspace')4. List of files under current working directory List.files () Choose.dir () dir ("D:\\Program Files\\rstudio\\workspace", Full.names=t,
R language-string processing functions, string functionsNchar
Function for retrieving the number of charactersDifferent from nchar, length is the length of the orientation.
# Nchar indicates the number of characters in the string. nchar ("abcd") [1]
Several recent projects have been done using the R language. As the teacher said, learning quickly and forgetting quickly. Tidy up and put it here for easy reference later.To install the required packages:Install.packages ("xxxx")Load
Several recent projects have been done using the R language. As the teacher said, learning quickly and forgetting quickly. Tidy up and put it here for easy reference later. to install the required packages:install.packages ("xxxx")Load
One, date time, string processingDateDay: Date class, Year and dayPOSIXCT: Date time class, accurate to seconds, expressed in numbersPOSIXLT: DateTime class, accurate to seconds, expressed as a listSys.date (), date (), Difftime (), Isodate (),
R language: Common functions (9.29 Update)
First, data managementVector: vectorsNumeric: Numerical vectorLogical: Logical vectorCharacter: vector of character typeList: ListsData.frame: Data FrameC: Connect as a vector or listLength: Ask for
Data Structure I. ManagementVector: vectorsNumeric: Numerical vectorLogical: Logical vectorCharacter: vector of character typeList: ListsData.frame: Data FrameC: Connect as a vector or listLength: Ask for LengthsSubset: Seeking
DataFirst, data managementVector: vectorsNumeric: Numerical vectorLogical: Logical vectorCharacter: vector of character typeList: ListsData.frame: Data FrameC: Connect as a vector or listLength: Ask for LengthsSubset: Seeking
DataFirst, data managementVector: vectorsNumeric: Numerical vectorLogical: Logical vectorCharacter: vector of character typeList: ListsData.frame: Data FrameC: Connect as a vector or listLength: Ask for LengthsSubset: Seeking
R Language series: Generating data(2014-05-04 17:41:57)reproduced
Tags: r language education
Category: Biological information
Generate Rule Data1, use ":", such as x=1:10, note that the method can either increment
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.