list merge operation
merged.list <- merge(mylist, listSimple) is not working
error:Error in print(merged.list) : object 'merged.list' not found

R Lists-and-its-Operations 06-07 min 0-10 sec 30-04-20, 4:21 p.m. archana.naware@gmail.com

Answers:

In the tutorial, the following command for merging lists has been used: 
merged.list <- c(myList, listSimple)

Please try this one. 
30-04-20, 4:31 p.m. sudhakarst


mergedlist <- list(mylist, listSimple) can also be used 
01-05-20, 4:15 p.m. angaiaruvi@gmail.com


try this 
 l1 = c("one","two","three")
 merged.list = c(mylist, l1)
 print(merged.list)

 or 
 l1=c("one","two","three")
 mylist = list(captaincy, matrixA, myvector, l1)
05-05-20, 7:20 p.m. suhailalphacs


Click here to reply/comment online