emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Hendy <jw.hendy@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Update-persistent R library repo
Date: Thu, 12 Jul 2012 16:58:04 -0500	[thread overview]
Message-ID: <CA+M2ft_0ufcXZoimNTYJL_k8nm-79iAy94FG4yHt6yUp3ZvF1Q@mail.gmail.com> (raw)

I recently inquired with someone at an R meetup group about how to
make an update-persistant repo for my R libraries. He suggested
creating a file ~/.Renviron with the contents:

.---
| R_LIBS=C:/Users/a1rwhzz/Documents/R
`---

I did this and it works great from the R program via my Windows start
shortcut, but not from Emacs/ESS which is what Org-mode looks for. I
thought I'd ask here as surely some of you have done this. I think the
primary issue is that Emacs defines ~/ as
C:/Users/uname/AppData/Roaming whereas the R program seems to define
it as C:/Users/uname/Documents (which is also C:/Users/uname/My
Documents).

Suggestions?

Also, since I created this file, my CRAN mirror GUI picker no longer
pops up with install.packages(). I'm thinking there has to be a more
robust way. Do you typically start R in the same directory each time
when using ESS/Org-mode?


Thanks for any suggestions,
John

                 reply	other threads:[~2012-07-12 21:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA+M2ft_0ufcXZoimNTYJL_k8nm-79iAy94FG4yHt6yUp3ZvF1Q@mail.gmail.com \
    --to=jw.hendy@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).