One R Tip a Day Profile
One R Tip a Day

@RLangTip

Followers
69K
Following
8
Media
11
Statuses
3K

One tip per day M-F on the R programming language #rstats. Brought to you by the R community team at Microsoft.

Joined May 2011
Don't wanna be here? Send us removal request.
@RLangTip
One R Tip a Day
4 years
A tutorial from @ROpenSci on reproducible research with Docker containers https://t.co/sNXT6LWmzj #rstats
3
17
22
@RLangTip
One R Tip a Day
4 years
boot(data,statistic,R) in the {boot} package will generate R bootstrap replicates of a statistic https://t.co/BIKbZIUJ18 #rstats
0
10
18
@RLangTip
One R Tip a Day
4 years
Use saveRDS(obj,"myfile") and readRDS(obj,"myfile") to save / read an R object to / from a file https://t.co/iZNHFboJSa #rstats
0
7
19
@RLangTip
One R Tip a Day
4 years
To debug warnings, options(warn=2) converts warnings into errors https://t.co/Tnv8DFwtli #rstats
0
8
11
@RLangTip
One R Tip a Day
4 years
Strip non-ASCII characters from a string with iconv(rich.text, to="ASCII", sub="") #rstats
0
7
15
@RLangTip
One R Tip a Day
4 years
If two packages define functions with the same name, use :: to call the one you want: https://t.co/0UjIhBAaUP #rstats
0
11
11
@RLangTip
One R Tip a Day
4 years
Meet other R users at a local R user group in your area: https://t.co/3LrfnJzfGJ #rstats
jumpingrivers.github.io
R User Groups | A list of R conferences and meetings.
0
4
7
@RLangTip
One R Tip a Day
4 years
Use the Matrix package for efficient linear algebra with sparse, symmetric, positive semidefinite and general matrices https://t.co/EOvdlKNIZc #rstats
0
7
10
@RLangTip
One R Tip a Day
4 years
The "round" function uses the "round-to-even" rule. round(3.5) and round(4.5) are both 4 https://t.co/PjdqmejUn6 #rstats
2
20
50
@RLangTip
One R Tip a Day
4 years
Look here https://t.co/9dO7niFjlz for documentation on mathematical functions like beta(a,b) or gamma(x) #rstats
0
4
7
@RLangTip
One R Tip a Day
4 years
Use R to add text, tables and charts to a Word or Powerpoint template with the officer package #rstats
0
9
23
@RLangTip
One R Tip a Day
4 years
The story behind R release names like "Very Secure Dishes" https://t.co/I6XX6LnVH4 #rstats
0
6
8
@RLangTip
One R Tip a Day
4 years
Use TRUE and FALSE to represent the boolean values. These are reserved words, unlike T and F which can be overwritten as variables.
1
8
35
@RLangTip
One R Tip a Day
4 years
Use colSums to quickly calculate totals from the columns of a large matrix or table: https://t.co/8vK1aWWWQH #rstats
0
8
17
@RLangTip
One R Tip a Day
4 years
Type ?Syntax to learn the precedence of operators in the R language: https://t.co/GrRqgKFlD0 #rstats
0
6
13
@RLangTip
One R Tip a Day
4 years
What They Forgot to Teach You About R: e-book on the common sources of friction in data analysis with R, by @JennyBryan and @jimhester_ https://t.co/h5b0dq1IdU #rstats
0
16
58
@RLangTip
One R Tip a Day
4 years
format(x, scientific=TRUE) prints numeric data in exponential format, so 0.0001 prints as 1e-04 https://t.co/sBvvDXpH7b #rstats
0
10
20
@RLangTip
One R Tip a Day
4 years
Data Carpentry for Biologists: a self-guided 15-week course with videos and exercises in R https://t.co/Sx6RGD67D2 #rstats
0
12
19
@RLangTip
One R Tip a Day
4 years
Guide to density estimation in R from Deng and Wickham https://t.co/ZG896HPuOV #rstats
0
12
13
@RLangTip
One R Tip a Day
4 years
rle(x) ("run-length encoding") computes the lengths of runs of equal values in a vector https://t.co/usvgdAWkqy #rstats
0
6
10