Re: [ESS] Developing R packages under ESS

2018-03-07 Thread Richard M. Heiberger
My guess is that starting from outside the package misled ESS. Try this sequence. library(mypackage) ## then open the R source in directory mypackage/R/ ## modify the R files and C-c C-c revised functions. They will go inside the namespace. On Wed, Mar 7, 2018 at 9:29 PM, Ross Boylan

Re: [ESS] Developing R packages under ESS

2018-03-07 Thread Ross Boylan
On Wed, Mar 07, 2018 at 08:52:39PM -0500, Richard M. Heiberger wrote: > normally, it just works. Do you have a recent ESS? git tip as of yesterday. > Try turning off > your .emacs and see if that helps. > My .emacs file loads ESS. I suppose I could try an .emacs file that only does that.

Re: [ESS] Developing R packages under ESS

2018-03-07 Thread Richard M. Heiberger
normally, it just works. Do you have a recent ESS? Try turning off your .emacs and see if that helps. When you open .R files from a package, ESS knows about the package. When you C-c C-c revised files they go into the package namespace. On Wed, Mar 7, 2018 at 8:28 PM, Boylan, Ross

[ESS] Developing R packages under ESS

2018-03-07 Thread Boylan, Ross
Can anyone suggest to me a good way to develop R packages with ESS? "good" here means that I can debug the code and make changes to the code without rebuilding the whole package. So far I've tried a bunch of different approaches, but none has quite worked. 1. When I had an old (or even new)