similar to: Loading a FORTRAN DLL

Displaying 20 results from an estimated 10000 matches similar to: "Loading a FORTRAN DLL"

2011 May 09
5
Fortran Symbol Name not in Load Table
I am trying to call a FORTRAN subroutine from R. is.loaded is turning out to be TRUE. However when I run my .Fortran command I get the following error: Error in .Fortran("VALUEAHROPTIMIZE", as.double(ahrArray), as.double(kwArray), : Fortran symbol name "valueahroptimize" not in load table I have given the FORTRAN declaration below: subroutine VALUEAHROPTIMIZE(AHR,
2011 May 04
3
Error in .Fortran Call
I have the following FORTRAN code converted to a DLL: ! my_xmean.f90 ! ! FUNCTIONS/SUBROUTINES exported from my_function.dll: ! my_function - subroutine ! subroutine my_xmean(X,N,XMEAN) ! Expose subroutine my_function to users of this DLL ! !DEC$ ATTRIBUTES DLLEXPORT,C,REFERENCE,ALIAS:'my_xmean_'::my_xmean ! Body of my_function DOUBLE PRECISION X(N) XMEAN=0D0 DO J=1,N
2014 Jul 21
1
create R package include Fortran source code.
Hello, all I am building a R package using Fortran source code. The Fortran code is a subroutine. I can use "R CMD SHLIB bar.f -o bar.o" to create the shared library. For the R package, I put the fortran file in the src/ and I use R code as follows: ".First.lib"<-function(libname,pkgname){library.dynam("barpkg",pkgname,libname)} barfun<-function(n,x){
2011 May 09
1
Fortran Symbol Name not in Load Table
I am trying to call a FORTRAN subroutine from R. is.loaded is turning out to be TRUE. However when I run my .Fortran command I get the following error: Error in .Fortran("VALUEAHROPTIMIZE", as.double(ahrArray), as.double(kwArray), : Fortran symbol name "valueahroptimize" not in load table I have given the FORTRAN declaration below: subroutine VALUEAHROPTIMIZE(AHR,
2015 Jul 27
0
R package with Fortran module on Windows? undefined reference to `__stack_chk_fail'
You should be able to set PKG_FCFLAGS="-fno-stack-protector" when compiling to ensure that the stack protector is not used. (Trying that out on a Windows VM, with a simple `R CMD build` + `R CMD INSTALL`, compilation of your package succeeded but linking failed saying the DLL 'Fpi' was not found; I imagine that's a separate issue.) As an aside, be sure to check out what
2010 May 28
1
Problem loading RGtk2 (iconv.dll)
Hello dear R-help list and Michael Lawrence. I wish to use GTK with R. I installed the newest RGtk2 and GTK from: http://sourceforge.net/projects/gladewin32/files/gtk%2B-win32-devel/2.12.9/gtk-dev-2.12.9-win32-2.exe/download on the path: C:\Program Files\Common Files\GTK\2.0\ And followed the instructions on the installation manual for RGtk2, and added the line: GTK_PATH=C:/Program Files/Common
2015 Jul 27
2
R package with Fortran module on Windows? undefined reference to `__stack_chk_fail'
Hi, I created a R library that uses a Fortran module. Everything works like a charm on linux. Now I'm trying to make it work on Windows. I cloned my git repository <https://github.com/ignacio82/MyPi> on a windows computer, and when I press the build and reload button on Rstudio I get these errors: ==> Rcmd.exe INSTALL --no-multiarch --with-keep.source MyPi * installing to library
2009 Jun 08
1
iconv.dll needed in addition to Riconv.dll for package XML to load (PR#13747)
Full_Name: Osiander Meixner Version: 2.9.0 (2009-04-17) OS: Windows Vista Enterprise, 32bit, SP1 Submission from: (NULL) (15.195.185.82) package XML_2.5-1 >library(XML) throws an error window saying: " RGui: RGui.exe - Unable to Locate Component This application has failed to start becuase iconv.dll was not found. Re-installing the application may fix this problem. " RGui then
2011 May 24
1
Fortran DLL in Spotfire
I have a R code that loads a FORTRAN DLL to do some calculations. The code works fine when I use it in R. But when I try it in spotfire it throws an error that the it is unable to load the shared library and the specified DLL cannot be found. I have used "setwd" to point to the location in the spotfire statistical services server library. Is this the correct way to call the DLL in
2009 May 25
2
cairoDevice.dll error, but it exists..?
Hello, running windows vista, R2.9. Installed the following libraries: (*latticist*, *playwith* and *Cairo*) Wanted then to run, to evaluate the visualization features: >data(iris) >library(latticist) >latticist(iris) However, i tested my desktop and laptop and get the following error after typing latticist(iris): latticist(iris) Loading required package: playwith Loading
2009 Apr 03
1
Problem building DLL under Windows
Apologies if this has appeared before, but I've searched the archives and all the documentation and I can't find anything which helps. I'm trying to build a DLL under windows. The process (more on that later) works fine under Linux and gives the illusion of working under Windows, but attempting to load the resulting DLL using dyn.load results in: Error in inDL(x, as.logical(local),
2013 Aug 28
2
netlogo r-extension loadlibrary() failures
Trying to access R from Netlogo5 (using the NetLogo R-Extension), running the configuration validation tests in NetLogo5/extensions/r/Systemcheck.nlogo, I get several loadlibrary() errors ... in rJava Check2, > library(rJava); .path.package('rJava') Error : .onLoad failed in loadNamespace() for 'rJava', details: call: inDL(x, as.logical(local), as.logical(now), ...)
2011 Mar 04
1
Problem with tcltk
Dear all, Since I installed the x64 version of R (v2.12.1), I got a problem with tcltk that I did not achieve to resolve. When loading the library, it gives me the following error message: Loading Tcl/Tk interface ...Error : .onLoad failed in loadNamespace() for 'tcltk', details: call: inDL(x, as.logical(local), as.logical(now), ...) error: unable to load shared object
2009 Jun 08
0
iconv.dll needed in addition to Riconv.dll for package XML (PR#13748)
Please install from the "CRAN extras" repository (where you will find a working copy) and do NOT report a bug in R that is not a bug in R but in a contributed package / the package repository. Best, Uwe Ligges osiander.meixner at hp.com wrote: > Full_Name: Osiander Meixner > Version: 2.9.0 (2009-04-17) > OS: Windows Vista Enterprise, 32bit, SP1 > Submission from: (NULL)
2018 Oct 05
1
unable to load shared object
Thanks for asking. The path where R tries to load the dll from does not exist I think (or the install process deletes it after the error - might this be the case?): C:/Users/wewol/OneDrive/Documents/R/win-library/3.5/grpc/libs/x64/grpc.dll' When I am checking after the error that path is only valid up to: C:/Users/wewol/OneDrive/Documents/R/win-library/3.5/ So maybe (?) the install process
2011 Jun 10
2
Require of gWidgetsRGtk2 fails: RGtk2.dll can't be found, but it's there
Dear list, I've been trying to get gWidgets/gWidgetsRGtk2 to run every other month for a while, but somehow I simply can't figure out what's going wrong. I tried several distributions of the GTK runtime environment for Windows (http://downloads.sourceforge.net/gladewin32/gtk-2.12.9-win32-1.exe as described in the package's vignette,
2009 Apr 09
1
Help with biOps loading
I have tried several times to load biOps package after reading the posts in this archive regarding the necessity of placing these two libs in the PATH (libjpeg62.dll and libtiff3.dll). I have tried locating the libs in several directories that should have worked, but I still get the following message. ------------------ Error in inDL(x, as.logical(local), as.logical(now), ...) :
2010 Mar 31
0
You are right and the problem is solved. Re: about the possible errors in Rgraphviz Package
Hi Gabor, I just used your R code below and the code worked properly without any error messages. Attached is the output graph, which may be the one you expected. library("Rgraphviz") set.seed(123) V <- letters[1:10] M <- 1:4 g1 <- randomGraph(V, M, 0.2) g1 plot(g1) Thanks. Howard On Wed Mar 31 11:18:25 EDT 2010, Gabor Grothendieck <ggrothendieck at
2010 Mar 31
1
You are right and the problem is solved. Re: about the possible errors in Rgraphviz Package
Hi Martin, It is really a 'PATH' problem. After adding C:\Program Files\Graphviz2.20\bin to the 'PATH' environment variable, the Rgraphviz package can be loaded without any error messages. Sorry that I ONLY set my 'PATH' environment variable correctly for R but not for Graphviz. Thank you and Duncan so much for your great help. Howard On Tue Mar 30 18:12:54
2009 Jan 23
2
can't load rJava in R 2.8.1 on Windows XP
Dear community, unfortunately I did not manage load the rJava package receiving the following error-message: > library("rJava") Error in inDL(x, as.logical(local), as.logical(now), ...) : kann shared library 'C:/Programme/R/2.8.1/library/rJava/libs/rJava.dll' nicht laden: LoadLibrary failure: Das angegebene Modul wurde nicht gefunden. Error : .onLoad in