Displaying 20 results from an estimated 800 matches similar to: "how to allocate more memory"
2002 Oct 23
1
R-1.6.0 compiled on 64-bit AIX- memory problem?
Hello,
Is it true that R-1.6.0 compiled under 64-bit is less efficient on using
memory than compiled under 32-bit?
Here are my observations:
1. I have an SGI IRIX box (2Gb RAM) running 32-bit version of R-1.5.0. It
CAN handle a large data set (an 1111000 * 18 array).
2. For the same data set, on an IBM AIX 64-bit box (64GB RAM) with the new
version of R-1.6.0, it gives an out of memory error.
2012 May 22
3
How to remove square brackets, etc. from address strings?
Hello,
I'd like to remove the individual pairs of square brackets along with
their content - plus the space directly behind it - from address strings
such as this:
[Swidsinski, Alexander; Loening-Baucke, Vera; Lochs, Herbert] Charite
Humboldt Univ, Innere Klin, D-10098 Berlin, Germany; [Hale, Laura P.]
Duke Univ, Med Ctr, Dept Pathol, Durham, NC 27710 USA
I'd like get the
2011 Jun 14
1
Multiply list objects
Hi,
I am trying to use the objects from the list below to create more objects.
For each year in h I am trying to create as many objects as there are B's
keeping only the values of B. Example for 1999:
$`1999`$`8025`
B
B 8025 8026 8027 8028 8029
8025 1 1 1 0 0
8026 1 0 0 0 0
8027 1 0 0 0 0
8028 0 0 0 0 0
8029
2023 Oct 14
1
Create new data frame with conditional sums
That's very helpful and instructive, thank you!
Jason Stout, MD, MHS
Box 102359-DUMC
Durham, NC 27710
FAX 919-681-7494
________________________________
From: John Fox <jfox at mcmaster.ca>
Sent: Saturday, October 14, 2023 10:13 AM
To: Jason Stout, M.D. <jason.stout at duke.edu>
Cc: r-help at r-project.org <r-help at r-project.org>
Subject: Re: [R] Create new data frame with
2010 Apr 08
1
Linksys/Sipura SPA-3201 FXO/FSA with Asterisk
All,
I am looking at a little support on this, as I haven't found it on
google yet. I have had this work on Callweaver, but am moving to
Asterisk for a variety of reasons. My dial plans, and everything else
transferred perfectly, though I am not sure they are 'correct' for
Asterisk 1.6.1, with simple things like SIP users outlined in the
sip.conf file, not in the users file,
2011 Aug 15
1
Selecting section of matrix
Hi,
I have a question concerning the selection of data. Let's say that given
list h created below, I would like to select a section of the 1999 matrix.
For a case (rownames and colnames) I would like to select the cells that
have a value > 0. So for case 8025
8025 8026 8027
8025 1 1 1
8026 1 1 1
8027 1 1 1
And for case 8028
8028 8029
8028 1
2011 Jun 02
2
Counting occurrences in a moving window
Hi list, based on the following data.frame I would like to create a variable
that indicates the number of occurrences of A in the 3 years prior to the
current year:
DF = data.frame(read.table(textConnection(" A B
8025 1995
8026 1995
8029 1995
8026 1996
8025 1997
8026 1997
8025 1997
8027 1997
8026 1999
8027 1999
8028 1995
8029 1998
8025 1997
8027 1997
8026 1999
8027 1999
2011 Aug 25
3
Selections in lists
Hi,
I have produced a list g and I would like to reduce the amount of
information contained in each object in g.
For each matrix I would like to keep the values where the column name equals
g[year][[1]][[x]] and the row names equals g[year][[1]][[-x]]. So in
g$`1999`$`8029`, year = 1999 and x = 8029. I have been experimenting with
the subset function, but have been unsuccesful. Thanks for your
2003 Oct 12
1
Error openning file (PR#4550)
Full_Name: Adolfo Jiménez Pérez
Version: 1.8.0 (2003-10-08)
OS: Window'98 2ed
Submission from: (NULL) (81.203.134.156)
I've a crash when reading a specific file with the command:
> read.table("file.dat")
This file can be readed with the 1.1.1 version using the same command and R
reads it correctly.
The content file is this:
---->file beginning<---------
2023 Oct 15
2
Create new data frame with conditional sums
Under the hood, sapply() is also a loop (at the interpreted level). As
is lapply(), etc.
-- Bert
On Sun, Oct 15, 2023 at 2:34?AM Jason Stout, M.D. <jason.stout at duke.edu> wrote:
>
> That's very helpful and instructive, thank you!
>
> Jason Stout, MD, MHS
> Box 102359-DUMC
> Durham, NC 27710
> FAX 919-681-7494
> ________________________________
> From: John
2004 Aug 04
0
Configure E1 PRI
After sometime I got my E1 PRI configured correctly in /etc/zaptel.conf
and I now don't see any alarms on the E1, but I can't still dialout
correctly, I enable every debug that I could though of and this is what
I see:
At the end the D-channel is down and I cannot even try to connect
another call because it tell me that the zap channel is unavailable ,the
other this that I notice is that I
2023 Oct 13
1
Create new data frame with conditional sums
This seems like it should be simple but I can't get it to work properly. I'm starting with a data frame like this:
Tract Pct Totpop
1 0.05 4000
2 0.03 3500
3 0.01 4500
4 0.12 4100
5 0.21 3900
6 0.04 4250
7 0.07 5100
8 0.09
2023 Oct 14
2
Create new data frame with conditional sums
Well, here's one way to do it:
(dat is your example data frame)
Cutoff <- seq(0, .15, .01)
Pop <- with(dat, sapply(Cutoff, \(p)sum(Totpop[Pct >= p])))
I think there must be a more efficient way to do it with cumsum(), though.
Cheers,
Bert
On Sat, Oct 14, 2023 at 12:53?AM Jason Stout, M.D. <jason.stout at duke.edu> wrote:
>
> This seems like it should be simple but I
2004 Feb 18
2
OS2 - Samba
Hi there,
I tried to connect OS2 Warp 4 to Samba server. The network used to be NT 4.0 Domain, then migrated to Samba to become Domain Controller. I've followed below instruction, and still can't login to the domain. I can get an IP address and ping the Samba server, but can't login to domain and map any network share.
2007 Nov 01
1
Problem with compiling 64bit R(2.5.1) under HP-UX(ia64)
Hi there,
We are trying to compile a 64bit version of R (2.5.1) on HP-UX
(B.11.23 U ia64), but are running into some problems.
This is our configure step:
../configure --prefix=/rnd/homes/lfan/R251 --enable-R-shlib CC="cc"
CFLAGS="+z +DD64" CXX="aCC" CXXFLAGS="-b -lxnet +z +DD64" FC="f90"
FCFLAGS="+DD64" F77="f90"
2006 Jul 24
2
DO NOT REPLY [Bug 3958] New: ile over 13 carateres, they are syncro all time!!!
https://bugzilla.samba.org/show_bug.cgi?id=3958
Summary: ile over 13 carateres,they are syncro all time!!!
Product: rsync
Version: 2.6.6
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
Component: core
AssignedTo: wayned@samba.org
ReportedBy: orffo@free.fr
2011 Aug 22
1
Selecting cases from matrices stored in lists
Hi,
I have two lists (c and h - see below) containing matrices with similar
cases but different values. I want to split these matrices into multiple
matrices based on the values in h. So, I did the following:
years<-c(1997:1999)
for (t in 1:length(years))
{
year=as.character(years[t])
h[[year]]<-sapply(colnames(h[[year]]), function(var)
2003 Sep 07
4
data manipulation
Hi,
I am new to R, coming from a few years using Stata. I've been twisting my
brain and checking several R and S references over the last few days to
try to solve this data management problem: I have a data set with a unique
patient identifier that is repeated along multiple rows, a variable with
month of patient encounter, and a continous variable for cost of
individual encounters. The data
2011 May 26
1
Divide matrix into multiple smaller matrices
Hi list,
Using the script below, I have generated two lists (c and h) containing
yearly matrices. Now I would like to divide the matrices in c into multiple
matrices based on h. The number of matrices should be equal to:
length(unique(DF1$B))*length(h). So each unique value in DF1$B get's a
yearly matrix. Each matrix should contain all values from c where element
cij is 1. An example for
2011 Apr 14
1
Create matrices for time series
Hi list, I would like to use the following data.frame to generate matrices
over a 3 year moving window:
DF = data.frame(read.table(textConnection(" A B C
80 8025 1995
80 8026 1995
80 8029 1995
81 8026 1996
82 8025 1997
82 8026 1997
83 8025 1997
83 8027 1997
84 8026 1999
84 8027 1999
85 8028 1995
85 8029 1998"),head=TRUE,stringsAsFactors=FALSE))
Function to be