ERROR: UndefVarError: `install` not defined

I am trying to get R working in Julia to no avail.

Here is my input:

using Pkg
Pkg.add("RCall")
using RCall
install.packages("ape", "coda", "RColorBrewer", "fields")

Output:

ERROR: UndefVarError: `install` not defined
Stacktrace:
 [1] top-level scope
   @ REPL[5]:1

Looking at the manual, one way to call R commands is the R"" string macro. For example

R"rnorm(10)"