search for: calberkeley

Displaying 9 results from an estimated 9 matches for "calberkeley".

2006 May 05
5
large data set, error: cannot allocate vector
Why am I getting the error "Error: cannot allocate vector of size 512000 Kb" on a machine with 6 GB of RAM? I'm playing with some large data sets within R and doing some simple statistics. The data sets have 10^6 and 10^7 rows of numbers. R reads in and performs summary() on the 10^6 set just fine. However, on the 10^7 set, R halts with the error. My hunch is that
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 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
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
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
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
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
2005 May 29
6
R GUI for Linux?
Hello all, I noticed that both Windows and OS X version of R have a GUI (Rconsole). Is there a GUI for Linux? I'm running Debian on which the CLI for R works just fine. Regards, - Robert