similar to: R more Unix-like?

Displaying 20 results from an estimated 1000 matches similar to: "R more Unix-like?"

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 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 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 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 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
2006 May 12
3
.Rprofile file and .First function
I am new to R ( and windows XP ) and am in the process of setting it up I put an options (repos=http://.fhcrc.org") file in my .Rprofile file and it works but that's all I put in and i don'tknow what to put in my .First function. I understand that .Rprofile is used for more general options and .First for options specific to that working directory. would someone mind to send me an
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 10
1
help with writing output from two different arrays to two columns in an output file
Hi, I am very new to R and I have written the following block of code to generate a gamma distribution for variable x (which is an array) and a function "y" whose array values depend on the individual array values of "x". The code is as follows: n=1000 x=rgamma(n,1.5,2) y=vector("numeric",n) for (i in 1:n){ y[i]=(2937/50000*exp(-1/1000*x[i])/x[i]) } now I want to
2006 May 10
2
importing a list
Hi, all. I'm trying to automate some regression operations in R leaving the possibility to modify the predictors in the regression. For example, I have saved in a list the results and then exported as a txt file, in which we can modify the predictors, putting for example lm(y~x^2) instead of having lm(y~x) as in the original model. Now, I need to import in R the txt file as a list to
2006 May 16
2
split the data.frame
Dear R folks: I wonder anyone has a elegent way of doing what I need to do. I have a data frame called with four columns: V1, V2, A1 and A2: V1 V2 A1 A2 A B 1.2 2.0 A D 1.2 4.0 A C 2.4 2.2 What I need to do is to convert it into the following data frame with a new column x, where x is just the stacked up of A1 and A2 placed with respective V1 and V2 in the first two
2006 May 10
3
Unique?
Hello, I have sample data set that looks like: YEAR MONTH DAY CONTINUE SPL TIMEFISH TIMEUNIT AREA COUNTY DEPTH DEPUNIT GEAR TRIPID CONVUNIT 1992 1 26 1 SP0073928 8 H 7 25 4 NA 1000000 02163399054 161 1992 1 26 1 SP0073928 8 H 7 25 4 NA 1000000 02163399054 8 1992 1 26 2 SP0004228 8 H 7 25 4 NA 1000000 02163399054 161 1992 1 26 2 SP0004228 8 H 7 25 4 NA 1000000 02163399054 8 1992
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
2010 Nov 18
2
Centos podcast on FLOSS weekly
If you've ever wondered what Karanbir Singh looks like, check out this week's (142) video podcast at http://twit.tv/floss. I'm only partway through the audio version (will finish on the drive home) and haven't heard anything that would be surprising to people already using Centos yet but it's a great presentation and something to recommend to people who aren't
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
2009 Jul 10
2
ogg theora book sprint
hey, Adam here from FLOSS Manuals (http://www.flossmanuals.net). We write free manuals about free software and in August (10-15) we will hold Book Sprint (http://www.flossmanuals.net/booksprints) about Ogg Theora. We will write a really good manual (book) about Ogg Theora in 5 days. The event will be in Berlin. We want to cover a lot of stuff, but we hope to get our teeth into at least some of
2009 Jul 10
2
theora sprint
hey, Adam here from FLOSS Manuals (http://www.flossmanuals.net). We write free manuals about free software and in August (10-15) we will hold Book Sprint (http://www.flossmanuals.net/booksprints) about Ogg Theora. We will write a really good manual (book) about Ogg Theora in 5 days. The event will be in Berlin. We want to cover a lot of stuff, but we hope to get our teeth into at least some of
2010 Jul 03
1
VoIP Users Conference Recordings
Hi, Alistair Cunningham of Integrics was our guest yesterday. We talked about Integrics new product Geons, a suite of software for building large-scale distributed enterprise applications. The recorded session is now available here: http://www.voipusersconference.org/2010/geons/ The extremely rare John Todd was sighted (and heard) at this event. If you are developing a product or service
2008 May 16
3
R package building
In a few days I'll give a talk on R package development and my personal experience, at the 3rd Free / Libre / Open Source Software (FLOSS) Conference which will take place on May 27th & 28th 2008, in the National Technical University of Athens, in Greece. I would appreciate if you could share your thoughts with me; What are today's obstacles on R package building, according to your
2009 Aug 14
4
theora sprint done :)
all done! ... we will check through the format a bit and make some alterations, but the first version is available now... http://en.flossmanuals.net/theoracookbook http://www.lulu.com/content/7531795 212 pages of all you can eat free video :) adam -- Adam Hyde Founder FLOSS Manuals German mobile : + 49 15 2230 54563 Email : adam at flossmanuals.net irc: irc.freenode.net #flossmanuals
2016 Dec 13
8
spec file frustration (rant)
I'm getting spec files from centos git which is really convenient when the related source is easy to find. But some things - e.g. from a spec file # How to create the source tarball: # # git clone git://git.fedorahosted.org/git/python-rhsm.git/ # cd client/python-rhsm # tito build --tag python-rhsm-$VERSION-$RELEASE --tgz Never used tito before, so I install it and try, and rather than