Displaying 20 results from an estimated 7000 matches similar to: ".C() memory allocation"
2012 Jul 05
1
trouble installing Rmpi on a debian machine
Dear R People:
I'm having trouble installing Rmpi on a debian machine.
Here is my output:
bccd at node000:~$ /bccd/home/bccd
bccd at node000:~$
bccd at node000:~$ export RMPI_TYPE=OPENMPI
bccd at node000:~$ R CMD INSTALL Rmpi_0.5-9.tar.gz
* installing to library '/bccd/home/bccd/R/x86_64-pc-linux-gnu-library/2.15'
* installing *source* package 'Rmpi' ...
checking for gcc...
2012 Nov 07
5
Calling R object from R function
Hi,
Can you please help me with this please?
What I am trying to do is call a vector from R function and used in the new
function
So I create 4 functions with these arguments
M11 <- function(TrainData,TestData,mdat,nsam) {
ls <- list()
I have few statments one of them is
vectx <- c(,1,2,3,4,5,6,6)
vectz <- c(12,34,5,6,78,9,90)
and then................
ls(vectx=vtecx,vectz=vectz)
2008 Oct 04
3
How to plot countours with fixted densities?
Hello,
I used the following codes to generate bivariate normal dependence structure with unit Frechet margins.
Sigma <- matrix(c(1,.5*sqrt(1),.5*sqrt(1),1),2,2) # generate
y <- mvrnorm(Nsam, c(0,0), Sigma) # random
v <- cbind(pnorm(y[,1],mean = 0, sd = 1), pnorm(y[,2],mean = 0, sd = 1))
z <- cbind(-1/log(v[,1]),-1/log(v[,2]))
z1 <- z[,1]
z2 <- z[,2]
And to
2002 Mar 25
2
Extreme value distributions (Long.)
This may not actually be an R/Splus problem, but it started
off that way .....
===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===
Executive summary:
==================
Simulations involving extreme value distributions seem to ``work''
when the underlying distribution is exponential(1) or exponential(2)
== chi-squared_2, but NOT when the underlying distribution is
2004 Sep 14
3
memory allocation questions
Dear R-devel
This one seems a bit arcane for R-help. I very often use R to call routines written in Delphi (son of Pascal), doing "persistent" memory allocation within Delphi. That is, I start R and load the Delphi DLL; then I use .C to call a Delphi routine which allocates a piece of memory X and returns to R a pointer to X; then I do some more stuff in R; then I call another Delphi
2008 Jul 10
0
RODBC Close Memory Leak Question
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 sent in.
Background:
I am running some data from a SQL Server database, through unixODBC
(freetds) into R via the RODBC
2000 Mar 03
1
compiling R-1.0.0 on dec alpha (digital Unix 4.0)
I have tried compiling R on a dec alpha running digital unix 4.0 and
got the following:
f77 -shared -o ts.so PPsum.o burg.o eureka.o filter.o pacf.o starma.o stl.o carray.o mburg.o myw.o qr.o -lUfor -lfor -lFutil -lm -lots -lm
ld:
Warning: Unresolved:
R_alloc
R_NaReal
R_IsNA
R_IsNaNorNA
R_chk_calloc
R_chk_free
Rf_error
vmaxget
vmaxset
dqrdc2_
dqrcf_
mkdir ../../../../library/ts/libs
gmake[4]:
2015 Nov 04
4
Two WiFi routers
Richard Zimmerman wrote:
> I've got a 3 building network...
>
> Buildings 1/2 between then have 3 wireless routers all pointed to one
> CentOS server.
>
> The 3rd building across the WAN has 3 wireless routers all into one
> server...
>
> In my case They are for local LAN access so they are setup to pint to a
> single IP/gateway address...
Thanks for your
2005 Nov 30
2
Samba Guide, SuSe and Yast
Hi,
I'm using SuSe Linux Enterprise Server 9.
I've setup a Samba/LDAP solution according to ch5 of the Samba Guide.
It's working - that's great :-)
Now I'd like to know if anyone tried to manage the users database using
tools provided by Yast.
Is there a risk to mess up everything ?
Did anyone try that before ?
Thanks for your help,
Olivier Thibaut.
1998 Jan 21
2
alloc
I am trying to get our database interface (PADI) working with R. The code does
some memory allocation and for Splus there is an ifdef which controls whether
malloc or S_alloc is called. I did nm R.binary | grep alloc to see if this was
supported and I find there are some choices:
[2490] | 446036| 272|FUNC |GLOB |0 |7 |R_alloc
[806] | 693956| 312|FUNC |LOCL |0 |7
2006 Jun 08
1
Problems Building R-2.3.1 on Alpha server ES40 running Tru64 V5.1B PK#5
R Listers,
One of the list contributors suggested I abandon attempts to build
R-1.9.1 and focus on building R-2.3.1. I believe the main set of
packages have been built properly (with some changes to the code) -
however, when building the Recommended packages, the build fails.
CODE CHANGES:
=============
1. My C compiler requires a ";" on line 589 of
..../src/main/printutils.c. Here
2000 Mar 29
5
Porting R
I am trying to get R 1.0 running on the Mac.
The main target is MacX. Anyone else working on that?
For the recent Macintosh system, I am trying to compile R using MachTen.
The R core compiles and runs without any changes, using the Unix make files.
The libraries give some problems, presumably due to handling of shared
libraries. It seems I am missing something to link. Before I spend my time
2005 Nov 29
2
Samba guide Ch5: cannot resolve user id
Hello,
I am following Ch5 of the Samba Guide and so far it has been working
pretty good till that point:
*
> *Procedure 5.8. LDAP Directory Initialization Steps
> *
>
> 12. This step will determine whether or not identity resolution is
> working correctly. Do not procede is this step fails, rather find the
> cause of the failure. The *id* command may be used to validate your
2012 Nov 05
2
New Memory Allocation
In Syslinux-5.00, is the goal that the core and .c32 modules alike will use
the same heap? There is a bug I am thinking about:
- QEmu with 1024 MiB RAM
- Syslinux 4.06
- .c32 can realloc() up to 1013 MiB
- QEmu with 1024 MiB RAM
- Syslinux 5.00-pre9
- .c32 can realloc() up to 45 MiB
I am wondering if there's a maximum-allocation-size being hit, or if it's
actually a bug I should look
2005 Dec 14
1
R-beta on AIX5.2
I build R-beta on AIX5.2 is failed.
make[3]: Entering directory
`/home/nakama/Rbeta/R-beta/src/nmath'
xlc_r -I. -I../../src/include -I../../src/include -I/usr/local/include
-I/opt/freeware/include -DHAVE_CONFIG_H -q64 -I/usr/local/include
-I/opt/freeware/include -O2 -D_ALL_SOURCE -D_LINUX_SOURCE_COMPAT -c
mlutils.c -o mlutils.o
"nmath.h", line 50.9: 1506-213 (S) Macro name calloc
2015 Nov 04
2
Two WiFi routers
Richard Zimmerman wrote:
>> Do you have them on different channels?
>
> YES, definitely.... If you have the room in the spectrum, ch1, skip2, ch3,
> skip 4, ch5, etc... I've actually have mine set with two empty channels
> between them as the 3rd building is a machine / fabrication shop with lots
> and lots of RFI going on.
So does a client laptop have to change NM
2012 Mar 18
2
malloc/calloc/strdup and R's aequivalents
Hello,
when looking at "Writing R Extensions"
with mem-allocation in mind, I wondered,
which functions to use to substitute
malloc(), calloc(), realloc() and strdup() and free().
It looked like Calloc() or R_Calloc() might be useful for
some of my tasks, but when trying to use R_Calloc() for example,
I got some error messages which I don't see where they are coming from.
Maybe I
2004 Sep 14
1
Memory allocation error: failed to expand to 1108555744 bytes
I saw the following log entry when connecting to a print share on a
Samba 3.0.7 box from a Windows 2000 client.
I assume the attempt to allocate 1Gb+ of RAM has got to be wrong?
[2004/09/14 11:07:14, 1] smbd/service.c:make_connection_snum(648)
pcladydeath (192.168.1.110) connect to service print$ initially as
user pcnet (uid=288, gid=230) (pid 18501)[2004/09/14 11:07:17, 0]
2007 Aug 14
1
memory allocation glitches
(not sure whether this is better for R-devel or R-help ...)
I am currently trying to debug someone else's package (they're
not available at the moment, and I would like it to work *now*),
which among other things allocates memory for a persistent
buffer that gets used by various functions.
The first symptoms of a problem were that some things just
didn't work under Windows but were
2019 Sep 13
1
[PATCH nbdkit] common/bitmap: Don't fail on realloc (ptr, 0)
The following commands:
nbdkit -fv --filter=cow memory size=512 --run 'qemu-img info $nbd'
nbdkit -fv --filter=cache memory size=512 --run 'qemu-img info $nbd'
both fail with:
nbdkit: memory[1]: error: realloc: Success
Initial git bisect pointed to commit 3166d2bcbfd2 (but I don't believe
that commit is the real cause, it merely exposes the bug).
The reason this