similar to: (not) compiling fortran -- dynamic loading problem

Displaying 20 results from an estimated 2000 matches similar to: "(not) compiling fortran -- dynamic loading problem"

2001 May 09
1
Fortran subroutines dblepr, realpr, intpr
I am making my first attempts at using some Fortran code with R, and so far it's going OK. To print from my Fortran programs, it seems I need subroutines dblepr, realpr and intpr. From the excellent "Writing R Extensions" document: "Three subroutines are provided to ease the output of information from FORTRAN code. subroutine dblepr(label, nchar, data, ndata)
2010 Dec 09
1
How to call DBLEPR in Fortran code to be used by R
Hi I've built a dll using Fortran code and can call it by either R or Fortran. Calling by the former gives me the wrong answer and the later gives the correct answer. From what I've read, it looks like I should use the subroutines DBLEPR, INTPR and REALPR to get values to show up in R which I hope will allow me to find the error. I've downloaded the R-2.12.0.tar.gz but have
1998 Sep 18
1
R-beta: undefined reference to `realpr_' ?
Hi, Win95 version, trying to build multiv. Following error (no mention in faq etc, but someone may have mentioned it recently). Appreciate any help. ------- Building multiv.dll from multiv.a -------- echo LIBRARY multiv > multiv.def echo EXPORTS >> multiv.def nm multiv.a | sed -n "/^........ [DT] _/s/^........ [BCDRT] _/ /p" >> multiv.def gcc -mdll
2010 Dec 14
1
How to specify compiler options when using R CMD SHLIB
Hi I've built a dll using Fortran code and can call it by either R or Fortran. Calling by the former gives me the wrong answer and the later gives the correct answer. >From what I've read, it looks like I should use the subroutines DBLEPR, INTPR and REALPR to print to the R console rather than using Fortran standard I/O and that if I use the command R CMD SHLIB source.f that these
1999 Sep 06
1
Fortran character strings
Has anyone ever successfully used Fortran character strings with R? ?Foreign says R C Fortran integer int * integer .... character char ** [compiler dependent] Character strings are passed as C arrays of character strings to Fortran: the first string may be usable if its length is passed
2000 May 24
1
Problem w/cygwin1.1 (maybe)
I am using rw1001 on Windows 98. I have a package that involves both c and fortran code, which compiled successfully under cygnus b20.1 with Mummit Kahn''s port of gcc 2.95.2. I have upgraded to the new net release of cygwin (version 1.1, including the recent cygwin package upgrade to 1.1.1). Now when the dll for my package is being created, I get the string of errors like: [...] gcc
2000 Jun 03
1
.rpm (splines, ctest) install problem - LinuxPPC
On a PMac 7200 (running LinuxPPC 3Q 99), trying to install "R-ctest-0.9.R16-1.ppc.rpm" and "R-splines-2.0.R3-3.ppc.rpm" rpms currently in the linuxppc binary download directory results in error messages saying that files in these rpms conflict with files from R-base 1.01-1. Of course, "R-rpart" and "R-survival4" then also can't be installed because the
2000 Jan 12
1
compilation problem on linuxppc
I am trying to install R-.90 on a powermac (4400) running linuxppc-1999. This is a variant of RedHat. ./configure goes OK make goes OK until it gets to dataentry.h. Then it reports that it can't find some .h files. dataentry.h 22 X11/X.h dataentry.h 22 X11/Xlib.h dataentry.h 22 X11/Xutil.h dataentry.h 22 X11/keysym.h dataentry.h 22 X11/cursorfont.h I have installed X, but this seems to
2005 Jun 14
1
Calling C from Fortran
I would like to call C routines from Fortran as suggested in section 5.6 of the "Writing R extensions" documentation. I'm familiar with Fortran but not with C. I understand the example provided in Fortran: subroutine testit() double precision normrnd, x call rndstart() x = normrnd() call dblepr("X was", 5, x, 1) call rndend() end but I don't understand the purpose
2001 Oct 01
1
Graceful exit from fortran.
Is there a way to exit gracefully from dynamically loaded Fortran, (several layers down), if an error condition is detected? I.e. suppose I'm within a subroutine called by a subroutine, ..., called by .Fortran(); I want to give up gracefully if an error condition is detected. If I say something like if(x .gt. 42.d0) stop then indeed everything stops, i.e. R falls over. I'd
1998 Nov 14
1
unable to load modreg in R-0.63
I am running linuxppc 2.1.128 on a pmac 8500/200 604e. R 0.63 builds and installs without errors. The compiler is egcs 102 pre and binutils 2.9.1.0.15. When attempting to load modreg with the library command the following error is returned. Error in dyn.load(file) : unable to load shared library "/usr/local/share/R/library/modreg/libs/modreg.so" How can I debug this problem?
2002 Jun 18
2
wine on non-x86 architectures (presumably silly question)
I wouldn't think it's possible but I'd like to know (with an explanation, if possible): Can you run win32 apps with wine on non-x86 computers, e.g. under LinuxPPC? I guess not, but I wouldn't be able to give a clear explanation as to why. Regards, Frank
2000 May 01
1
Missing dependencies in installing R-base-1.0.0-1
I recently upgraded to LinuxPPC 2000. When I tried to reinstall the R rpm, I was missing the following dependent files: egcs, egcs-g77, and libf2c.so.0 Is there an upgrade or a fix to this? Brian Adams -- ------------------------------------------------------------- Providing Support Services in J. Brian Adams, Ph.D. Statistical Analysis 717.393.6144
2003 Mar 31
4
Convert char vector to numeric table
I'm a great fan of read.table(), but this time the data had a lot of cruft. So I used readLines() and editted the char vector to eventually get something like this: " 23.4 1.5 4.2" " 19.1 2.2 4.1" and so on. To get that into a 3 col numeric table, I first just used: writeLines(data,"tempfile")
2009 Dec 29
2
how can I use R functions in Fortran 90
Hi all, Is there a way that I can import R functions into Fortran? Especially, I want to generate random numbers from some not-so-common distributions (e.g. inverted chi square) but did not find any routines written in Fortran that deal with distributions other than uniform and normal. Thanks. Anny [[alternative HTML version deleted]]
2000 Oct 15
2
RedHat 7.0 openssh-2.2.0p1-5 vs ssh 2.3.0
Hello, I am using RedHat's most recent openssh-2.20p1-5 srpm recompiled on Linuxppc under glibc 2.1.95/Linux 2.4-test10pre2/gcc 2.95.3(cvs). I have noticed an oddity when connecting to machines running ssh 2.3.0's sshd2 server. While the connections occur with no problem after awhile the connection fails when idle with the following error message... Hm, dispatch protocol error: type
2010 Jul 26
5
[RFC/PATCH] New chainloading functionality
This patch introduces extra functionality to chain.c, mainly with reference to BPB adjustments, but not only that. It expects 3 small patches I sent earlier (they are included for easy reference, patches 1-3/4). The changes introduced are: 1) file and boot sector use separate options to control load address and jump address (if applicable). Options are as described below: *
2001 Dec 19
2
rsync doesn't accept commands
Hello folks, I've recently become an rsync user and have installed it on a LinuxPPC box to sync up to another machine. So I set things up and went to try and start rsync on the Linux box the software does nothing except list the "read me" like info. The software just won't accept any commands. I don't get a log, nothing. Any guesses? I'm stumped along with my
2013 Feb 22
3
Help xyplot
Hi Mackay and anybody (a) Is it possible to select randomly (let say five grids) and plot? (b) Is it possible to plot five nearest grid in one figure? The original question and improved codes: #I am ploting gridded time series data. I would like the actual lat #and lon value appear on the graph-if possible inside the graph as #numbers. If there is also more elegant ways to plot the graphs I
2010 Nov 16
4
DBLEPR?
Ravi Varadhan and I have been looking at UCMINF to try to identify why it gives occasional (but not reproducible) errors, seemingly on Windows only. There is some suspicion that its use of DBLEPR for finessing the Fortran WRITE() statements may be to blame. While I can find DBLEPR in Venables and Ripley, it doesn't get much mention after about 2000 in the archives, though it is in the R FAQ