[R] Recompile a package

From: Yuliya Matveyeva <yuliya.rmail_at_gmail.com>
Date: Wed, 11 May 2011 12:53:21 +0400


Hello, dear R community.
 The thing is that I am not in the least a developer, neither do I want to create a package of my own.
But recently I have found a package LogicForest, which is in the base written in Fortran I think. And well,
in its manual it is written that there are several parameters there that had had to be "hard coded", but which
in essence actually have no restrictions. So if one needs to change them, he sure can, only that he has to change
a file with an .f or .ff extension (I believe that it stands for Fortran code, but I am not sure) and then recompile it.

http://finzi.psych.upenn.edu/R/library/LogicReg/html/logreg.html

I have found several posts in the mailing-archive, but they seem to deal with Windows.
And I have a Gentoo-based distro.

I have also found a manual "Installation and Administration". But it all seems to be destined for developers... and usually talks about creating your own package,
or about installing a package anew.
What I need is just recompile a package, in which I have manually changed several files.
I really am kinda silly in these kinds of things... So any hints and help would be greatly appreciated.

I have tried R CMD COMPILE condlogic.ff
But it tells me:
ERROR: don't know how to compile 'condlogic.ff' I am probably not getting something...

And there is no `src` subdirectory for this package, nor any .cpp files in the package directory either... Can somebody please explain to me on which kinds of files can I and should I use R CMD COMPILE ?

/*The Fortran compiler is installed*/


My sessionInfo() :

R version 2.10.1 (2009-12-14)
x86_64-pc-linux-gnu

locale:
[1] C

attached base packages:
[1] stats graphics grDevices utils datasets methods base


Thank you in advance.
Yulia.

        [[alternative HTML version deleted]]



R-help_at_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. Received on Wed 11 May 2011 - 08:58:15 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 11 May 2011 - 09:20:05 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.

list of date sections of archive