Menu

Using CiteSpace on Mac

Download the 7z File
To use CiteSpace on Mac, you need to download the 7z file to your Mac. You can then use the Unarchiver tool to unpack the 7z file. You will see a new folder named similar to 5.3.R10.2.2.2019.
Launch CiteSpace
Although you may double click on the CiteSpaceV.jar file directly to launch CiteSpace, I recommend you use the following approach. It allows you to optimize the use of your computer's RAM. CiteSpace will run faster with more RAM and it will be able to handle a bigger dataset too.
To launch CiteSpace with a customized amount of RAM, create a simply shell script. You can name the shell script in anyway you like, for example, run.sh or launch.sh.
Open a Terminal on Mac and use the nano text editor to create the run.sh script:
nano run.sh
If you have never used nano, me neither. Very simply to use. Use Control + o to save the content of the file. You will be prompted with "File Name to Write: run.sh" at the bottom of the nano editor. Simply hit the Enter key. When you are done with nano, use Control + x to quit.
Now the content of the run.sh script:
#!/bin/bash
echo Launching CiteSpace …
java -Dfile.encoding=UTF-8 -Duser.country=US -Duser.language=en -Xms1g -Xmx4g -Xss5m -jar CiteSpaceV.jar

Refresh the .citespace directory on Mac
If you have installed an earlier version of CiteSpace, you might need to refresh the .citespace directory so that CiteSpace can have a clean start. For example, if CiteSpace cannot load projects you have created with earlier versions of CiteSpace, you may need to follow the refresh steps. The general idea is the same regardless on Windows or Mac.
I am borrowing my son's Mac so I will use his username stevenchen as an example. I will use a Terminal window to locate the .citespace directory and remove it along with any files and subdirectories in it. If you are not familiar with Mac, like me, you can use Launchpad and search for Terminal. Once you open up a Terminal window, you would land in the home directory associated with your username, e.g. /Users/stevenchen. You can verify this with the command pwd. Usually, .citespace would be hidden from your listing if you use ls only. Use the following command instead:
ls -la .citespace
If it turns out that you do not have a .citespace directory in your home directory, then you can skip the removal steps and start CiteSpace directly.
To remove the .citespace directory, use the following command. Don't worry, CiteSpace will automatically generate a new .citespace with the latest files.
rm -R .citespace
Start CiteSpace on Mac
Suppose you have donwloaded the 7z file and unpacked it under your downloads directory, e.g. /Users/stevenchen/downloads/5.3.R4.8.31.2018, you can enter the following command in the Termainal window to launch CiteSpace:
sh StartCiteSpace_Mac.sh
Follow the prompt, CiteSpace will start to configure two demo projects for you to get started:
Demo 1: Terrorism (1996-2003)
Demo 2: Scientometrics (1980-2016)

Posted by Chaomei Chen 2019-02-08

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.