if (FALSE) {
### Need internet connection
choosebank("emblTP")
mylist <- query("mylist", "sp=felis catus et t=CDS", virtual = TRUE)
# Change list name on server:
setlistname(lrank = glr("mylist"), name = "feliscatus") # 0, OK.
glr("mylist") # 0, list doesn't exist no more.
glr("feliscatus") # 2, this list exists.
# Note the danger here: the object mylist is still present in the user workspace
# while the corresponding list was deleted from server.
}
Run the code above in your browser using DataLab