Re: [Rd] R-devel on FreeBSD: new C99 functions don't build

2012-05-15 Thread Rainer Hurling
On 15.05.2012 20:49 (UTC+1), Murray Stokely wrote: On Tue, May 15, 2012 at 10:05 AM, Rainer Hurling wrote: About April 25th, there had been some changes within R-devel's src/nmath/pnbeta.c (and probably some other relevant places) and now building R-devel on FreeBSD 10.0-CURRENT (amd64) with gc

Re: [Rd] R-devel on FreeBSD: new C99 functions don't build

2012-05-15 Thread Murray Stokely
On Tue, May 15, 2012 at 10:05 AM, Rainer Hurling wrote: > About April 25th, there had been some changes within R-devel's > src/nmath/pnbeta.c (and probably some other relevant places) and now > building R-devel on FreeBSD 10.0-CURRENT (amd64) with gcc-4.6.4 and > math/R-devel (selfmade forked port

Re: [Rd] Package does not have a NAMESPACE and should be re-installed

2012-05-15 Thread jthetzel
> Thanks! That worked and the package and library are loaded, and it shows > that there is data there when I used > > data() > > However, now when I try to load the data to work with it, I get the > following: > > Error in data(ocupacao2005) : invalid 'setTime' argument > In addition: Warning

[Rd] R-devel on FreeBSD: new C99 functions don't build

2012-05-15 Thread Rainer Hurling
About April 25th, there had been some changes within R-devel's src/nmath/pnbeta.c (and probably some other relevant places) and now building R-devel on FreeBSD 10.0-CURRENT (amd64) with gcc-4.6.4 and math/R-devel (selfmade forked port from math/R) fails like this: [..snip..] mkdir /usr/ports/m

Re: [Rd] Package does not have a NAMESPACE and should be re-installed

2012-05-15 Thread walcotteric
jthetzel wrote > > If you do not have access to the package's source code, you can try > unzipping the the zip file, adding a NAMESPACE file, and re-zipping the > package. It's not ideal, but it should work. This post from Stack > Overflow has some more details: > http://stackoverflow.com/ques

Re: [Rd] Object-oriented programming (OOP)

2012-05-15 Thread R. Michael Weylandt
R has multiple OO paradigms, but since you're starting from a point of "I want object oriented," I'd guess you would be interested in the S4 paradigm which is stricter rather than the far more sane S3 system. If S4 is for you, there are some good links here: http://stackoverflow.com/questions/4143

[Rd] Object-oriented programming (OOP)

2012-05-15 Thread Alfredo Naime
Hello everybody, please excuse my bad English. I am Alfredo Naime and I'm from to Venezuela. I want to make a lib with tools for simulation (queues, inventories, factory, etc.) using object-oriented programming (OOP). You have any manuals on the handling of data types, classes, inheritance, etc.

Re: [Rd] Package does not have a NAMESPACE and should be re-installed

2012-05-15 Thread jthetzel
If you do not have access to the package's source code, you can try unzipping the the zip file, adding a NAMESPACE file, and re-zipping the package. It's not ideal, but it should work. This post from Stack Overflow has some more details: http://stackoverflow.com/questions/8012596/error-with-asre

[Rd] How to set up an object to share data across diverse functions

2012-05-15 Thread John C Nash
In the past 6 months I've been struggling with an issue that has been raised periodically on the lists. This is the need to share information across a group of functions, possibly from different packages. So far I've found solutions that are either quite clumsy or else don't work as have (likely

Re: [Rd] Vignette problem

2012-05-15 Thread Terry Therneau
Duncan, Thanks for the ideas. I checked them out and none seem to be the culprit. My original message was wrong in one detail BTW, as I was already using "graphicx" not graphics. I switched over to the central server machine (CENTOS) to finish up the coxme submission until I could figure

Re: [Rd] Package does not have a NAMESPACE and should be re-installed

2012-05-15 Thread walcotteric
Duncan Murdoch-2 wrote > > On 12-05-14 2:37 PM, walcott3@ wrote: >> I'm trying to load a package locally from a zip file. When I load the >> package, I first get this, which looks okay: >> >> package ?IBGEPesq? successfully unpacked and MD5 sums checked >> >> HOWEVER, when I try to use the packag

Re: [Rd] Package does not have a NAMESPACE and should be re-installed

2012-05-15 Thread Duncan Murdoch
On 12-05-14 2:37 PM, walco...@msu.edu wrote: I'm trying to load a package locally from a zip file. When I load the package, I first get this, which looks okay: package ?IBGEPesq? successfully unpacked and MD5 sums checked HOWEVER, when I try to use the package to use the data with library(IBGEP

[Rd] Package does not have a NAMESPACE and should be re-installed

2012-05-15 Thread walcott3
I'm trying to load a package locally from a zip file. When I load the package, I first get this, which looks okay: package ?IBGEPesq? successfully unpacked and MD5 sums checked HOWEVER, when I try to use the package to use the data with library(IBGEPesq) I get this message: package ?IBGEPes

[Rd] update.formula simplify = FALSE

2012-05-15 Thread isubirana
Dear R users, I am building a packaged where I want to use the "update.formula" function, but modifying the option "simplify = TRUE" to "FALSE". Since this is not an argument, I modified the code and created a new function as: update.formula2 <- function (old, new, ...) { tmp <- .Internal(upd