{"id":"6a321c0e441862f30a1707be","text":"empId = c(1, 2, 3, 4)\r\nempName = c(\"Debi\", \"Sandeep\", \"Subha\", \"Shiba\")\r\nnumberOfEmp = 4\r\n\r\nempList = list(\r\n\"ID\" = empId,\r\n\"Names\" = empName,\r\n\"Total Staff\" = numberOfEmp\r\n)\r\nprint(empList)\r\n\r\ncar(\"Accessing name components using indices\\n\")\r\nprint(empList[[2]])\r\n\r\ncat(\"Accessing Sandeep from name using indices\\n\")\r\nprint(empList[[2]][2])\r\n\r\ncat(\"Accessing 4 from ID using indices\\n\")\r\nprint(empList[[1]][4])","title":"R -progr. 3","password":null,"paste_expiration":1784260877465,"encrypted":null,"createdAt":"2026-06-17T04:01:17.467Z"}