I'm trying to start Pajek from my C++ program which is part of a VS2008 project. I followed the instructions on this page http://vlado.fmf.uni-lj.si/pub/networks/pajek/howto/execute.htm but I do not know how to actually get Pajek to apply a layout and draw the network from an existing .net file. I had this 11 JS Dev Tools - for more support. I've created the .bat file that starts Pajek and I call it this way:
Following the example on the above link, I'm supposed to execute
system("d:/programi/pajek/runPajek.bat",invisible=TRUE,wait=FALSE) deg <- scan(file="D:/vlado/projects/stat/R/Pajek/may.clu",skip=1) t <- table(deg) pdf(file="D:/vlado/projects/stat/R/Pajek/degrees.pdf") plot(as.integer(names(t)),log(t),xlab="degrees",ylab="log(frequency)") dev.off()
Can that be run from C++? If yes, how?
Thank you, Mihaela.
You should address such questions to Pajek mailing list. Here nobody will see it. A.
Ok, thanks, I will do that. Mihaela.