Pajek installation: Difference between revisions

From Canadian Centre for Ethnomusicology
Jump to navigation Jump to search
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
Pajek is powerful, free social network analysis software. It runs natively on Windows, and via a Windows emulator on Mac or Linux.
Pajek is powerful, free social network analysis software. It runs natively on Windows, and via a Windows emulator on Mac or Linux.
Pajek is basic software for this course. It's extremely powerful and it's integrated with our text book, [https://search.library.ualberta.ca/catalog/8303932 Exploratory Social Network Analysis with Pajek]'' (abbreviated: ESNAP), 3rd edition, and it runs on nearly any computer (though if you prefer you can use the lab computers, where it's been preinstalled).


Users should consult the [http://mrvar.fdv.uni-lj.si/pajek/ Pajek home page] for downloads and extensive documentation.
Users should consult the [http://mrvar.fdv.uni-lj.si/pajek/ Pajek home page] for downloads and extensive documentation. See below for instructions.


= Installing Pajek =  
= Installing Pajek =  
Pajek is basic software for this course. It's extremely powerful and it's integrated with our text book, and it runs on nearly any computer (though if you prefer you can use the lab computers, where it's been preinstalled).


== On a PC ==
== On a PC ==
To download and install Pajek, follow instructions on the [http://mrvar.fdv.uni-lj.si/pajek/ download page]. I suggest the 64 bit version called simply "Pajek". PajekXXL and Pajek3X are used for very large networks (millions of nodes).  If your computer doesn't run 64 bit, download 32 bit version instead.
To download and install Pajek, follow instructions on the [http://mrvar.fdv.uni-lj.si/pajek/ download page]. I suggest the 64 bit version called simply "Pajek". PajekXXL and Pajek3X are used for very large networks (millions of nodes) and work a bit differently, so don't use those unless you actually need them.  If your computer doesn't run 64 bit, download 32 bit version instead.


== On a Mac ==
== On a Mac ==
Note the Pajek is a Windows application.  
Note the Pajek is a Windows application.  
Special [http://mrvar.fdv.uni-lj.si/pajek/MAC/PajekOSX1.pdf instructions for running Pajek on the Mac] via an application called Wine are available on the Pajek wiki.  You can also [http://mrvar.fdv.uni-lj.si/pajek/MAC/LinuxTut.pdf run Pajek on Linux via Wine].
Special [http://mrvar.fdv.uni-lj.si/pajek/MAC/PajekOSX1.pdf instructions for running Pajek on the Mac] via an application called Wine are available on the Pajek wiki.  You can also [http://mrvar.fdv.uni-lj.si/pajek/MAC/LinuxTut.pdf run Pajek on Linux via Wine].  ''I suggest you use the 32 bit version'' (I've not gotten the 64 bit version to run on my own Mac under Wine).
   
   
Alternatively, on any Intel Mac you can simply run Windows, and then there's no special hurdle: you'll be able to run any Windows software you like, including Pajek. Three ways to do this:
Alternatively, on any Intel Mac you can simply run Windows, and then there's no special hurdle: you'll be able to run any Windows software you like, including Pajek.  
 
There are at least four ways to do this with a Windows emulator if you have a copy of Windows or are willing to buy one:
* [https://support.apple.com/en-ca/HT201468 Bootcamp], which is included with the Mac. This option requires a special partition for Windows.
* [https://support.apple.com/en-ca/HT201468 Bootcamp], which is included with the Mac. This option requires a special partition for Windows.
* Invest in [https://www.parallels.com/blogs/student-discount-on-parallels-desktop-for-mac/ Parallels], an emulator that allows quick switching back and forth between Mac and Windows.
* Invest in [https://www.parallels.com/blogs/student-discount-on-parallels-desktop-for-mac/ Parallels], an emulator that allows quick switching back and forth between Mac and Windows.
* Or use the free [https://ualberta.onthehub.com/WebStore/OfferingDetails.aspx?o=c58f2cd0-42ce-e811-810b-000d3af41938&pmv=00000000-0000-0000-0000-000000000000 VMware]  
* Use the free [https://ualberta.onthehub.com/WebStore/OfferingDetails.aspx?o=c58f2cd0-42ce-e811-810b-000d3af41938&pmv=00000000-0000-0000-0000-000000000000 VMware]  
* Or the open source https://www.virtualbox.org/


You'll need a copy of Windows for any of these options. Sign up for [https://portal.azure.com/?Microsoft_Azure_Education_correlationId=08b26d10-72b1-4086-a860-eaae0cfd7000#blade/Microsoft_Azure_Education/EducationMenuBlade/quickstart Microsoft Azure] to obtain Windows. You register with a personal Microsoft Account, and then verify you are with the University of Alberta.  [https://ist.ualberta.ca/ IST help desk] can assist you if you have troubles.
Alternatively sign up for [https://portal.azure.com/?Microsoft_Azure_Education_correlationId=08b26d10-72b1-4086-a860-eaae0cfd7000#blade/Microsoft_Azure_Education/EducationMenuBlade/quickstart Microsoft Azure] to obtain a Windows virtual machine, free for one year. You register with a personal Microsoft Account, and then verify you are with the University of Alberta. Once on Azure there is a product in the list titled: 'Windows 10 (consumer editions), version 1903 - DVD' This should work to install on the virtual machine.  [https://ist.ualberta.ca/ IST help desk] can assist you if you have troubles.  


Once you have your emulator running, follow instructions for "On a PC" above and you should be all set!
Once you have your emulator running, follow instructions for "On a PC" above and you should be all set!
Note: If you use a Windows emulator another problem arises: how to share files between the Mac and Windows (which runs in a virtual machine with its own file system)? The best way is probably to share files via a cloud service, such as a Google Drive folder or Dropbox. Set up a folder specifically for this course and you can read and write files both from the Mac and from the Windows emulator. ''Note that file formats are slightly different though so it may be best to work entirely in Windows in many cases.''


= Data files required for ESNAP (and manual) =
= Data files required for ESNAP (and manual) =


Download these [http://vlado.fmf.uni-lj.si/pub/networks/data/esna/default.htm sample data sets] for use with the textbook. Store them in your Pajek Data directory for future reference. You'll also find a Pajek manual for reference (but ESNAP is a better guide).
Download these [http://mrvar.fdv.uni-lj.si/pajek/be3/ESNA3Data.zip data sets] for use with the textbook. Store them in your Pajek Data directory for future reference. You'll also find a Pajek manual for reference (but ESNAP is a better guide).  It may be helpful to keep all Pajek data files on your desktop or download folder, to find them easily.


= Other software for Pajek =
= Other software for Pajek =

Latest revision as of 12:37, 10 September 2019

Pajek is powerful, free social network analysis software. It runs natively on Windows, and via a Windows emulator on Mac or Linux. Pajek is basic software for this course. It's extremely powerful and it's integrated with our text book, Exploratory Social Network Analysis with Pajek (abbreviated: ESNAP), 3rd edition, and it runs on nearly any computer (though if you prefer you can use the lab computers, where it's been preinstalled).

Users should consult the Pajek home page for downloads and extensive documentation. See below for instructions.

Installing Pajek

On a PC

To download and install Pajek, follow instructions on the download page. I suggest the 64 bit version called simply "Pajek". PajekXXL and Pajek3X are used for very large networks (millions of nodes) and work a bit differently, so don't use those unless you actually need them. If your computer doesn't run 64 bit, download 32 bit version instead.

On a Mac

Note the Pajek is a Windows application. Special instructions for running Pajek on the Mac via an application called Wine are available on the Pajek wiki. You can also run Pajek on Linux via Wine. I suggest you use the 32 bit version (I've not gotten the 64 bit version to run on my own Mac under Wine).

Alternatively, on any Intel Mac you can simply run Windows, and then there's no special hurdle: you'll be able to run any Windows software you like, including Pajek.

There are at least four ways to do this with a Windows emulator if you have a copy of Windows or are willing to buy one:

  • Bootcamp, which is included with the Mac. This option requires a special partition for Windows.
  • Invest in Parallels, an emulator that allows quick switching back and forth between Mac and Windows.
  • Use the free VMware
  • Or the open source https://www.virtualbox.org/

Alternatively sign up for Microsoft Azure to obtain a Windows virtual machine, free for one year. You register with a personal Microsoft Account, and then verify you are with the University of Alberta. Once on Azure there is a product in the list titled: 'Windows 10 (consumer editions), version 1903 - DVD' This should work to install on the virtual machine. IST help desk can assist you if you have troubles.

Once you have your emulator running, follow instructions for "On a PC" above and you should be all set!

Note: If you use a Windows emulator another problem arises: how to share files between the Mac and Windows (which runs in a virtual machine with its own file system)? The best way is probably to share files via a cloud service, such as a Google Drive folder or Dropbox. Set up a folder specifically for this course and you can read and write files both from the Mac and from the Windows emulator. Note that file formats are slightly different though so it may be best to work entirely in Windows in many cases.

Data files required for ESNAP (and manual)

Download these data sets for use with the textbook. Store them in your Pajek Data directory for future reference. You'll also find a Pajek manual for reference (but ESNAP is a better guide). It may be helpful to keep all Pajek data files on your desktop or download folder, to find them easily.

Other software for Pajek

These two (Windows) programs are very useful for generating Pajek files out of data presented in a different format:

txt2pajek: Converting text file data sets into Pajek format

excel2Pajek: Converting excel sheets into Pajek format

Help

More help is available!