similar to: stupid R tricks

Displaying 20 results from an estimated 500 matches similar to: "stupid R tricks"

2010 Dec 17
4
using ls() to find a function
Dear R People: Is there a way to find which objects are functions via ls(), please? I'm sure that there is, but I'm not sure how. Thanks, Erin -- Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: erinm.hodgess at gmail.com
2010 Apr 24
3
S4 Inheritance of environments
I looked through the documentation and the mailing lists and could not find an answer to this. My apologies if it has already been answered. If it has, a pointer to the relevant discussion would be greatly appreciated. Creating S4 classes containing environments exhibits unexpected behavior/features.? These have a different in two ways: 1) slotName for the data: ".xData" instead of
2005 Oct 12
1
Questions about readBin function (Was: dec2bin?)
Hi, The latest version of R had some changes to functions "readbin() and writeBin() [which] now support raw vectors as well as filenames and connections.". As a result I am working on retiring "raw2bin" and "bin2raw" functions from "caTools" package which do exactly the same. Thanks to Prof. Ripley for bringing this change to my attention. Which brings me
2007 Jun 26
1
A really simple data manipulation example
In response to those who asked for a better explanation of what the Vilno software does, here's a simple example that gives some idea of what it does. LABRESULTS is a dataset with multiple rows per patient , with lab sodium measurements. It has columns: PATIENT_ID, VISIT_NUM, and SODIUM. DEMO is a dataset with one row per patient, with demographic data. It has columns: PATIENT_ID, GENDER.
2014 Feb 27
1
AIX 7.1 Winbind Module Problems
All, I am having a winbind module load error on aix 7.1 trying to load winbind module for 3.6.0. methods.cfg WINBIND: program_64 = /usr/lib/security/WINBIND_64 (have tried authonly here) NIS: program = /usr/lib/security/NIS program_64 = /usr/lib/security/NIS_64 DCE: program = /usr/lib/security/DCE [root] on [barrow] on [/rehash/samba-3.6.0] {932}
2011 Jan 10
3
Memory Needed for Regression
I'm looking for a formula for memory usage in standard regression; that is, if I have X rows with Y predictors, how much memory is needed? I'm speccing out a system, and I'd like to be able to get enough memory that we can do some fairly large regressions. ==Ed Freeman [[alternative HTML version deleted]]
2007 Jun 13
3
Awk and Vilno
In clinical trial data preparation and many other data situations, the statistical programmer needs to merge and re-merge multiple input files countless times. A syntax for merging files that is clear and concise is very important for the statistical programmer's productivity. Here is how Vilno does it: inlist dataset1 dataset2 dataset3 ; joinby variable1 variable2 where ( var3<=var4 ) ;
2008 Dec 11
3
getting ISO week
Hi all, Is there a simple function already implemented for getting the ISO weeks of a Date object? I couldn't find one, and so wrote my own function to do it, but would appreciate a pointer to the "default" way. If a function is not yet implemented, could the code below be of interest to submit to CRAN? Best Regards, Gustaf --------------------
2006 Nov 01
0
AEL2 - CUT function usage
Hi, In Asterisk 1.2.7, my AEL code looks like this: macro callForwardHunt(numargs,numlist,typelist,ttr) { for(x=1;${x}<${numargs}+1;x=${x}+1) { CUT(number=numlist,-,${x}); CUT(type=typelist,-,${x}); NoOp(${number}); NoOp(${type}); Dial(${type}${number},${ttr}); }; }; In Asterisk
2014 Feb 27
0
AIX WINBIND ISSUES
All, I am having a winbind module load error on aix 7.1 trying to load winbind module for 3.6.0. methods.cfg WINBIND: program_64 = /usr/lib/security/WINBIND_64 (have tried authonly here) NIS: program = /usr/lib/security/NIS program_64 = /usr/lib/security/NIS_64 DCE: program = /usr/lib/security/DCE [root] on [barrow] on [/rehash/samba-3.6.0] {932}
2014 Feb 27
0
AIX 7.1 Winbind Module Load Issues
All, I am having a winbind module load error on aix 7.1 trying to load winbind module for 3.6.0. methods.cfg WINBIND: program_64 = /usr/lib/security/WINBIND_64 (have tried authonly here) NIS: program = /usr/lib/security/NIS program_64 = /usr/lib/security/NIS_64 DCE: program = /usr/lib/security/DCE [root] on [barrow] on [/rehash/samba-3.6.0] {932}
2011 Aug 03
1
Samba4 on CentOS6 make quicktest failed
Hello all I followed samba4 how to ( CentOS6 minimum install ) #working fro me ./configure.developer make #failed for me [root at dcmsc samba-4.0.0alpha16]# make quicktest WAF_MAKE=1 ./buildtools/bin/waf test --quick 'test' finished successfully (0.000s) Waf: Entering directory `/root/download/samba-4.0.0alpha16/bin' [ 111/3389] Generating VERSION Waf: Leaving directory
2008 Feb 12
0
Error message svIO library with latex option
Hi, first I want so say hello to all the members of the list. After working with SAS and SPSS, I do my first steps with R. I have a problem with the copy function of the svIO-library. The ascii option works, but with the latex-option, an error message appears ("invalid filename argument"): > library(svIO) Lade n?tiges Paket: svMisc Lade n?tiges Paket: R2HTML > data(iris) >
2006 Jun 05
2
[PATCH] Pet peave then->than
This patch fixes all the incorrect uses of "then" that I could find on the whole SAMBA_4_0 branch. i.e. it is relative to svn://svnanon.samba.org/samba/branches/SAMBA_4_0 at revision 16046. Index: source/auth/ntlmssp/ntlmssp_sign.c =================================================================== --- source/auth/ntlmssp/ntlmssp_sign.c (revision 16046) +++
2012 Dec 04
0
[LLVMdev] Visual Studio 2012 cl.exe ICE while building LLVM for x64 (in TableGen) at -O2
> On Behalf Of Nicholas Chapman > > On 04/12/2012 06:29, Michael Spencer wrote: > > On Mon, Dec 3, 2012 at 8:08 PM, Gordon Keiser <gkeiser at arxan.com> > wrote: > >> As an update to this: > >> http://connect.microsoft.com/VisualStudio/feedback/details/769222/cl- > >> exe-ice-when-building-llvm-trunk-at-o2 > >> > >> Microsoft
2012 Dec 04
3
[LLVMdev] Visual Studio 2012 cl.exe ICE while building LLVM for x64 (in TableGen) at -O2
On 04/12/2012 06:29, Michael Spencer wrote: > On Mon, Dec 3, 2012 at 8:08 PM, Gordon Keiser <gkeiser at arxan.com> wrote: >> As an update to this: >> http://connect.microsoft.com/VisualStudio/feedback/details/769222/cl-exe-ice-when-building-llvm-trunk-at-o2 >> >> Microsoft has reproduced the ICE, given a workaround, and is planning a fix for a future MSVC release.
2009 Nov 29
4
lm() notation question
Hi, A recent thread provided a (working) construct for lm: lm(as.matrix(freeny[ix]) ~., freeny[-ix]) Can someone explain what is meant by the formula in that expression, that is, what does "mymatrix~." do? I couldn't find any such example in the lm() or formula() help pages. thanks Carl
2007 May 18
1
stupid cruzer tricks ???
Greets, Ummmmm never had one b4... picked up a new 4 Gig SanDisk Cruzer Micro USB 2.0 Flash Drive to play with. Dunno if I will keep it or not. I am mostly interested in using it with CentOS of course. Ummmmm it comes with like 120 meg of non linux apps and stuff on it. Can I dust that garbage and just reformat this unit to boot with CentOS or?? Been around for a long time, know google
2006 Jul 21
1
19 Rails Tricks Most Rails Coders Don''t Know
Sorry if this has already been posted and I have missed it. This is a great little reference I found that even veteran programmers can find useful. http://www.rubyinside.com/19-rails-tricks-most-rails-coders-dont- know-131.html Sunny
2006 Nov 04
1
SWIG tricks
Just saw this interesting page: http://www.dabeaz.com/cgi-bin/wiki.pl?SwigFaq/Python It says "Typemaps are powerful, but often beginners (like me) start to see them as the be-all and end-all of fiddling with parameters and end up missing simpler ways to achieve things. Using %extend allows you to create new functions with parameters how you want them. Using %{ %} allows you to create