Skip to content
Back to formatted view

Raw Message

Message-ID: <4198987A.7060304@web.de>
Date: 2004-11-15T12:54:54Z
From: Andreas Quandt
Subject: installation of source library with fortran code
In-Reply-To: <2F214374-36F5-11D9-B865-000D93C24D64@stat.harvard.edu>

dear bryon,

> Could you post a transcript of what you're trying to do? 

i try to make a package from existing r functions. that means i load the 
functions with "source()" in R and use "package.skeleton()". After it i 
add the fortran code (written under win) in the src-folder and try "R 
CMD check" which tells me the package is not a source package:

* checking for working latex ... OK
* using log directory '/Users/andqua/Documents/TMP/Test.Rcheck'
* checking for file 'Rsmooth/DESCRIPTION' ... OK
* checking if this is a source package ... ERROR
Only *source* packages can be checked.

If i try to build a tar.gz file with "R CMD build" than i get following 
message:

(andqua@g4an:Rlibrary)R CMD INSTALL Test/ -l 
/Users/andqua/Documents/Rlibrary/
* Installing *binary* package 'Test' ...
* DONE (Test)

for my understanding this should be wrong because the package is no 
binary and if i try to load this package with "library(test)" i get the 
error message that the packagae is unknown.

So i guss the problem is the fortran code (devweloped under win xp)  but 
i have no idea to solve this problem because should can compile the code 
because g77 is installed and gcc also.
Furthermore i have no administrative rights at this pc but that should 
be not a problem if i change add my own folder "Rlibrary" with 
".libPaths()" to the known libraries.

hope the descripion of my problem was more detailed now and helps to 
find a answer for my problem.
best regards
andreas