Displaying 20 results from an estimated 1000 matches similar to: "turning comma separated string from multiple choices into flags"
2008 Oct 15
0
R-help Digest, Vol 67, Issue 31
V;
Sent via BlackBerry from T-Mobile
-----Original Message-----
From: r-help-request at r-project.org
Date: Tue, 30 Sep 2008 12:00:06
To: <r-help at r-project.org>
Subject: R-help Digest, Vol 67, Issue 31
Send R-help mailing list submissions to
r-help at r-project.org
To subscribe or unsubscribe via the World Wide Web, visit
https://stat.ethz.ch/mailman/listinfo/r-help
or, via email,
2003 Feb 05
3
R as a `script'
is there any way i can use R as a tool for scripts in unix, as
wotan[hrue]$ cat example.R
#!/usr/bin/R
x=1
havard
--
Havard Rue
Department of Mathematical Sciences
Norwegian University of Science and Technology
N-7491 Trondheim, Norway
Voice: +47-7359-3533 URL : http://www.math.ntnu.no/~hrue
Fax : +47-7359-3524 Email: havard.rue at math.ntnu.no
2008 Jan 24
3
Reshaping a dataframe with conditional summary of columns - apply or reshape?
I need to do a somewhat complex rearrangement of an existing dataframe that
involves an "on-the-fly" conditional summary as well. I've tried to make
the example as simple as possible. Code to produce the object being acted
on is at the end of the message. I hope this isn't too much for a single
posting. Any guidance will be much appreciated.
The input example looks like
2009 Aug 24
2
Number of CPU's
Any way to get access to the number of CPU's, optionally their type,
from within R? In linux I can just read /proc/cpuinfo but for
win/mac ?
Thanks!
H?vard
--
H?vard Rue
Department of Mathematical Sciences
Norwegian University of Science and Technology
N-7491 Trondheim, Norway
Voice: +47-7359-3533 URL : http://www.math.ntnu.no/~hrue
Fax : +47-7359-3524 Email: havard.rue
2006 Mar 21
1
Unable to mount root fs
Using xen-ia64-unstable from hg, domU fails to mount the root fs:
VFS: Cannot open root device "sda1" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(0,0)
XEN)
This is the configuration of the disk for domU:
disk = [ ''file:/data1/xen/dom1_disk.img,sda1,w'' ]
2000 Dec 30
8
Whitespace standard?
I've noticed that throughout the code there's quite a variety of formatting
styles, especially the size of TAB characters (4 or 8) and size of indents
(2 or 4). Is there any agreed standard for new code now?
Oh, and whoever wrote the ogg code must get an electric shock every time he
hits the spacebar. It's full of spaceless lines like
2001 Jan 15
1
Web page for OS/2 port
Just FYI, I've created a web page for the OS/2 binaries I've made at
http://silk.apana.org.au/vorbis/
I've also included the full source I built from and a diff between that
source & the current CVS. Of course I'm keen to see as much of that diff as
possible committed to the repository, although you can ignore the DartLib &
oggplay stuff. They should be superceded by
2001 Jan 31
1
Syntax error....
You might want to fix this:
diff -x CVS -uwrN ../OggVorbis.clean/vorbis-tools/oggenc/platform.c ./vorbis-tools/oggenc/platform.c
--- ../OggVorbis.clean/vorbis-tools/oggenc/platform.c Thu Feb 1 01:25:36 2001
+++ ./vorbis-tools/oggenc/platform.c Thu Feb 1 01:23:08 2001
@@ -52,7 +58,7 @@
}
#endif
-#ifdef __WATCOMC__ || __BORLANDC__
+#if defined(__WATCOMC__) || defined(__BORLANDC__)
void
2009 Aug 01
4
R book for economists
Dear Group,
I am an economics student starting with PhD work in London. As preparation I
would like to get to know R a little bit better. For Stata there are tons of
books, however, can you recommend a book for R?
I have some substantiated econometrics knowledge, so it should be more a
how-to book.
Best regards
Thiemo
---
Thiemo Fetzer, Economist
http://freigeist.devmag.net
2011 Jun 25
2
Vector with factors inside lists/tuples
Hi, this seems like a strange question, but in R is there a function that
can handle vectors containing factors inside lists/tuples? Or is there some
other approach/functions I can use?
Like for example
V1
"{"Harry","Brown")"
"{"Brown","Harry")"
I want to use these variables in a machine learning setting, And don't want
to convert
2001 Apr 18
3
[Patch] OS/2 port
[Repost, maybe it will get noticed with a better subject]
So now beta 4 is out is there any chance you guys will have time to review
some of my patches? Here's a simple one. It just adds the standard integer
typedefs for EMX GCC. I've flattened the structure using #elif's so it doesn't
get a level deeper for every platform added but the result should be the same.
I realise
2005 Aug 25
2
concerning econometrics usage of "R"
Hi,
I am currently looking for a program or programmng language easy to
learn, easier to operate on.I heva heard about "R", However I
understand that "R" is designed especially for statisticians. As an
economist, working on applied econometrics, I am not sure if it can
meet my needs.
Will I be able to reach precise time series or panal data regression
results with
2002 Apr 23
2
Install
Dear Sirs,
I am an economist, and I have learned about R from an statician.
I would like to get some instructions on which packages of R should I
install. I am intending to use R for graphical analysis, correlaction, and
also estimation - this latter the least, since I have an econometric
package which performes it very well. I should also mention that I am going
to work mostly with
2012 Nov 24
3
How to Label Cases in Scatterplots?
Hi everyone,
i?m trying to graphically display distributions with r and i?m working with
makrodata from the WVS.
the command i?m using is
> plot (Makrodata$v11, Makrodata$v12, xlab="Democracy Score Economist",
> ylab= share religious people")
i?m having an additional variable that identifies respectively labels the
2010 Feb 04
1
Bug in as.character? (PR#14206)
A long formula which is converted using as.character, looses its last
part: ``diagonal = 1e-12)''
Shorter formula is ok though.
Best,
H??vard
************
Browse[2]> formula.str
y ~ -1 + b1 + b2 + b3 + b4 + b5 + b6 + b7 + b8 + b9 + b10 + b11 +
b12 + b13 + b14 + b15 + b16 + b17 + b18 + b19 + b20 + b21 +
b22 + b23 + b24 + b25 + b26 + b27 + b28 + b29 + b30 + b31 +
b32 +
2004 Sep 15
3
getting started on Bayesian analysis
I am an economist who decided it's high time that I learned some
Bayesian statistics. I am following An Introduction to Modern
Bayesian Econometrics by T. Lancaster.
The book recommends using BUGS, but I wonder if there are any
alternatives which are free software and fully integrated to R (which
I have been using for more than two years for numerical computations.)
I would like to learn
2009 Apr 01
4
A query about na.omit
Dear all,
Say I have the following dataset:
> DF
x y z
[1] 1 1 1
[2] 2 2 2
[3] 3 3 NA
[4] 4 NA 4
[5] NA 5 5
And I want to omit all the rows which have NA, but only in columns X and Y, so that I get:
x y z
1 1 1
2 2 2
3 3 NA
If I use na.omit(DF), I would delete the row for which z=NA, obtaining thus
x y z
1 1 1
2 2 2
2001 Dec 26
3
ogg123 bug
Potentially nasty bug in current HEAD when printing the name of the file
being played (the "Playing: filename.ogg" bit), any % symbols in the name
appear to be printf parsed causing either junk to be printed or a crash or
both.
I noticed this when trying out http streaming as the url has %20's in it
for spaces in the file name.
Oh, and it still says it's rc2...
--
2002 Jun 03
2
FW: oplock break on excel files using samba 2.2.4
I'm having the same kind of problem too. Links to other excel workbooks
are really breaking badly. One of them so bad that if I highlight the
file through a windows explorer view; it kills the window immediately.
I'm using RH 7.2 and Samba 2.2.4 -1
Please let me know if someone has some suggestions ....
So far I've tried:
veto oplock files = /*.mdb/*.MDB/*.ldb/*.LDB/*.xls/*.XLS
2008 Jul 18
5
Reading SPSS .por files
Does anyone know how to read SPSS .por (ie Portable) files? The foreign package only deals with SPSS .sav files and not with those with a "por" extension.
Thanks,
José
Mr José Luis Iparraguirre D'Elia
Senior Research Economist
Economic Research Institute of Northern Ireland
Floral Buildings
2 - 14 East Bridge Street
Belfast BT1 3NQ
Northern Ireland
United Kingdom