Search notes:

R function: ls

ls shows the variables and functions that are defined in a workspace (or environment(?)).
Variables whose names start with a dot are not returned by default. Setting all.names to TRUE changes this behavior.
#
#   See also  -> objects(), search()
#
var_1 <- 42
var_2 <- sqrt(var_1)
var_3 <- var_2 * var_2
.hidden <- "Not shown by ls"

ls()
# [1] "var_1" "var_2" "var_3"

ls(all.names = TRUE)
# [1] ".hidden" "var_1"   "var_2"   "var_3"

.hidden
# [1] "Not shown by ls"


ls('package:base')
#
#  Compare with apropos()
#
Github repository about-r, path: /functions/ls.R
The functions ls and objects are identical.

See also

development/languages/R/functions/ls.str
Index to (some) R functions

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1759406329, '216.73.216.42', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/languages/R/functions/ls(72): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78