similar to: building a package that contains S4 classes and methods

Displaying 20 results from an estimated 100 matches similar to: "building a package that contains S4 classes and methods"

2009 May 29
1
Problem making a package using S4 objects.
Hello. I've developed an algorithm in R which I need to package. The implementation uses S4 objects and it's divided in 5 files. Everything is working fine when I load the files into the R console but when I try to make a package I get an error that I don't quite understand. Here's what I do: *1.* in R console, I do and get: > package.skeleton(name='remora') Creating
2008 Mar 30
1
package.skeleton.S4
Hi the devel list. I am adapting the package.skeleton to S4 classes and methods I would have been very proud to post a new working function on this list. Unfortunately, I do not manage to solve all the problems. Mainly - sys.source does not compile a file with setClass - dumpMethod does not exists yet In the following code, thise two problems are notified by a line ################# Still
2011 Mar 06
1
Seeking guidance in package creation when it contains s4 class
Dear all, I am having problem to create a package when this package is supposed to have some newly created s4 class. Here is my workout: > #rm(list = ls()) > setClass("aClass", sealed=T, representation(slot1 = "vector", slot2 = "character")) [1] "aClass" > fn1 <- function(x, y, z) { + x <- x[1] + y <- y[1] + z <- as.character(z[1]) +
2009 Mar 01
0
R package.skeleton
Hi I am getting the following error > package.skeleton("ohri") Creating directories ... Creating DESCRIPTION ... Creating Read-and-delete-me ... Saving functions and data ... Making help files ... Done. Further steps are described in './ohri/Read-and-delete-me'. Warning messages: 1: In dump(internalObjs, file = file.path(code_dir, sprintf("%s-internal.R", :
2013 Jun 04
0
bug in package.skeleton(), and doc typo.
Hi all, I think there's a bug in package.skeleton(), when using the environment argument: Example: env <- new.env() env$hello <- function() { print('hello') } package.skeleton(name='mypkg', environment=env) ==> does not create any source in mypkg/R/* By the way, package.skeleton(name='mypkg', environment=env, list="hello") does not work either.
2011 Feb 22
1
S3 classes and building a package
Hi List! Suppose I have the following, please: > setClass("buzz",representation(x="numeric"),S3methods=TRUE) [1] "buzz" > x <- rnorm(10) > class(x) <- "buzz" > plot.buzz <- function(x,y,...) { + plot.default(x,type="l",col="blue") + } > f <- function(x) { + return(x^2) + } >
2008 Aug 28
2
Tidying up code - Warning message: deparse may be incomplete
Dear R users, I am currently writing a R package and to do so I am following the guidelines in manual 'Writing R extensions'. In Section 3.1, it is suggested to tidy up the code using a file containing the following: options(keep.source = FALSE) source("myfuns..R") dump(ls(all = TRUE), file = new.myfuns.R") I have done this for my own packages and although it runs, I get
2008 Aug 07
1
package.skeleton does invalide regular name, bis... (PR#12020)
Hi the list, I guess I find an other bug (the first one is at the end off this mail) in package.skeleton. It occurs when we give as code_file some file that are not in the current directories. If we give a single file to code_file (like code_file=3D"riri/fifi.R"), it does not reconize fifi.R as a regular name and change it to riri/zfifi.R If we give several file to code_file (like
2005 May 30
1
Serious ZapRAS problem!
Hi! I've been trying to get ZapRAS or PPPD to work. Neither does! All i get is LCP: timeout sending Config-Requests But after trying, all voicelines get crazy! It sounds like robots when somebody calls! And since the zaptel drivers can't unload (the server hangs totaly if I try!), I have to reboot the whole server! The robot-voice is only on our side, it sounds fine at the other end.
1998 Apr 07
1
Public print share on Samba/VMS asks for a password
Hi all, I'm sure this has been discussed here before but at the time, it didn't apply to me ... until now. I'm trying to configure a public print share on a VAX/VMS system that doesn't require any password to connect to. Anything I've tried always asks the users for a password to make the connection. I don't much care about who connects to this system and its shares as
2002 Oct 25
2
smbclient error - SUCCESS - 0
I use smbclient for - among other things - backing up all the windows clients to my DLT every night. I get errors like the following. 65808 ( 549.3 kb/s) \WINDOWS\SYSTEM\TDC.OCX 87097 ( 611.9 kb/s) \WINDOWS\SYSTEM\WMIDX.OCX 176400 ( 745.7 kb/s) \WINDOWS\SYSTEM\WMP.OCX 995 ( 28.6 kb/s) \WINDOWS\SYSTEM\LMSCRIPT.PIF 14390 ( 93.7 kb/s)
2005 Nov 21
0
Logon Failuter: Unknow user or bad password
Dear all I have samba PDC, i added all the computer names with $prefixed in /etc/passwd tdc$:x:1020:501::/dev/null:/sbin/nologin and added the computer with smbpasswd -a -m tdc and added root with smbpasswd -a root and gave password but when i go to the tdc computer, and the computer to the domain name, it says, Logon Failure, Unknown username or Bad password, But i am giving correct username
2013 May 18
1
How to configure ssl cert chain in dovecot 10-ssl.conf file
Hi there, Does anyone know how to do this: "Put all the certificates in the ssl_cert file. For example when using a certificate signed by TDC the correct order is: Dovecot's public certificate TDC SSL Server CA TDC Internet Root CA Globalsign Partners CA " I try to set these parameters in the conf.d/10-ssl.conf as below, but it seems doesn't work. ---
2006 Sep 12
3
Query SNMP
Hello, I want to collect the same statistics that NUT can provide via SNMP. But, I don't have the special card, and would want to use the serial port to get the data. How does this work? I have tried, but so far no luck. Any ideas? Thank You.
2010 Feb 18
1
using signed certificates for TLS/SSL
Hi, I have, in one customer, a web server running on a Verisign-signed certificate SSL certificate. Everything works fine, IE and Firefox connects on https without asking anything, which usually happens on self-signed certificates. I'm trying to use that certificate on dovecot, but clients (Thunderbird basically) keeps saying the certificate is not valid. yes i'm using,
2006 Jan 25
1
chained ssl cert not working
I am running a production server with 40 pop3 users using dovecot 0.99.14. I am trying to get a chained certificate installed that I purchased through godaddy.com. I need some clarification on how to do this. I found some really vague instructions on the dovecot wiki http://wiki.dovecot.org/ChainedSSLCertificates?highlight=%28chained%29 Unfortunately these instructions are very confusing for me. I
1998 Apr 23
0
Samba + NIS + Dec Unix + enhanced security?
On Wed, 22 Apr 1998 IN%"dkirk@suhep.phy.syr.edu"@EPIC66 wrote: |Does anyone have any exposure with Samba and DEC unix? | Yep, we're running it on our DEC UNIX boxes with no problems. |Can you run enhanced security on DEC and access those users/passwords with |Samba? Yep again. There's a compile option that needs to be un-commented if you're running enhanced security. When
2006 Mar 01
3
console doesn''t reload app
When using scripts/console, changes made to any classes/methods in my application files do not reflect in the console until i restart it. I verified that RAILS_ENV is indeed set to development. Isn''t that supposed to reload the app on every call? is the console different? Thanks, Sebastian
2006 Sep 08
4
"password server" in smb.conf
Hi, I use winbindd and to use it I write my Active Directory Domain Controller in the "password server" directive in smb.conf. Since I have not one but two servers (for failover situations), can I write another password server?
2011 Aug 21
3
pooled hazard model with aftreg and time-dependent variables
Dear R-users, I have two samples with individuals that are in more than one of the samples and individuals that are only in one sample. I have been trying to do a pooled hazard model, stacking one sample below the other, with aftreg and time-dependent covariates. The idea behind is to see aggregate effects of covariates, but need to control for ther effects of same individuals in both samples