Re: [R] Seeking help in Package development

2011-02-20 Thread Mike Marchywka
> Date: Sun, 20 Feb 2011 15:56:41 +0100 > From: lig...@statistik.tu-dortmund.de > To: jwiley.ps...@gmail.com > CC: r-help@r-project.org > Subject: Re: [R] Seeking help in Package development > > May I add that the best docum

Re: [R] Seeking help in Package development

2011-02-20 Thread Uwe Ligges
May I add that the best documentation for building packages is the "Writing R Extensions" that ships with the current R version. It is always current, precise, and not as outdated as many resources you find "somewhere" in the web - yes, the one cited below is outdated. Uwe Ligges On 19.02.20

Re: [R] Seeking help in Package development

2011-02-19 Thread Joshua Wiley
Hi Nipesh, Although "c:/Program Files/R/R-2.12.1/bin/" may be where R.exe is located, it is not where you want to locate your package, and, as Gabor pointed out, it is best to keep your package outside of the main R tree. Your package does not need to be in the same location as R.exe, you just ne

Re: [R] Seeking help in Package development

2011-02-19 Thread Gabor Grothendieck
On Sat, Feb 19, 2011 at 6:19 PM, Nipesh Bajaj wrote: > Hi Gabor, can you be more detail on step 01? Is that not the correct > path for R.exe? But I found it there. > > When I ran R CMD build MyPackage then actually got these warnings: > cygwin warnings: > MS-DOS style path detected: c:/Program Fil

Re: [R] Seeking help in Package development

2011-02-19 Thread Nipesh Bajaj
Hi Gabor, can you be more detail on step 01? Is that not the correct path for R.exe? But I found it there. When I ran R CMD build MyPackage then actually got these warnings: cygwin warnings: MS-DOS style path detected: c:/Program Files/R/R-2.12.1/bin/Mypackage_1.0.tar prefered POSIX equivalent is

Re: [R] Seeking help in Package development

2011-02-19 Thread Gabor Grothendieck
On Sat, Feb 19, 2011 at 5:31 PM, Nipesh Bajaj wrote: > Thanks Gabor for your input. Here what I have done is that: > > 1. Copy 'MyPackage' folder (developed by package.skeleton) into > 'C:\Program Files\R\R-2.12.1\bin' (I found R.exe is there) > > 2. In the command prompt, I changed the working di

Re: [R] Seeking help in Package development

2011-02-19 Thread Nipesh Bajaj
Thanks Gabor for your input. Here what I have done is that: 1. Copy 'MyPackage' folder (developed by package.skeleton) into 'C:\Program Files\R\R-2.12.1\bin' (I found R.exe is there) 2. In the command prompt, I changed the working directory using "CD" command and run 'R CMD build MyPackage' 3. I

Re: [R] Seeking help in Package development

2011-02-19 Thread Joshua Wiley
Dear Nipesh, On Sat, Feb 19, 2011 at 1:39 PM, Nipesh Bajaj wrote: > Dear all, I am a new user of R and currently trying hard to develop my > own package. Here I am following this tutorial > 'http://www.mathfinance.cn/how-to-create-an-R-package-in-windows/' > > Here it says that (step 8): "open a

Re: [R] Seeking help in Package development

2011-02-19 Thread Gabor Grothendieck
On Sat, Feb 19, 2011 at 4:39 PM, Nipesh Bajaj wrote: > Dear all, I am a new user of R and currently trying hard to develop my > own package. Here I am following this tutorial > 'http://www.mathfinance.cn/how-to-create-an-R-package-in-windows/' > > Here it says that (step 8): "open a “command promp