-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_DataTools.Rmd
71 lines (42 loc) · 1.65 KB
/
_DataTools.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Data Tools
- Installations for Data Science. Anaconda, RStudio, Spark, TensorFlow, AWS (Amazon Web Services).
https://medium.com/@GalarnykMichael
https://github.com/mGalarnyk/Installations_Mac_Ubuntu_Windows
- Google Cloud for Data Science: Beginner's Guide
https://www..com/community/tutorials/google-cloud-data-science
- Deep Learning With Jupyter Notebooks In The Cloud
https://www..com/community/tutorials/deep-learning-jupyter-aws
https://www..com/community/tutorials/homebrew-install-use
```
system() function works when I use R from terminal but not from RStudio #2193
https://github.com/rstudio/rstudio/issues/2193
myTerm <- rstudioapi::terminalCreate(show = FALSE)
rstudioapi::terminalSend(myTerm, esearch -db pubmed -query '(diabetes AND pregnancy) AND (\ 2017/01/01\ [PDAT] : \ 2017/12/31\ [PDAT])' | efetch -format xml | xtract -pattern Grant -element Agency | sort-uniq-count-rank | head -n 10 > myquery.txt \n )
Sys.sleep(1)
repeat{
Sys.sleep(0.1)
if(rstudioapi::terminalBusy(myTerm) == FALSE){
print( Code Executed )
break
}
}
```
```
{r eval=FALSE, include=FALSE, echo=TRUE}
library(datasets) # initialize
library(help=datasets) # display the datasets
```
```
{r eval=FALSE, include=FALSE, echo=TRUE}
class(airquality) # get class
sapply(airquality, class) # get class of all columns
str(airquality) # structure
summary(airquality) # summary of airquality
head(airquality) # view the first 6 obs
fix(airquality) # view spreadsheet like grid
View(airquality)
rownames(airquality) # row names
colnames(airquality) # columns names
nrow(airquality) # number of rows
ncol(airquality) # number of columns
```