similar to: Reloading a shared library with dyn.load

Displaying 20 results from an estimated 900 matches similar to: "Reloading a shared library with dyn.load"

2003 May 12
1
problems with Rcmd BATCH (PR#2965)
Hello, I have a test file that runs OK with > Rterm.exe --no-restore < filename.R When I try > Rcmd BATCH filename.R I get the following error message: Can't locate R/Utils.pm in @INC (@INC contains: C:\PROGRA~1\R\rw1070\share\perl c:/Perl/lib c:/Perl/site/lib .) at C:\PROGRA~1\R\rw1070/bin/BATCH line 22. BEGIN failed--compilation aborted at C:\PROGRA~1\R\rw1070/bin/BATCH
2003 Apr 25
2
sjava w2k
..sorry for this "repeated" off-topic question, but i look for any suggestion in the manuals, find nothing related? library(Sjava) Error in firstlib(which.lib.loc, package) : JAVA_HOME is not set Error in library(Sjava) : .First.lib failed ...what i have to done? many thanks & regards,christian
2010 Mar 14
1
Segfault Problem c++ R interface (detailed)
Hello R Community, I've been working on a project that uses pre-made C++ libraries (using STL) in R and build a package. However, I've been getting an unusual segfault that I'm unable to trace its origin. After many attempts of debugging using gdb, commenting out parts (or all of my code) and valgrind, I'm unable to make heads or tails about what I'm doing wrong. In fact, when
2003 Apr 22
1
R 1.7.0: Startup error: Error in "class<-"(*tmp*, value = Class) : couldn't find function "objWithClass"
Dear R-List member, I have installed the new version of R on my PC (see system details below). I can start the RGui with http_proxy succesfully. However, I do encounter two problems: 1) After starting the Rgui the following error message is displayed (vertical dots represent omissions of output): R : Copyright 2003, The R Development Core Team Version 1.7.0 (2003-04-16) . . . . Error in
2003 Jun 06
2
Query about C Function Interface
Sir/Madam, I am a graduate student in Petroleum Engineering. I have a problem in using R and hope that you could help in solving that. I have a code in C, which displays orthogonal arrays when I give number of rows and number of columns to it. I have another code in R that calls this C code. I am very new to R. I downloaded the R and loaded packages base and mva. I also kept my C code .exe
2017 Apr 25
0
R_CMethodDef incompatibility (affects R_registerRoutines)
I recently noticed a change between R-3.3.3 and R-3.4.0 in the definition of the R_CMethodDef struct. typedef struct { const char *name; DL_FUNC fun; int numArgs; - R_NativePrimitiveArgType *types; - R_NativeArgStyle *styles; - } R_CMethodDef; I suspect this is the reason that packages installed by R-3.4.0 and loaded into R-3.3.3 will crash the
2012 Feb 06
1
Segfault on ".C" registration via R_CMethodDef according to 'Writing R Extensions'.
Dear R List, I encountered a serious problem regarding the registration of ".C" when following the documentation "Writing R Extensions" that leads to a segmentation fault (tested on windows and mac os x). The registration mechanism for ".C" routines via R_registerRoutines and the R_CMethodDef structure has been enhanced recently with the addition of two fields, one
2003 May 30
1
Downloading packages from CRAN
Hello- I am trying to download packages from CRAN to my Window-based system. I downloaded the most recent version of Perl, as instructed in the Install Manual and the "car" package, just as a trial. Where should they "reside" within my computer: the unzipped Perl I have placed at ...R/rw1070; the "car" package I unzipped and placed at ...R/rw1070/library. Is this
2009 Jan 08
1
Callbacks seems to get GCed.
Dear list, I am trying to implement a publish-subscribe mechanism in for an embedded R interpreter. But somehow my registered closures seem to get collected by the GC, even though I have protected them. I have reducted my code to the following sample. Sorry if it is a little verbose. The first couple of call of calls still work, but at some point one of the callbacks (callback1 in my
2003 Jun 12
3
defaults in R: packages, .Rhistory
With the current version (rw1070), every time I start R it loads a whole bunch of packages, many of which I do not need in a typical session: > search() [1] ".GlobalEnv" "package:methods" "package:ctest" "package:mva" [5] "package:modreg" "package:nls" "package:ts" "Autoloads" [9]
2003 Dec 09
1
R Interface handholding
Hello, I need a bit of handholding with R, specifically, with writing packages for it. I'm a systems programmer, and am, on the request of several users of our software, working on generating R interfaces. For starters, I've written the following R function (which compiles): SEXP myincr(SEXP Rinput) { // Returns input integer incremented by one int input; SEXP returner; PROTECT(Rinput =
2003 Dec 16
2
Winedit and R
Hi all, I am trying to install add-on in R (rw1070) to work with WinEdit. Libraries Swinregistry and Rwinedt have been installed via "Install Package(s) from local zip files" from R. However, when I run library(Rwinedt) I get the following messages: > library(Rwinedt) Loading required package: SWinRegistry Error in loadNamespace(name) : package `methods' does not have a name
2003 May 15
2
Unable to load lapack.dll when using RExcel add-in
I am having trouble using R routines from the RExcel add-in, that use lapack.dll. As an example if I start the R kernel from within Excel and execute "x<-rbind(c(1,2),c(1,-1)) z<-solve(x)", I get the following error: "Error in solve.default(x): lapack routines could not be loaded. In addition: Warning message: unable to load shared library "C:\Program
2007 May 01
1
Embedding R and registering routines
Hello, The use of .Call and the like all depend on loading shared libraries and registering routines from it. Also, .Primitive and .Internal depend on routines being registered in the R binary. And applications that embed R can override routines declared in Rinterfac.h, but is there a way for an application embedding R to register other routines defined in the application without loading a
2003 May 07
1
Problems building R-1.7.0 on windows XP
Hola! Everything went well until make distribution The last few lines from the make output is: Copying spatial find rw1070 -name CVS -prune -exec rm -rf \{\} \; FIND: formato de par?metros incorrecto make[2]: *** [imagedir] Error 2 make[2]: Leaving directory `/cygdrive/c/R/Rsource/R- 1.7.0/src/gnuwin32/installer' make[1]: *** [rinstaller] Error 2 make[1]: Leaving directory
2003 May 22
1
Tkrplot works not
Hi, I've spent some time in programming R - tcl/tk. Today I've updated my R version from 1.6.2 to 1.7.0. My programm stops now with two error-messages: (How could it be, two errors? The command "stop" produces an error but does really stop the programm after it, isn't it?) > Loading required package: tcltk > Error in structure(.External("dotTcl", ...,
2008 Feb 27
1
missing packages from install
Hi, When I install new packages from CRAN, I frequently find that some packages were missing from the download queue. For example, on one of my computer with R2.6.2, I can not find package glmpath from the download queue. On my other computer with R2.5.1, I could still find that particular package. What could be the reason for this? Is this computer related or R version related? I downloaded the
2007 Mar 19
3
Rinternals.h and undefined symbols
Hi, I'm trying to register my native routines using R_registerRoutines (...). I can compile the code, but the loader cannot resolve the symbol: undefined symbol: _Z18R_registerRoutinesP8_DllInfoPK12R_CMethodDefPK15R_CallMethodDefS3_S6 _ $ nm bgx.Rcheck/bgx/libs/bgx.so | grep R_registerRoutines U _Z18R_registerRoutinesP8_DllInfoPK12R_CMethodDefPK15R_CallMethodDefS3_S6
2003 Apr 20
2
Win binaries
Hi, I m trying to down load the binary for Win of R1.7 (called R 0.8... ?) from few mirrors but all are down... Is it normal ? Regards Philippe [[alternate HTML version deleted]]
2003 May 05
1
R-1.7.0: Rproxy.dll loadlibrary/freelibrary error (PR#2914)
Full_Name: Venkatesh Mysore Version: R-1.7.0 OS: WindowsXP Submission from: (NULL) (216.165.110.10) While accessing Rproxy.dll repeatedly (using the code from the (D)COM example in the R website) causes a failure in the 24th iteration. R-1.6.2 does NOT give this error. This seems to be a memory management error, that might be linked to the huge leakage difference between R-1.7.0 and R-1.6.2