Skip to content

Commit 1031c4b

Browse files
committed
more files i forgot to add
1 parent 43cc142 commit 1031c4b

File tree

3 files changed

+51
-0
lines changed

3 files changed

+51
-0
lines changed

aux/rp-decline.asc

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Thank you for inviting me to this meeting. It seems from the subject, agenda and attendees list that I’m not a required participant for this meeting. If I’m mistaken and my presence is required in this meeting, please accept my apologies and let me know that I should attend.
2+
% text from rajiv pant, CTO of NYT, http://www.rajiv.com/blog/2013/11/09/how-to-reply-to-meeting-requests/

dotfiles/.vimrc-noline

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
" Switch syntax highlighting on, when the terminal has colors
2+
" Also switch on highlighting the last used search pattern.
3+
if &t_Co > 2 || has("gui_running")
4+
syntax on
5+
set hlsearch
6+
endif
7+
" causes problems on pasting:
8+
" set smartindent
9+
set tabstop=2
10+
" for '>', e.g., set shiftwidth=4
11+
set shiftwidth=2
12+
" causes problems with makefiles:
13+
set expandtab
14+
filetype plugin on
15+
":let b:col=substitute(b:col, ',', ';', 'g')
16+
"use docx2txt.pl to allow VIm to view the text content of a .docx file directly.
17+
autocmd BufReadPre *.docx set ro
18+
autocmd BufReadPost *.docx %!docx2txt.pl
19+
20+
" show line #s
21+
" set number
22+
23+
" from https://github.com/tpope/vim-markdown
24+
autocmd BufNewFile,BufReadPost *.md set filetype=markdown
25+
let g:markdown_fenced_languages = ['html', 'python', 'bash=sh']
26+
27+
28+
" cwstuff
29+
set ic

sh/r-install

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#!/bin/tcsh -f #-X -V
2+
3+
# usage: r-install foo
4+
5+
#R -e 'install.packages("'$1'", dependencies = c("Depends", "Suggests"),repos="http://cran.us.r-project.org")'
6+
which R
7+
whereis R
8+
echo "so.... is it /usr/local/bin/R ?"
9+
10+
R --version
11+
R -e 'install.packages("'$1'", verbose=TRUE, dependencies = TRUE, repos="http://cran.us.r-project.org")'
12+
13+
# dependencies
14+
# logical indicating to also install uninstalled packages which these packages depend on/link to/import/suggest (and so on recursively). Not used if repos = NULL. Can also be a character vector, a subset of c("Depends", "Imports", "LinkingTo", "Suggests", "Enhances").
15+
#
16+
# Only supported if lib is of length one (or missing), so it is unambiguous where to install the dependent packages. If this is not the case it is ignored, with a warning.
17+
#
18+
# The default, NA, means c("Depends", "Imports", "LinkingTo").
19+
#
20+
# TRUE means (as from R 2.15.0) to use c("Depends", "Imports", "LinkingTo", "Suggests") for pkgs and c("Depends", "Imports", "LinkingTo") for added dependencies: this installs all the packages needed to run pkgs, their examples, tests and vignettes (if the package author specified them correctly).

0 commit comments

Comments
 (0)