I use RStudio for my project, I want a separate screen for output. I tried with sink() but I need a new popup. My code
vd<-data.frame() vd<-c("V1","V2") vf<-length(vd) i<-1 while(i<=vf){ vd<-c("V1","V2") #print(vd) leng<-length(vd) selectru<-combn(vd,leng) #print(selectru) print(selectru[i]) fst<-selectru[i] select<-data.frame() select<-selectru[selectru[,1]!=selectru[i],] m<-length(select) select<-combn(select,m) snd <-apply(select,2,function(rows) paste0(rows, collapse = "")) cat(sprintf("\"%s\" =>\"%s\"\n", fst,snd)) i<-i+1 }
This data is not actual, just approximate data.
Is it possible to show the output "ONLY" in a separate window or browser window? no need to show a graph or graph.
r rstudio sink
varun cyriac
source share