Re: [Rd] R 3.0, Rtools3.0,l Windows7 64-bit, and permission agony

2013-04-21 Thread steven mosher
Well, color me confused as heck. I've upgraded to R 3.0 so that I can bring my packages up to date, but the instructions surrounding Rtools30 are not a model of clarity. On Sun, Apr 21, 2013 at 4:04 PM, Gabor Grothendieck ggrothendi...@gmail.com wrote: On Sun, Apr 21, 2013 at 6:17 PM, Henrik

Re: [Rd] Suggestion: Change default to download.file(..., mode=wb) ...instead of mode=w with some bells and whistles

2012-09-05 Thread steven mosher
I would second this suggestion. On Wed, Aug 29, 2012 at 12:27 PM, Henrik Bengtsson h...@biostat.ucsf.eduwrote: Hi, I keep seeing the problem where people are download binary files as text (mode=w) when using R's download.file() for FTP/HTTP downloads. It often results in unnecessary

Re: [Rd] Compressing data for package builds

2012-08-17 Thread steven mosher
I believe that was my boneheaded error.. checking now.. Yup Thanks guys! On Fri, Aug 17, 2012 at 3:01 AM, Uwe Ligges lig...@statistik.tu-dortmund.de wrote: On 17.08.2012 07:24, steven mosher wrote: R CMD build is how you preferably should be creating your package tar ball, so you simply

[Rd] Compressing data for package builds

2012-08-16 Thread steven mosher
Hi, I have two .rda files that I need to include in a package. I've placed them both in a data directory after save() the are around 150Kb each. When I try to check the package I get the following warning Warning: large data file(s) saved inefficiently: size ASCII

Re: [Rd] Compressing data for package builds

2012-08-16 Thread steven mosher
to do the compression. On Thu, Aug 16, 2012 at 5:48 PM, Simon Urbanek simon.urba...@r-project.orgwrote: On Aug 16, 2012, at 5:08 PM, steven mosher wrote: Hi, I have two .rda files that I need to include in a package. I've placed them both in a data directory after save

Re: [Rd] Encoding errors in Rd files

2012-07-25 Thread steven mosher
you I should take this dataframe, change the encoding to UTF-8 Sorry for being so dense On Tue, Jul 24, 2012 at 1:46 PM, Prof Brian Ripley rip...@stats.ox.ac.ukwrote: On 24/07/2012 21:08, steven mosher wrote: Well, I'm working on project trying to bring back an old package last published on R

Re: [Rd] Encoding errors in Rd files

2012-07-25 Thread steven mosher
for your help! Steve On Wed, Jul 25, 2012 at 1:04 AM, Duncan Murdoch murdoch.dun...@gmail.comwrote: On 12-07-25 3:24 AM, steven mosher wrote: Thank Dr. Ripley. When I read the instructions If the DESCRIPTION file is not entirely in ASCII it should contain an ‘ Encoding’ field specifying

[Rd] Encoding errors in Rd files

2012-07-24 Thread steven mosher
Well, I'm working on project trying to bring back an old package last published on R 1.9 back to life. I'm almost there but I am getting killed by an encoding error in the Rd files After reading the manual, I decided to try UTF-8. Mostly because I could spell it. ha. That got me a bit closer

Re: [Rd] creating a package in R

2012-04-29 Thread steven mosher
If you want simple step by step instructions for Windows, try this http://stevemosher.wordpress.com/ten-steps-to-building-an-r-package-under-windows/ On Sun, Apr 29, 2012 at 7:08 AM, nossa hamdi_i...@hotmail.fr wrote: Please give me the necessary links that permits me to create my own

[Rd] weird error

2011-10-31 Thread steven mosher
I was just rebuilding a package that has built before and I hit this error Error in loadNamespace(package, c(which.lib.loc, lib.loc), keep.source = keep.source) : cyclic name space dependency detected when loading 'GhcnDaily', already loading 'GhcnDaily' The package built just fine last

Re: [Rd] weird error

2011-10-31 Thread steven mosher
Thanks, found it. never say you only changed one thing. For reference for other folks. There was an errant script in my R subdir for the package that script had a library command for the package. hence the cyclical reference Steve On Mon, Oct 31, 2011 at 8:36 PM, steven mosher mosherste

Re: [Rd] could not find function after import

2011-09-23 Thread steven mosher
Duncan I have a related question. I need one function from R.utils. But R.utils depends on R.oo and R.methodsS3. so I made R.util an import and then used importFrom() in the namespace. The package passed the check. However when it came to use the function it had not been loaded? do I need

Re: [Rd] could not find function after import

2011-09-23 Thread steven mosher
for. Thanks for the explanation. Steve On Fri, Sep 23, 2011 at 11:44 AM, Duncan Murdoch murdoch.dun...@gmail.com wrote: On 23/09/2011 12:57 PM, steven mosher wrote: Duncan I have a related question. I need one function from R.utils.  But R.utils depends on R.oo and  R.methodsS3. so I made

Re: [Rd] Please explain your workflow from R code - package - R code - package

2011-09-10 Thread steven mosher
Thanks, I was too lazy to even look for it. On Sat, Sep 10, 2011 at 9:31 AM, Joshua Ulrich josh.m.ulr...@gmail.com wrote: On Sat, Sep 10, 2011 at 11:23 AM, steven mosher mosherste...@gmail.com wrote: All I need now is a tool to go through the 4 packages I already created without Roxygen

[Rd] Importing from a package with dependencies

2011-09-10 Thread steven mosher
I needed to do a little cleanup on my packages ( before trying Rd2Roxygen) and that involved switching some packages from my Depends list to Imports. Specifically, I had a dependency on R.utils, but since I only used one or two functions (gunzip ) I thought it best to importFrom(R.utils,gunzip)

Re: [Rd] Creating package Vignette

2011-07-14 Thread steven mosher
Also useful if you want to do an FAQ On Thu, Jul 14, 2011 at 10:12 AM, Melissa Jane Hubisz mjhub...@gmail.comwrote: Another workaround is to create a dummy vignette which does nothing but include the pdf file. Something like this: vignette.Rnw: % \VignetteIndexEntry{vignette} %

Re: [Rd] Syntactically valid names

2011-07-05 Thread steven mosher
regexp approach is kinda ugly http://www.r-bloggers.com/testing-for-valid-variable-names/ On Tue, Jul 5, 2011 at 3:29 PM, Hadley Wickham had...@rice.edu wrote: I wouldn't expect so. The basic structure might be handled using a regexp of sorts, but even that is tricky because of the dot not

Re: [Rd] First package submission to CRAN

2011-06-23 Thread steven mosher
a binary. See the recent thread with the subject Porting unmaintained packages to post R 2.10.0 era David Scott Le 22 juin 2011 à 22:12, steven mosher a écrit : I'm preparing to submit my first package to CRAN, thanks to the help of too many people to mention. I've built and checked

Re: [Rd] First package submission to CRAN

2011-06-23 Thread steven mosher
Thanks. figured as much and submitted On Thu, Jun 23, 2011 at 10:16 AM, Sascha Vieweg saschav...@gmail.comwrote: On 11-06-22 22:12, steven mosher wrote: I'm preparing to submit my first package to CRAN, thanks to the help of too many people to mention. [...] My package is pure R

[Rd] First package submission to CRAN

2011-06-22 Thread steven mosher
I'm preparing to submit my first package to CRAN, thanks to the help of too many people to mention. I've built and checked the package on Windows ( making a zip) and my path points to the 64 bit version of R. Everything builds and checks and the final warnings have been fixed. My package is