[R] SNA Matrix

Simon Blomberg blomsp at ozemail.com.au
Tue Jan 2 23:24:42 CET 2007


?source

Salvaj, Erica wrote:
> 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 at iese.edu
>  
>
>
> This message has been scanned for viruses by TRENDMICRO,\ an...{{dropped}}
>
> ______________________________________________
> R-help at 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.
>
>   
-- 
Simon Blomberg, B.Sc.(Hons.), Ph.D, M.App.Stat. 
Centre for Resource and Environmental Studies
The Australian National University              
Canberra ACT 0200                               
Australia                                       
T: +61 2 6125 7800 email: Simon.Blomberg_at_anu.edu.au
F: +61 2 6125 0757
CRICOS Provider # 00120C

The combination of some data and an aching desire for 
an answer does not ensure that a reasonable answer 
can be extracted from a given body of data.
- John Tukey.



More information about the R-help mailing list