Difference between revisions of "Pajek installation"

From CCE wiki archived
Jump to: navigation, search
(Installing Pajek)
 
(11 intermediate revisions by the same user not shown)
Line 4: Line 4:
  
 
= Installing Pajek =  
 
= Installing Pajek =  
To download and install Pajek, follow instructions on the [http://pajek.imfm.si/doku.php?id=download Pajek wiki]. For compatibility with the book, download the [http://vlado.fmf.uni-lj.si/pub/networks/book/ ESNA Book Edition version (October 1, 2004)], named "Pajek.be.exe". You may like to download the latest version as well, but without the older Book Edition there is no guarantee that everything will work as the book says it should.  
+
To download and install Pajek, follow instructions on the [http://pajek.imfm.si/doku.php?id=download Pajek wiki]. For compatibility with the book, download the [http://vlado.fmf.uni-lj.si/pub/networks/book/ ESNA Book Edition version (October 1, 2004)], named "Pajek.be.exe". You may like to download the latest version as well, but without the older Book Edition there is no guarantee that everything will work as the book says it should.  On the other hand, more recent versions may be improved, and will provide basically the same functionality.  Your pick. You might like to have both.
  
Special instructions for the Mac:  Installation on a Mac requires that you first download and install [http://winebottler.kronenberg.org/ WineBottler]. Ensure that you have X11 (supplied by Apple) installed as well.  Download Pajek.exe and open it with Wine.  You will then be asked whether you wish to run using Wine, or to create a standalone application using WineBottler.  
+
Special instructions for the Mac:  Installation on a Mac requires that you first download and install [http://winebottler.kronenberg.org/ WineBottler]. Ensure that you have X11 (supplied by Apple) installed as well.  Download Pajek.exe and open it with Wine.  You will then be asked whether you wish to run using Wine, or to create a standalone application using WineBottler.  Note that Macs require the 32 bit version - 64 bit version will not work (at least not on my mac).
  
 
[[Image:UsingWine.jpg]]
 
[[Image:UsingWine.jpg]]
Line 12: Line 12:
 
I suggest you select the latter option, which will create a standalone Pajek application for your Mac.
 
I suggest you select the latter option, which will create a standalone Pajek application for your Mac.
  
= Pajek Documentation and tutorials =
 
  
[http://vlado.fmf.uni-lj.si/pub/networks/pajek/howto/FirstSteps.PDF First steps]
+
'''Note:  if the above site is down try downloading the WineBottler installer [http://www.fwalive.ualberta.ca/~michaelf/WineBottlerCombo_1.1.44.dmg from here]'''.
  
[http://vlado.fmf.uni-lj.si/pub/networks/pajek/doc/pajekman.pdf Full manual]
+
= Data files required for ESNAP (and manual) =
  
[http://vw.indiana.edu/tutorials/pajek/ Useful tutorial]
+
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).
  
= Pajek data files =
+
= Other software for Pajek =
  
Pajek reads and saves network data by using special files with extensions such as "net", "clu", "vec", and "paj".  The "net" file stores a network; "clu" and "vec" store cluster (integer) and vector (real) arrays, assigning one value per node.  A "paj" file can combine other files, saving the time of reading them all in separately.  You may create networks from within Pajek, in which case Pajek will create these files for you when you save.  Or you may wish to create the files yourself.  But be careful - these files must be pure text, without any additional formatting information (such as word processors like Word usually add)...or they won't work.
+
These two programs are very useful for generating Pajek files out of data presented in a different format:
  
On Windows, create data files using a simple text editor, such as Wordpad, that saves text only. You may need to change the file extension (and note that Windows tries to hide this file extensions, so you may have to customize your environment to see them) from "txt" to "net", "clu", "vec", or "paj", as needed. Other text editors may also be able to create readable Pajek files - try and see what works.
+
[http://pajek.imfm.si/doku.php?id=faq:text2pajek txt2pajek]: Converting text file data sets into Pajek format
  
For Mac, follow these instructions:
+
[http://vlado.fmf.uni-lj.si/pub/networks/pajek/howto/excel2Pajek.htm excel2Pajek]: Converting excel sheets into Pajek format
  
* Create a folder on your Desktop called "AAA Pajek Data", with as many subfolders as you like. You can create an alias to this folder and keep it anywhere else, but having this folder on the Desktop will save time, because the Mac version of Pajek requires that you navigate from the top level of your directory hierarchy.
+
= Help =
* I suggest that you create your Pajek files using Word. Be sure to turn off "Smart Quotes" (so that quotation marks appear "straight"); in MS Word 2008 for Mac this option appears under menus ''Tools/AutoCorrect/AutoFormat as You Type'' (other versions may place it elsewhere). Be sure to enter a carriage return ("return") after every line, and leave no blank lines. Save your files using output format “Text only with line breaks”. This will force the file into the required plaintext PC format (where line breaks contain both a carriage return and a newline, unlike unix which  uses newline only). Word wants to add the ".txt" extension to such files - delete that and replace with the required file extension instead. Other text editors may also be able to create readable Pajek files - try and see what works.
 
  
= Data files for ESNAP =
+
More help is [[Pajek help|available]]!
 
 
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.
 

Latest revision as of 14:56, 22 September 2011

Pajek is powerful, free social network analysis software. It runs natively on Windows, and via Wine on Mac or Linux.

Users should consult the Pajek wiki, as well as the older (but not entirely obsolete) website.

Installing Pajek

To download and install Pajek, follow instructions on the Pajek wiki. For compatibility with the book, download the ESNA Book Edition version (October 1, 2004), named "Pajek.be.exe". You may like to download the latest version as well, but without the older Book Edition there is no guarantee that everything will work as the book says it should. On the other hand, more recent versions may be improved, and will provide basically the same functionality. Your pick. You might like to have both.

Special instructions for the Mac: Installation on a Mac requires that you first download and install WineBottler. Ensure that you have X11 (supplied by Apple) installed as well. Download Pajek.exe and open it with Wine. You will then be asked whether you wish to run using Wine, or to create a standalone application using WineBottler. Note that Macs require the 32 bit version - 64 bit version will not work (at least not on my mac).

UsingWine.jpg

I suggest you select the latter option, which will create a standalone Pajek application for your Mac.


Note: if the above site is down try downloading the WineBottler installer from here.

Data files required for ESNAP (and manual)

Download these 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).

Other software for Pajek

These two 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!