[Rd] Suggestion: Specify default of "pch" in the manual

2012-08-24 Thread Benjamin Hofner
Both, in the manuals for par() and points() I could not find a note on the default value of "pch". I think it would be rather helpful to add a note that the default is 1 (in both manuals). This would, for example, help users that want to draw a legend. And yes, I know that one can obtain the d

Re: [Rd] Milestone: 4000 packages on CRAN

2012-08-24 Thread S Ellison
> -Original Message- > > | > There is a bug somewhere if another count gives 4001. > > | > > | Hint: available.packages() has filters, so you are not seeing the > > | Windows-only packages. . > '"OS_type"' exclude packages whose OS requirement is > incompatible with this ver

[Rd] Fwd: Re: Package cwhmisc and problems

2012-08-24 Thread Christian Hoffmann
Original-Nachricht Betreff:Re: Package cwhmisc and problems Datum: Fri, 24 Aug 2012 07:34:14 +0100 Von:Prof Brian Ripley An: Christian Hoffmann Kopie (CC): c...@r-project.org This is the address for CRAN submissions. Please ask for help on R-help or R

[Rd] include dll in R-package

2012-08-24 Thread LIYING HUANG
Hi, We have several projects in the center done by researchers over years in Fortran, there are copy right issues etc to prevent us from giving away the source codes, but a lot of social scientist are interested to use the program. We tried to use dlls to make plugins (available in our website)

Re: [Rd] include dll in R-package

2012-08-24 Thread Dirk Eddelbuettel
On 24 August 2012 at 09:06, LIYING HUANG wrote: | We have several projects in the center done by researchers over years | in Fortran, there are copy right issues etc to prevent us from | giving away the source codes, but a lot of soc

Re: [Rd] include dll in R-package

2012-08-24 Thread Kasper Daniel Hansen
You need to setup a Makevars.win and at lest modify PKG_LIBS and probably PKG_FFLAGS PKG_CFLAGS depending on how you link to the DLL. I suggest downloading example packages from Bioc / CRAN to look at. Kasper On Fri, Aug 24, 2012 at 9:06 AM, LIYING HUANG wrote: > > Hi, > > We have several p

Re: [Rd] include dll in R-package

2012-08-24 Thread Kasper Daniel Hansen
On Fri, Aug 24, 2012 at 10:16 AM, Dirk Eddelbuettel wrote: > > On 24 August 2012 at 09:06, LIYING HUANG wrote: > | We have several projects in the center done by researchers over years > | in Fortran, there are copy right issues etc to prevent us from > ^^^

Re: [Rd] include dll in R-package

2012-08-24 Thread Jeff Ryan
Any package can link to external DLLs. You'll need to make that an explicit dependency, have some configure script and distribute the library somewhere else, but many packages on CRAN already do this. My RBerkeley uses a user installed Oracle Berkeley DB that is linked to at configure time, of co

[Rd] misc subdirectory

2012-08-24 Thread David L Lorenz
The utils package has a misc folder, and some other packages have folders that are not listed in the R-extensions documentation (?data?, ? demo?, ?exec?, ?inst?, ?man?, ?po?, ?src?, and ?tests?). I'd like to be able to put some ancillary data into a misc folder, but it's mere presence in the s

Re: [Rd] misc subdirectory

2012-08-24 Thread Prof. Dr. Matthias Kohl
make "misc" a subfolder of "inst" hth Matthias On 24.08.2012 19:32, David L Lorenz wrote: The utils package has a misc folder, and some other packages have folders that are not listed in the R-extensions documentation (?data?, ? demo?, ?exec?, ?inst?, ?man?, ?po?, ?src?, and ?tests?). I'd lik

Re: [Rd] misc subdirectory

2012-08-24 Thread Kasper Daniel Hansen
You put it into a subdirectories of inst, like PACKAGENAME/inst/extdata which gets install to PACKAGENAME/extdata See R-extentions. Kasper On Fri, Aug 24, 2012 at 1:32 PM, David L Lorenz wrote: > The utils package has a misc folder, and some other packages have > folders that are not lis

Re: [Rd] misc subdirectory

2012-08-24 Thread Dirk Eddelbuettel
On 24 August 2012 at 12:32, David L Lorenz wrote: | The utils package has a misc folder, and some other packages have | folders that are not listed in the R-extensions documentation (?data?, ? | demo?, ?exec?, ?inst?, ?man?, ?po?, ?src?, and ?tests?). I'd like to be | able to put some ancillar

[Rd] Anybody have a WABAC machine?

2012-08-24 Thread Roebuck,Paul L
What version of R did the following functions make their debut? packageStartupMesssage paste0 sprintf Need to update some old packages... __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] PHP escapeshellcmd() equivalent

2012-08-24 Thread Roebuck,Paul L
Not that I recall running across such, but does R natively provide something equivalent to PHP's escapeshellcmd() function to escape shell job control, wildcards, etc? __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] PHP escapeshellcmd() equivalent

2012-08-24 Thread Brian G. Peterson
On 08/24/2012 01:23 PM, Roebuck,Paul L wrote: Not that I recall running across such, but does R natively provide something equivalent to PHP's escapeshellcmd() function to escape shell job control, wildcards, etc? Doesn't this question belong on R-help? It has nothing to do with R's internals

Re: [Rd] Suggestion: Specify default of "pch" in the manual

2012-08-24 Thread Roebuck,Paul L
On 8/24/12 4:50 AM, "Benjamin Hofner" wrote: >[SNIP] > And yes, I know that one can obtain the default by inspecting par() but > I think for many users (especially beginneRs) this is not the first > place to look for such information but the manual is. Funny, my occasional reading of R-Help ques

Re: [Rd] Anybody have a WABAC machine?

2012-08-24 Thread Joshua Ulrich
grep -E "packageStartupMessage|print0|sprintf" *NEWS You need *NEWS to ensure you search NEWS, ONEWS, and OONEWS. -- Joshua Ulrich | about.me/joshuaulrich FOSS Trading | www.fosstrading.com On Fri, Aug 24, 2012 at 1:16 PM, Roebuck,Paul L wrote: > What version of R did the following function

[Rd] CRAN check error with no example?

2012-08-24 Thread Spencer Graves
Hello, All: The CRAN checks for the "fda" package includes one error: The error most likely occurred in ... file.copy2 ... Error: unprotect_ptr: pointer not found Execution halted (http://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-debian/fda-00check.html) The help p

Re: [Rd] CRAN check error with no example?

2012-08-24 Thread Henrik Bengtsson
For what it's worth, I got that exact same error the other day when running R CMD check --as-cran on fda v2.2.8 and 'hyperSpec v0.98-20120713 (out of 84 other packages) when using R Under development (unstable) (2012-08-14 r60264) [Platform: x86_64-w64-mingw32/x64 (64-bit)]. Those errors did not s

Re: [Rd] CRAN check error with no example?

2012-08-24 Thread Spencer Graves
Hi, Henrik: Thanks. That suggests I should ignore this error message. That was my tentative plan, but I felt a need to mention it to this group before I did. Best Wishes, Spencer On 8/24/2012 3:35 PM, Henrik Bengtsson wrote: For what it's worth, I got that exact same e

Re: [Rd] Milestone: 4000 packages on CRAN

2012-08-24 Thread Greg Snow
On Fri, Aug 24, 2012 at 4:32 AM, S Ellison wrote: [snip] > Anyone out there still think statistics are easy? There are plenty of people out there that still think statistics are easy, after all you can always stick a bunch of numbers into Excel and get all kinds of statistics out, they are even e