Displaying 20 results from an estimated 400 matches similar to: "large data set, error: cannot allocate vector"
2006 May 04
3
SQL like manipulations on data frames
Is there a cheat-sheet anywhere that describes how to do SQL-like
manipulations on a data frame?
My knowledge of R is rather limited. But from my experience it seems
as though one can think of data frames as being similar to tables in
a database: there are rows, columns, and values. Also, one can
perform similar manipulations on a data frame as one can on a table.
For example:
2006 May 09
3
Using DBI and RMySQL
Dear All,
I am having a bit of problem using the DBI and RMySQL
package. I have already installed DBI but now I want
to connect to MySQL. So how do I do it. The CRAN
package repository does not have RMySQL windows binary
to install from?
Regards,
Indrajit Sen Gupta
Business Analyst
Mu Sigma Business Solutions Pvt Ltd
#21/1-1, Nawab Towers
Cunningham Road
Bangalore 560 052, India
Tel: +91 80
2006 May 12
6
text plots?
Is there a way to do text plots in R?
I'd like to do some simple XY plots in R with the output in text
(ascii). For example, with gnuplot I can do the following:
echo 'set terminal dumb ; plot sin(x)' | gnuplot
To generate a simple sin wave. Since I connect to a remote Linux
machine using SSH, being able to generate a rough idea of what a plot
will look like in text would be
2006 May 11
2
R more Unix-like?
Is there a way to stream data into R so that it can be used in a
command pipe?
Most Unix commands read data via standard input and read the script
from the command line. For example:
$ seq 1 10 | sed -e 's/^/foo /'
$ seq 1 10 | awk '{print "foo " $1}'
$ seq 1 10 | perl -lane 'print "foo $F[0]"'
In contrast, R seems to read the script
2003 Oct 17
4
sub data frame by expression
Hi All,
I've the following data frame with 54 rows and 4 colums:
> x
Ratio Dose Time Batch
R.010mM.04h.NEW 0.02 010mM 04h NEW
R.010mM.04h.NEW.1 0.07 010mM 04h NEW
...
R.010mM.24h.NEW.2 0.06 010mM 24h NEW
R.010mM.04h.OLD 0.19 010mM 04h OLD
...
R.010mM.04h.OLD.1 0.49 010mM 04h OLD
R.100mM.24h.OLD 0.40 100mM 24h OLD
I'd
2004 Apr 27
2
paste dimnames problem
Hello,
I've the following list n:
> n
[[1]]
[1] "NEW" "OLD" "PRG"
[[2]]
[1] "04h" "24h"
[[3]]
[1] "000mM" "010mM" "025mM" "050mM" "100mM"
where
n <- dimnames(some.multidim.array)
I'm trying to define a generic function that generates meaningful names from this list, e.g.
2006 May 04
3
screen wrapping
Hello all,
How can I increase/decrease the line length for screen wrapping?
Currently when I run the following the output appears to wrap at just
under 80 columns:
> c(1:100)
[1] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
16 17 18
[19] 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
35 36
[37] 37 38 39 40 41 42 43 44 45 46 47 48 49
2010 Oct 13
1
bwplot change whiskers position to percentile 5 and P95
Dear R-community,
Using bwplot, how can I put the whiskers at percentile 5 and percentile 95,
in place of the default position coef=1.5??
Using panel=panel.bwstrip, whiskerpos=0.05, from the package agsemisc gives
satisfaction, but changes the appearance of my boxplot and works with an old
version of R, what I don’t want, and I didn’t find the option in
box.umbrella parameters
Many thanks
2010 Sep 27
1
bwplot superpose panel.points from another dataframe
Hi everybody,
using bwplot for producing panel boxplot with 3 dimensions
i want to add a mark on each boxplot representing one individual (on all its
dimensions)
till now, i didn't succeed getting the desired solution
I want as well to keep the median symbols as a line
Many thanks for your help
christophe
here is the tested code:
########################
library(lattice)
ex <-
2006 May 10
2
command completion?
Does R have command or object name completion?
R has several functions of modern shells built into it e.g. history
mechanism, command-line editing, emacs key bindings. However, it
doesn't seem to have command or object name completion. For example,
in bash I can begin typing a command and then press the tab key to
have the shell fill in the rest of the command (works for environment
2012 Jan 18
2
Table Intersection
I've got two tables....
first one(table1):
ID chrom start end
Ex1 2 152 180
Ex2 10 2000 2220
Ex3 15 3000 4000
second one ( table2):
chrom location name
2 160 Alv
2 190 GNN
2 100
2018 Feb 15
1
RV: Problem_graphic
Hi everyone,
I am beginner using R but I try to learn more.
I need this graphic or similar but instead of tropical and temperate are three ontogenetic states
Larva Met Juv
CTMAX
CTMIN
SP SP SP
This is my scrip:
Ex = subset(Expr, Outlayer=="N")
Ex2 = subset (Ex, S0 == 1)
Ex3
2005 Jun 03
2
R IRC channel?
Is there an IRC channel for R?
I have a bunch of relatively simple questions that I can't find
answers to. So it'd be nice to send them to an IRC channel rather
than clutter up the mailing list. I'm sure after a few examples and
pointers to the right docs I'll be able to find my way.
Regards,
- Robert
2015 Feb 05
5
[LLVMdev] RFC: Recursive inlining
Hi Hal,
> As we had briefly mentioned on IRC, one way of forming this 'stack', and
its associated 'cnt' variable, is to use dynamic stack allocation.
I hadn't really reached a decision on the mechanics yet. However, your
suggestion while it can work within the current abilities of the IR, has
the disadvantage that it is using an extra stack slot for the link pointer.
I
2015 Feb 05
5
[LLVMdev] RFC: Recursive inlining
Hi,
The other day on IRC myself, Chandler, Hal and Pablo discussed recursive
inlining. I've pondered a bit since then, and thought I'd get some
background on the list with the aim of stimulating discussion.
Our goal is to inline recursive functions. We have several workloads with
recursive calls, and inlining them to a certain degree can improve
performance by up to 30%.
Inlining
2013 Mar 06
2
multi-line content= construct for puppet resource file command
Hello all,
How does one enter multi-line content using ''puppet resource file ...''
at the command line?
For example, I am trying to create a file called /tmp/hw.txt with two
lines of content:
$ cat /tmp/hw.txt
hello
world
This does not work:
$ puppet resource file hello_world \
path=/tmp/hw.txt \
ensure=file \
content="hello\nworld\n"
This does, but use
2006 Oct 22
2
Key colour problem with lattice plot
Hi,
I seem to have a key colour problem with a lattice barchart. The colours on my
key rectangle don't match the colours on the barchart.
Here is my data frame:
"LandFill" "Ruminants"
"United States (USA)" 7777.21428 5528.16
"France" 200.527083 1299.87
"Australia" 185.878368 2448.17
"Russian Federation" 1752.8334 2024.29
2011 Sep 06
17
ext4 BUG in dom0 Kernel 2.6.32.36
Hi:
I''ve met an ext4 Bug in dom0 kernel 2.6.32.36. (See kernel stack below)
32.36 kernel commit: http://git.kernel.org/?p=linux/kernel/git/jeremy/xen.git;a=commit;h=ae333e97552c81ab10395ad1ffc6d6daaadb144a
The bug only show up in our cluster environments which includes 300 physical machines, one server will run into this bug per day.
Running ontop of every server, there are about 30
2015 Feb 18
5
[LLVMdev] RFC: Recursive inlining
Hi,
Apologies for the very late response.
We have manually tried the idea with a very simple Fibonacci sequence code. While being very very simple, the recursion cannot be handled by TRE. Because there are two recursive callsites, it also needs to keep some sort of state across iterations of the "while(stack not empty)" loop.
We get between 2.5 and 8x slowdowns depending on which
2009 Feb 24
1
R parser for If-else
Hi list,
I don't know if somebody has spent a lot of time debugging strange
problems with if else positioning - the parser seems to recognize only
the syntax bellow - this is the only way of making these pieces of
code to work.
As far as i'm concerned, no examples were available (it would be so
awesome to have them in the introductory manual!)
#Try to change the placement of the