Skip to content

Commit ef07281

Browse files
Update vignettes/datatable-reference-semantics.Rmd
Co-authored-by: Benjamin Schwendinger <[email protected]>
1 parent 8aef2be commit ef07281

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vignettes/datatable-reference-semantics.Rmd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,8 @@ z_cpy # 1 2 3
387387

388388
To select a single column as a vector, remember:
389389
- `DT[, mycol]` is safer as it always returns a new, independent copy.
390-
- `DT$mycol` is fast but may return a reference. Use `copy(DT$mycol)` to guarantee independence.
390+
- `DT$mycol` is fast but may return a reference.
391+
- Use `copy(DT$mycol)` to guarantee independence.
391392

392393
## Summary
393394

0 commit comments

Comments
 (0)