If you only want to write an analysis package to assist your research on Social Network Analysis, then you could try to download one of these
software packages from the International network for Social Network Analysis. Afterall, why reinvent the wheel if there is already a freeware to do what you want. :-)
You mentioned that the RSPerl package was not working properly on your system, can you please describe what is happening and why you think it is not working in detail, so we can perhaps help you to rectify the problem.
By the way, the latest R is version 1.8 on http://cran.r-project.org/, perhaps you should consider an upgrade...