Displaying 6 results from an estimated 6 matches for "bpkg".
Did you mean:
bpg
2005 Jun 23
1
mac osx, g95 package port problem
...on 8.1.0
G95 (GCC 4.0.0 20050124 (experimental) (g95!) 06/20/05)
Here is the Makefile:
F90_FILES=\
dbest_dbase_class.f90 \
...
r_estimate.f90 \
FORTRAN_FILES=\
dgletc.f \
...
mecdf.f
C_FILES=init.c
CFLAGS=-g -fPIC
%.o: %.f90
g95 -c -g $<
%.o: %.f
g95 -c -g $<
%.o: %.c
gcc -c -g $<
bpkg.so: $(F90_FILES:%.f90=%.o) $(C_FILES:%.c=%.o) $(FORTRAN_FILES:%.f=%.o)
g95 -L/Library/Frameworks -o $@ $^ -L/Library/Frameworks/R.framewo\
rk/Resources
-----end makefile------------------------
Here is the relevant output of R CMD CHECK:
* checking for working latex ...sh: line 1: latex: command...
2005 Oct 08
1
windows/g95 peculiarity
...hout problems. The new version of the
package includes extensive changes in the code.
The package has a test function, rtest(), which sets up a testing
scenario and runs it.
If I try to immediately load the library after starting up R and
running rtest(), the following
occurs:
> library("bpkg")
.onLoad: running R_g95_init
> o = rtest()
Testing cm.estimate...
Using short data set (testing)...
25500.0000000000 2499.00000000000 11.0000000000000 300.000000000000
...
5 0.000000000000000
6 0.000000000000000
Operating system error: Not enough space
Memory allocation failed
(R exits...
2005 Sep 28
1
gfortran Makefile for cygwin
...X Makefile:
RLIB_LOC=${R_HOME}
F90_FILES=\
class_data_frame.f90 \
class_old_dbest.f90 \
class_cm_data.f90 \
class_cm.f90 \
class_bgw.f90 \
class_cm_mle.f90 \
cme.f90
FORTRAN_FILES=\
dgletc.f \
dglfgb.f\
dglfg.f\
dmdc.f\
mecdf.f
%.o: %.f90
gfortran -c -g $<
%.o: %.f
gfortran -c -g $<
bpkg.so: $(F90_FILES:%.f90=%.o) $(FORTRAN_FILES:%.f=%.o)
gcc -Wall -bundle -flat_namespace -undefined suppress -L/sw/lib
-L/usr/local/lib -o $@ $^ \
-L$(RLIB_LOC)/lib -lR
###EOF####
The -L lib dirs are not correct. On a *nix platform I would do something
like this
sh -x R CMD SHLIB ...
to get at the...
2005 Sep 28
3
gfortran Makefile for windows
...X Makefile:
RLIB_LOC=${R_HOME}
F90_FILES=\
class_data_frame.f90 \
class_old_dbest.f90 \
class_cm_data.f90 \
class_cm.f90 \
class_bgw.f90 \
class_cm_mle.f90 \
cme.f90
FORTRAN_FILES=\
dgletc.f \
dglfgb.f\
dglfg.f\
dmdc.f\
mecdf.f
%.o: %.f90
gfortran -c -g $<
%.o: %.f
gfortran -c -g $<
bpkg.so: $(F90_FILES:%.f90=%.o) $(FORTRAN_FILES:%.f=%.o)
gcc -Wall -bundle -flat_namespace -undefined suppress -L/sw/lib
-L/usr/local/lib -o $@ $^ \
-L$(RLIB_LOC)/lib -lR
###EOF####
The -L lib dirs are not correct. On a *nix platform I would do something
like this
sh -x R CMD SHLIB ...
to get at the...
2011 Jun 01
1
Overloading S4 methods
Dear all,
I am experiencing some problems with S4 method overloading. I have
defined a generic for graphics:plot, using
setGeneric("plot", useAsDefault = plot)
and with
importFrom('graphics', 'plot') and
exportMethods('plot') in the NAMESPACE file of pkg A.
I then proceed to define a method for signature c('myS4class',
'missing'). This works
2010 Feb 20
1
What is your system for WorkFlow and Source Code Organizing in R ?
Hello dear R users,
Recently there has been several fascinating threads on the website
stackoverflow <http://stackoverflow.com> regarding the subject of R WorkFlow
best practices:
- What best practices do you use for programming in
R?<http://stackoverflow.com/questions/2258092/what-best-practices-do-you-use-for-programming-in-r>
- Workflow for statistical analysis and report