File tree 2 files changed +10
-8
lines changed
2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -321,11 +321,12 @@ mean(1:10)
321
321
322
322
- ` <- ` assigns/creates in the current environment
323
323
324
- - ` <<- ` (deep assignment) never creates a variable in the current
325
- environment, but modifies an existing variable in the current or
326
- first enclosing environment where that name is defined.
324
+ - ` <<- ` (deep assignment) never creates/updates a variable in the
325
+ current environment, but modifies an existing variable in the
326
+ current or first enclosing environment where that name is defined.
327
327
328
- - If ` <<- ` does not find the name, it will create the variable in the global environment.
328
+ - If ` <<- ` does not find the name, it will create the variable in the
329
+ global environment.
329
330
330
331
``` {r, eval=TRUE}
331
332
library("fortunes")
Original file line number Diff line number Diff line change @@ -348,11 +348,12 @@ mean(1:10)
348
348
349
349
- ` <- ` assigns/creates in the current environment
350
350
351
- - ` <<- ` (deep assignment) never creates a variable in the current
352
- environment, but modifies an existing variable in the current or
353
- first enclosing environment where that name is defined.
351
+ - ` <<- ` (deep assignment) never creates/updates a variable in the
352
+ current environment, but modifies an existing variable in the
353
+ current or first enclosing environment where that name is defined.
354
354
355
- - If ` <<- ` does not find the name, it will create the variable in the global environment.
355
+ - If ` <<- ` does not find the name, it will create the variable in the
356
+ global environment.
356
357
357
358
358
359
``` r
You can’t perform that action at this time.
0 commit comments