박상규
2012-Nov-25 15:25 UTC
[R] I'd like to know more efficient method to verify the pre-packaged codes
Hello, I want to add some new functionalities in the package 'quantmod '. So I download source code and am managed to build it. I found that modifying code and check if it works by repeating the following steps: 1) r CMD check quantmod 2) r CMD build quantmod 3) r CMD INSTALL quantmod_0.3-17.tar.gz 4) launch R gui 5) library('quantmod') 6) run my script Let me know if there is more faster method to modify and check pre-packaged source codes. Thanks in advance. SK Park [[alternative HTML version deleted]]
R. Michael Weylandt
2012-Nov-25 16:15 UTC
[R] I'd like to know more efficient method to verify the pre-packaged codes
On Sun, Nov 25, 2012 at 3:25 PM, ??? <birdfire94 at naver.com> wrote:> Hello, > > I want to add some new functionalities in the package 'quantmod '. > So I download source code and am managed to build it. > > I found that modifying code and check if it works by repeating the following steps: > > 1) r CMD check quantmod > 2) r CMD build quantmod > 3) r CMD INSTALL quantmod_0.3-17.tar.gz > 4) launch R gui > 5) library('quantmod') > 6) run my scriptAre you wanting to modify the quantmod package or simply install it? If the latter, the install.packages() command from within R should take care of everything for you. If looking to modify/extend the quantmod functionality, take a look at the devtools package developed by Hadley Wickham. It tries (from what I hear, successfully) to make the write-install-check cycle of package development much faster. Cheers, Michael
Possibly Parallel Threads
- How to convert xts data into list
- Books for fully understanding internal logics on some packages(quantmod, xts, zoo and chron)
- quantmod getOptionChain Not Work
- using "plot" with time series object - "axes = FALSE" option does not appear to work
- Some questions about chron package..