Skip to content

Commit c46c269

Browse files
committed
Wrote README to describe how to use this thing. Slight addition to CodeTricks
1 parent 15e6feb commit c46c269

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

CodeTricks.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,14 @@ and `a^2 ` is slower than `a*a`.
3636

3737
Radford Neal [pointed this out](http://radfordneal.wordpress.com/2010/08/19/speeding-up-parentheses-and-lots-more-in-r/) in R-2.11.1, try testing in R 2.14.1 first.
3838

39+
Also, although many matrix operations can be performed on `data.frame`, they are _much_ faster when performed on `matrix` data types[^dfmat].
40+
41+
[^dfmat]: need a small example of this
42+
43+
3944
## Compiling code
4045

41-
As of R2.13, the `complile` package lets you compile code into byte for faster processing. The basic syntax is:
46+
As of `R` 2.13, the `compiler` package lets you compile code into byte for faster processing. The basic syntax is:
4247

4348
`compiled.function <- cmpfun(orig.function)`
4449

README

Whitespace-only changes.

README.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Welcome to the theory group code tips discussion/repository
2+
=========
3+
4+
5+
What to do next?
6+
---------
7+
8+
1. browse current tips [above](https://github.com/tbp-code/General-Repository) open a tip by clicking on the file
9+
2. discuss a new tip by opening an issue [at this link)(https://github.com/organizations/tbp-code/dashboard/issues/repos?direction=desc&state=open)
10+
11+

0 commit comments

Comments
 (0)