-
Notifications
You must be signed in to change notification settings - Fork 4
/
.Rhistory
66 lines (66 loc) · 2.07 KB
/
.Rhistory
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
64
65
66
library(tidyverse)
library(reticulate)
library(bookdown)
library(tidyverse)
library(reticulate)
library(bookdown)
par(mar = c(4, 4, .1, .1))
plot(pressure, type = 'b', pch = 19)
mtcars
prop.table(mtcars$mpg ,mtcars$cyl)
mtcars$mpg
prop.table(mtcars$mpg ,mtcars$mpg)
prop.table(mtcars$mpg)
```{r}
library(reticulate)
use_python("/usr/local/bin/python")
use_python("/Library/Frameworks/Python.framework/Versions/3.6/bin/python3")
library(reticulate)
use_python("/Library/Frameworks/Python.framework/Versions/3.6/bin/python3")
use_virtualenv()
use_virtualenv('tf')
library(reticulate)
use_python("/Library/Frameworks/Python.framework/Versions/3.6/bin/python3")
use_virtualenv('tf')
Sys.which("python")
Sys.which("python3")
library(reticulate)
use_python("/usr/local/bin/python3")
use_virtualenv('tf')
Sys.which("python3")
library(reticulate)
use_python("/usr/local/bin/python3")
Sys.which("python3")
library(reticulate)
use_python("/usr/local/bin/python3", required = TRUE)
Sys.which("python3")
install_github("rstudio/reticulate")
library(devtools)
install_github("rstudio/reticulate")
library(devtools)
install_github("rstudio/reticulate")
library(reticulate)
use_python("/usr/local/bin/python3", required = TRUE)
Sys.which("python3")
use_python("/usr/local/bin/python3", required = TRUE)
library(reticulate)
use_python("/usr/local/bin/python3", required = TRUE)
Sys.which("python3")
use_python("/usr/local/bin/python3", required = TRUE)
py_config()
unlink('index_cache', recursive = TRUE)
unlink('index_cache', recursive = TRUE)
knit_with_parameters('~/Documents/dyadxmachina/maths-of-deep-learning-ai/index.Rmd')
setwd("~/Documents/dyadxmachina/maths-of-deep-learning-ai")
unlink('book/index_cache', recursive = TRUE)
unlink('book/index_cache', recursive = TRUE)
install.packages("bookdown")
install.packages("bookdown")
install.packages("bookdown")
unlink('index_cache', recursive = TRUE)
install.packages('pandoc')
unlink('02-logic_cache', recursive = TRUE)
unlink('02-logic_cache', recursive = TRUE)
library(readr)
cat( paste( readLines( "mailchimp.html" ) ) )
bookdown::render_book("index.Rmd", "bookdown::pdf_book")