Do you want to model some event data using Point Processes?. I did too, and unfortunately tried to use R to do this.

package ‘ptproc’ is not available (as a binary package for R version 3.1.3) 

Great!. So I go here and download the tar.gz file and try to install from source:

> install.packages("ptproc",  repos="", 
trying URL ''
Content type 'application/x-gzip' length 282002 bytes (275 KB)
opened URL
downloaded 275 KB

* installing *source* package ptproc ...
ERROR: a 'NAMESPACE' file is required
* removing /Library/Frameworks/R.framework/Versions/3.1/Resources/library/ptproc

The downloaded source packages are in
Warning message:
In install.packages("ptproc", repos = "",  :
  installation of package ptproc had non-zero exit status

The solution that ended up working was download it manually, add the NAMESPACE file, re-zip, and install:

1  cd ptproc
2  echo 'exportPattern( "." )' > NAMESPACE
3  cd ../
4  rm ptproc_1.5-1.tar.gz
5  tar cvzf ptproc/ ptproc_1.5-1.tar.gz

I ended up installing the package via RStudio (TOOLS->Install Packages), but it runs from the regular R REPL now also.