# first, delete existing windows to save memory:
deleteAllWindows(CytoscapeConnection())
cy <- CytoscapeConnection ()
getWindowList (cy)
# NULL
cw2 <- CytoscapeWindow ('getWindowList.test1', graph=makeSimpleGraph())
cw3 <- CytoscapeWindow ('getWindowList.test2', graph=makeSimpleGraph())
getWindowList (cy)
# [1] "getWindowList.test2" "getWindowList.test1"
Run the code above in your browser using DataLab