[R] SNA Matrix

From: Salvaj, Erica <docesalvaj_at_iese.edu>
Date: Tue 02 Jan 2007 - 09:16:23 GMT


Hello  

I export a one mode network from Pajek to R, and the former made an .r file called PajekR.r, that is actually an script to be run in R The problem is that what the file actually does is to set a 0 martrix and then assing to each pair of nodes the corresponding values. Since the matrix is huge (10.000 nodes) a copy/paste procedure is very time consuming, and I guess pretty inefficient. So the question is: are there any way to read directly the .r file in R, without copy and paste the sentences of the script in the R console?  

Erica H. Salvaj
PhD Candidate
IESE Business School
docesalvaj@iese.edu  

This message has been scanned for viruses by TRENDMICRO,\ an...{{dropped}}



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Tue Jan 02 20:22:50 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 02 Jan 2007 - 23:30:29 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.