Thank you for the tip. I was used to inserting write statements and was 
surpised when it didn't work and reading this section I see that I shouldn't 
have been doing this anyway.

One more question. Is there another call that I can use to print out a 
2-dimensional array? Since FORTRAN stores as column major it is hard to print 
out an array by row as 'R' does. Also it doesn't mention how to not specify the 
data to be printed out so that just the label is printed. It (the manual) just 
says it is possible.

Thanks again.

Kevin

---- Uwe Ligges <lig...@statistik.tu-dortmund.de> wrote: 
> Since no more information is given:
> See Writing R Extensions, currently section 6.5: "Printing" and 6.5.1 
> "Printing from FORTRAN"
> 
> 
> Uwe Ligges
> 
> 
> 
> On 17.02.2010 03:50, rkevinbur...@charter.net wrote:
> > I found the problem but not a solution. It turns out if I add the following 
> > lines to dqrdc2.f I get the error:
> >
> >            write(*,300) ldx,n,p
> >    300 format(3i4)
> >
> > I don't get a compile error but I get the seemingly unrelated error in 
> > linking R.DLL
> > I guess the question now is, "How do I add a simple print statement?". Or, 
> > what is wrong with the above print statement?
> >
> > Thank you.
> >
> > Kevin
> >
> > ______________________________________________
> > R-help@r-project.org 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.

______________________________________________
R-help@r-project.org 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.

Reply via email to