Hi R users,
I'm trying to build an R package and most of the work have been done in
Fortran programming.
I looked for help for a while and seems like R can only call Fortran
subroutines. Now my fortran code has modules, subroutines and main program.
Is there anyway that R can call such fortran p
Hello R users,
I have difficulties when trying to make R packages. I tried to read many
tutorials but still could not find out the right way. Could any one help me
out please? (I'm using Windows xp.)
After running package.skeleton() and edit those RD files, I don't know how
to use Rtools (or CMD
Let me give you a not that efficient one...
assume you have read the matrix (named as x) into R:
n=dim(x)[1]
y=matrix(0,n,n)
for (i in 1:n) y[x[i,1],x[i,2]]=x[i,3]
--
View this message in context:
http://r.789695.n4.nabble.com/matrix-problem-tp2320193p2320219.html
Sent from the R help mailin
3 matches
Mail list logo