Re: [Rd] Suggestions for an "official" place to store permissions/options for a package?

2013-10-18 Thread Reijo Sund
> to my knowledge, there is not currently an official way to store a > *package*'s options to a standardized location on a user's computer. CRAN Repository policy gives some guidance: "Packages should not write in the users’ home filespace, nor anywhere else on the file system apart from the R se

[Rd] Suggestions for an "official" place to store permissions/options for a package?

2013-10-18 Thread Jonathan Greenberg
R-developers: Duncan Murdoch suggested I move a post I started on r-help over here, since it is more at the developer level. Here is my question/challenge -- to my knowledge, there is not currently an official way to store a *package*'s options to a standardized location on a user's computer. Gi

Re: [Rd] Possible problem with namespaceImportFrom() and methods for generic primitive functions

2013-10-18 Thread John Chambers
Very good report. Should be fixed in the development version for 3.1.0 and in 3.0.2 patched. (svn revision 64076). John On Oct 18, 2013, at 8:51 AM, Karl Forner wrote: > Hi all, > > I have a problem with a package that imports two other packages which both > export a method for the `[` prim

[Rd] Possible problem with namespaceImportFrom() and methods for generic primitive functions

2013-10-18 Thread Karl Forner
Hi all, I have a problem with a package that imports two other packages which both export a method for the `[` primitive function. I set up a reproducible example here: https://github.com/kforner/namespaceImportFrom_problem.git Basically, the testPrimitiveImport package imports testPrimitiveExpo

Re: [Rd] Parallel R expression evaluations

2013-10-18 Thread Simon Urbanek
On Oct 16, 2013, at 9:57 AM, JaiReddy wrote: > Hi all, > > I am using R-3.0.1 under Linux platform to embed R into my C++ code. > > I am facing an error while executing more than 1 R-expressions parallelly. > R is not thread-safe so you cannot execute any API calls in parallel. Also you can u

[Rd] Possible tweak to R intro - was RE: [R] Subseting a data.frame -

2013-10-18 Thread S Ellison
Transferred from R-help: >> From: S Ellison >> Subsetting using subset() is perhaps the most natural way of >> subsetting data frames; perhaps a line or two and an example could >> usefully be included in the 'Working with data frames' section of the R >> Intro? > > From: Bert Gunter [mailto:gunter