[Rd] package has a loading problem

2008-07-10 Thread Yulia Arzhaeva
Hello, I have difficulties in finding why I cannot load a custom R package in Linux (Suse 10). When I run R CMD check for a package source folder I get the following message: . Error in dyn.load(file, ...) : unable to load shared library

Re: [Rd] package has a loading problem

2008-07-10 Thread Mathieu Ribatet
Have you create a zzz.R file in the R folder? I think your issue is related to this... Example of the zzz.R file: .First.lib - function(lib, pkg) { library.dynam(your_pkd_name, package = pkg, lib.loc = lib) return(invisible(0)) } This is required when you have C/Fortran code. See the

[Rd] RODBC Close Memory Leak Question

2008-07-10 Thread Tom McCallum
Hi everyone, In relation to the RODBC odbcClose bug which was fixed back in the changelog below: Version: 1.2-3 (2008-01-24, released) * Plug a memory leak in inRODBCClose (closing a connection), reported by Stephan Henne. * Use translateChar() on character data

Re: [Rd] package has a loading problem

2008-07-10 Thread Yulia Arzhaeva
Hi, Yes I have this file already. Yulia On Thu, Jul 10, 2008 at 6:47 PM, Mathieu Ribatet [EMAIL PROTECTED] wrote: Have you create a zzz.R file in the R folder? I think your issue is related to this... Example of the zzz.R file: .First.lib - function(lib, pkg) {

[Rd] RNGkind() state

2008-07-10 Thread Ray Brownrigg
This looks like a bug to me, and is a bit hard to describe, but easy to reproduce. Basically, if RNGkind is saved as something other than the default, and if the first operation in a session is a set.seed(), the default is reverted to. Reproduce by: cafe-rozo R --vanilla R version 2.7.1

[Rd] memory leak in readline code

2008-07-10 Thread Bill Dunlap
Several folks have previously written that valgrind notices a memory leak in R's readline code. It looks like it leaks a copy of every input line. % ~/R-svn/r-devel/R/bin/R --debugger=valgrind --debugger-args=--leak-check=full --vanilla ==10725== Memcheck, a memory error detector. ==10725==