Skip to content

configuring a package for own personal needs

6 messages · Sachinthaka Abeywardana, R. Michael Weylandt, jim holtman +2 more

#
The easiest thing is probably to download source files from CRAN and
edit the R code, which can be found in the R2Cuba_vvv/R/ directory
(vvv is the version code), re-build and then you should be good
permanently. I just looked at the source on my machine: very easily
done, if you feel comfortable with the compiling which sounds like you
are.

Michael

On Tue, Dec 6, 2011 at 6:39 PM, Sachinthaka Abeywardana
<sachin.abeywardana at gmail.com> wrote:
#
Where is it spitting out the new-line to?  Can you just capture the
output and then remove the last new-line; easier than rewriting the
function.  Here is one way of doing it:
this is

 output
 with
 an extra linefeed at the end
this is

 output
 with
 an extra linefeed at the end
this is

 output
 with
 an extra linefeed at the end
On Tue, Dec 6, 2011 at 6:39 PM, Sachinthaka Abeywardana
<sachin.abeywardana at gmail.com> wrote:

  
    
#
RTFM. (Writing R Extensions. It comes with R.) Since you are asking this question I will hazard a guess that you are on Windows, and will want to install RTools per that documentation.
---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
--------------------------------------------------------------------------- 
Sent from my phone. Please excuse my brevity.
Sachinthaka Abeywardana <sachin.abeywardana at gmail.com> wrote:

            
#
On Dec 6, 2011, at 10:22 PM, Jeff Newmiller wrote:

            
In addition to ReadingThatF'ingManl, you may also want to look at Rcpp  
(and its extensions). It's not as clear to me that you are on Windows  
(I'm not).