Displaying 20 results from an estimated 900 matches similar to: "problem with Rcmd check and fortran95, makefile"
2005 Sep 28
3
gfortran Makefile for windows
Hi all,
(Originally posted to r-help)
I'm porting a package that I've worked on for OS X to Windows.
The package is written in F95 so I need to compile it with gfortran
and link it with gcc4.
I've been trying to build an R with gcc4 without luck so far. If there is
a binary of such a thing info would be appreciated.
This package requires a Makefile. My question is, how can I find
2005 Jun 23
1
mac osx, g95 package port problem
Hi all,
I have a working package for linux, including fortran 95 code compiled with
g95,
that I need to port to OS X. The package works on Linux and seems to load on
the Mac,
but when I try to run a function that calls C or Fortran I'm told that the
symbol is not loaded.
I'm developing via a shell account on an OS X system, I don't have access to
a desktop.
The set up is:
R
2005 Mar 27
3
F90
Hello!
Has anyone successfully compiled F90 sources in R-package? I found the
same question on r-devel list from 2002 and I wonder if there is any
progress. I heard that g95 and gfortran can be usable.
And one more thing. I have a program written in F90 and lets suppose that
compiler is not a problem. I've read manual 'Writing R Extensions' and
successfully loaded one F77 subroutine
2005 Mar 27
3
F90
Hello!
Has anyone successfully compiled F90 sources in R-package? I found the
same question on r-devel list from 2002 and I wonder if there is any
progress. I heard that g95 and gfortran can be usable.
And one more thing. I have a program written in F90 and lets suppose that
compiler is not a problem. I've read manual 'Writing R Extensions' and
successfully loaded one F77 subroutine
2006 Dec 21
4
where is the source code of bca.ci?
i was searching for the source of bca.ci, a function of the package
boot. I tried
require(boot, keep.source=TRUE)
but again the source was not viewable. How should i do?
Best regards
Meinhard Ploner
----------------
PS
> version
_
platform i386-apple-darwin8.8.1
arch i386
os darwin8.8.1
system i386, darwin8.8.1
status
major 2
2004 Mar 23
3
how to modify variables of another frame (but not global)
Hello!
Maybe "frame" is not the right term in this context.
I explain my problem by example code:
fun2 <- function(objName, add) {
## the object "objName" should be increased by "add",
## but the evaluation should be done in the calling function (here:
fun1)
## ...... what's the right code??
}
fun1 <- function() {
x <- 1
fun2("x",
2007 Jul 13
2
trouble compiling Hmisc package
Hi:
We're trying to install the Hmisc package on a Solaris 9 machine.
Here's what we get:
R CMD INSTALL /usr/local/srctree/Hmisc_3.4-2.tar.gz
* Installing to library '/usr/local/lib/R/library'
* Installing *source* package 'Hmisc' ...
** libs
g95 -fPIC -g -O2 -c cidxcn.f -o cidxcn.o
g95 -fPIC -g -O2 -c cidxcp.f -o cidxcp.o
g95 -fPIC -g -O2 -c hoeffd.f -o
2005 Dec 12
2
export from R to MySQL
Hi R user!
What is the fastest way to export a large matrix or vector to a MySQL
database? The use of data.frame() and dbWriteTable() makes the process
slow, so is there any <direct> alternative?
Regards
Meinhard Ploner
2002 Feb 22
3
storing large data.frame's
I am new on R, so I have a maybe naive question:
if I have many large data.frames and I use only one or two per session,
what's the best way?
If all are stored in the actual .Rdata, the system gets slow.
On the other hand, I wouldn't like to make a separate package for the
data.
Should I save it with save() and then remove it with rm() ?
Could I reload it then?
Thanks for suggestions
2008 Jan 26
1
Capturing info from system calls in Windows
Colleagues,
I am preparing scripts that will be used by others on both Windows and
Linux/OSX platforms. The scripts call an existing Fortran
application. The user may have any of a a variety of Fortran
compilers - my goal is to determine whether or not the test command
returns "no input files" or "command not found" (i.e., so that I can
confirm which Fortran they
2005 May 18
2
Fortran 95 in R ?
Is it possible to run Fortran 95 code from R? I don't think so, but
hopefully someone can prove me wrong.
Here is the test I tried:
A little fortran 95 subroutine:
subroutine allloc()
real, dimension(:, :), allocatable :: a
integer :: n
n = 10
allocate(a(n,n+1))
end
I then compiled:
>g95 -c allloc.f
>R CMD SHLIB allloc.o
Here is what happens when I try to dyn.load it in R 2.1.0
2005 May 18
2
Fortran 95 in R ?
Is it possible to run Fortran 95 code from R? I don't think so, but
hopefully someone can prove me wrong.
Here is the test I tried:
A little fortran 95 subroutine:
subroutine allloc()
real, dimension(:, :), allocatable :: a
integer :: n
n = 10
allocate(a(n,n+1))
end
I then compiled:
>g95 -c allloc.f
>R CMD SHLIB allloc.o
Here is what happens when I try to dyn.load it in R 2.1.0
2005 May 20
1
R 2.1 and gfortran
From the configure output of the latest devel snapshot:
> checking for g77... no
> checking for f77... no
> checking for xlf... no
> checking for frt... no
> checking for pgf77... no
> checking for fl32... no
> checking for af77... no
> checking for fort77... no
> checking for f90... no
> checking for xlf90... no
> checking for pgf90... no
> checking for
2003 May 21
2
overlapping a plot with an external image
It's possible to overlap an external image (jpg or pdf)
with a plot generated with R?
Specifying the image as the background
of the plot might not be possible...
any idea?
thanks
Meinhard Ploner
2004 Jul 08
1
building packages with NAMESPACE
hi!
I tried to build a very simple package with NAMESPACE file,
such that datasets are loaded only dynamically.
> a2 <- function(x=a1) x+4
> a1 <- 1:10
> package.skeleton("aaa", list=c("a1", "a2"))
Then I modified the help files and added the file NAMESPACE with these
2 lines:
useDynLib(aaa)
export(a1, a2)
Then "R CMD BUILD aaa" works
2009 Mar 11
1
libf95.a: could not read symbols?
I'm sorry for having to post this, but I've run out of ideas. I've been
trying to build R-2.8.1 from source for installation on FreeBSD 6.4
(seems to be working fine on osx) and keep getting the same results,
regardless of how I set ./configure
$ ./configure --enable-R-shlib --with-x=no --with-blas FFLAGS="-fpic"
R is now configured for x86_64-unknown-freebsd6.0
Source
2004 Sep 24
2
emacs, Mac OS X, R
Hi!
Since August I am using emacs on my Macintosh to edit the R objects. I
have installed R 1.9.1, Mac OS X 10.3.5 and GNU Emacs 21.2.1. However
there are some issues I haven't resolved:
a) switch the caps lock key to the meta key (and when this is not
possible, switch the alt/option key to the meta). The switch should
work only within emacs!
b) having different colors for the code,
2004 Sep 29
2
problems with ESS & R ...
Hi!
I have R 1.9.1, Mac OS X 10.3.5, GNU Emacs 21.2.1 and ESS 5.2.3.
I installed today the ESS by not changing ess-site.el, but creating
.emacs in $home with the single line:
$ cat ~/.emacs
(load "/usr/local/lib/ess-5.2.3/lisp/ess-site")
If I start now emacs and then R (with M-x R) then I get:
> options(STERM='iESS', editor='emacsclient')
but using fix() oder
2011 Nov 10
1
assistance building R on RHEL5
I have gotten this error while attempting to build R-2.13.2 and
R-2.14.0 using ./configure --with-x=no --enable-R-shlib, and
./configure --with-x=no
Red Hat Enterprise Linux Server release 5.6 (Tikanga)
=========================
Warning in solve.default(rgb) :
unable to load shared object '/users/home/mked/R-2.13.2/modules//lapack.so':
/users/home/mked/R-2.13.2/lib/libRlapack.so:
2009 May 22
2
Step by step: Making an R package with Fortran 95
To all. I need your help. The big question is: How do I make an R library
with Fortran 95 files? You may assume that I am a pretty decent programmer
in both R and Fortran. I lay out a scenario and need your help!
I know how to make an ordinary R package and have dabbled with R + Fortran
95 *.dll linking. I do not have a great handle on the whole Makevars file
and whatever else I might need