similar to: Accessing an object from the function in its .Data slot?

Displaying 20 results from an estimated 10000 matches similar to: "Accessing an object from the function in its .Data slot?"

2007 Dec 03
2
interaction with C++ code (PR#10487)
Full_Name: Ian Wilson Version: 2.6.1 OS: linux Submission from: (NULL) (128.240.229.7) The problem is new to R2.6.?. The code works as expected in R-2.5.0. I get the problem with two different operating systems - an older redhat and new ubuntu and with both g++4.1 and g++3.4. I have a problem with character data that is passed back from C++ code. A small example is the following C++ code
2009 Sep 15
2
S3 objects in S4 slots
Hello, I am the maintainer of the stringkernels package and have come across a problem with using S3 objects in my S4 classes. Specifically, I have an S4 class with a slot that takes a text corpus as a list of character vectors. tm (version 0.5) saves corpora as lists with a class attribute of c("VCorpus", "Corpus", "list"). I don't actually need the
2006 Oct 26
1
Pb with .findInheritedMethods
Hi again, Here is a very simplified version of a class hierarchy defined in the Biobase package (Bioconductor). I post here because this seems to be an S4 related problem: setClass("A", representation(name="character")) setMethod("initialize", "A", function(.Object) {.Object at name <- "I'm an A"; .Object})
2004 Jul 10
3
bug in xyplot xlab, etc (PR#7076)
# Your mailer is set to "none" (default on Windows), # hence we cannot send the bug report directly from R. # Please copy the bug report (after finishing it) to # your favorite email program and send it to # # r-bugs@r-project.org # ###################################################### This looks to me like a bug in xyplot and friends. I anticipated that all three of these
2007 Oct 30
2
R can't source() long lines (PR#10383)
Full_Name: Martin Kober Version: 2.6.0 OS: Vista & Linux Submission from: (NULL) (137.208.185.169) Hi! I just stumbled upon a problem with file source()ing: R will fail to source a file if it contains lines longer than about 8192 bytes ("input buffer overflow"). While it's save to say that human-written code won't contain lines that long, dump()ed data structures may
2015 May 21
2
IPv6 subnet routing
I have 2 nodes nodeA and nodeB I'm using tinc 1.1pre11 -- nodeA(fd80:2015:2105:abcd::1) : $ ip -6 route fd80:2015:2105:abcd::1 dev tun0 proto kernel metric 256 fd80:2015:2105:adcd::/64 dev tun0 metric 1024 fe80::/64 dev eth0 proto kernel metric 256 $ ping6 fd80:2015:2105:abcd::1 PING fd80:2015:2105:abcd::1(fd80:2015:2105:abcd::1) 56 data bytes 64 bytes from fd80:2015:2105:abcd::1:
2006 Oct 24
2
Question about Case Insensitivity
Hi, I am trying to make a Linux filesystem appear case-insensitive and I got the idea that I could use a SAMBA loopback mount to do this. I almost succeeded on my first try but I ran into a snag I have no answer for yet. My setup involves sharing filesystem "/a" and then mounting it on "/b". I can use "ls -l" on the "/b" filesystem in a case-insensitive
2008 Mar 26
2
Range across a List
Hi R, I have a list > class(pp2) [1] "list" > length(pp2) [1] 1244 It is in the below format RIC Trade.Date Close.Price Currency.Code Convertion.Rate New.Price ABCD.SZ 2008/02/29 15.30 CNY 0.1408 2.154240 ABCD.SZ 2008/01/31 15.27 CNY 0.1392 2.125584 ABCD.SZ 2007/12/31 14.88 CNY 0.1371 2.040048
2013 Sep 28
2
mount.cifs and kerberos failure
Hi guys, This seems to be a well-known problem with mount.cifs on Ubuntu 12.04. Unfortunately, although I have applied the suggestions I found with google, I can't seem to be able to get mount.cifs to work with kerberos. I am trying to use kerberos to mount my Windows shares because this is the only allowed secure way in my company to connect to shares. Before anyone asks, I can successfully
2012 Aug 05
2
setMethod sometimes fails to set package slot when signature has trailing 'ANY'
after this setClass("A") setGeneric("bar", function(x, y) standardGeneric("bar")) setMethod(bar, signature(x="A", y="A"), function(x, y) {}) setMethod(bar, signature(x="A", y="ANY"), function(x, y) {}) the method for signature c("A", "A") contains package information > str(getMethod(bar,
2006 Sep 05
2
Bugs with partial name matching during partial replacement (PR#9202)
Hello, First the version info: platform powerpc-apple-darwin8.6.0 arch powerpc os darwin8.6.0 system powerpc, darwin8.6.0 status major 2 minor 3.1 year 2006 month 06 day 01 svn rev 38247 language R version.string Version 2.3.1 (2006-06-01) I have encountered some unusual behavior when trying to
2006 Oct 16
1
Bugs with partial name matching during partial replacement (PR#9299)
This is a rather interesting, but I don't think it is a bug - it is just things that "you are not supposed to do"... you are assuming a certain evaluation order of the 4 "$" operators in " D$ABC[D$M] = D$V[D$M] " as in: temp1 <- D$M # 2nd and 4th temp2 <- D$V[temp1] # 3rd D$ABC[temp1] = temp2 # 1st What R did was this:
2012 Aug 21
1
weird rsync issue
rsync fails on some directories while on others it works without issue. Here are the inportant items: On theserver from which directories are being copied: more /etc/rsyncd.conf <snip> [abcd] path = /xyz/abcd comment = abcd uid = 0 gid = 3 read only = yes list = no auth users = test-abcd secrets file = /etc/rsyncd.passwd strict modes = true hosts allow =
2009 Jun 05
2
[LLVMdev] SSI and ABCD for LLVM
By static array bounds checking, I mean eliminating array bounds checking which can be proved ``safe'' at compile-time. Well, even though there are a lot of approaches of doing this, I believe that having an implementation of ABCD would very useful. It would be even more useful if LLVM can have a general framework for doing static array bounds checking -- just like the aliasing framework.
2004 Nov 17
3
Samba share to access windows folders in linux.
Hi, I am trying to access folders on a windows system on a linux system using the command, smbmount '//a.b.c.d/CCViews/abcd/abcd_Linux_dev' '/root/pqrs/LinuxDev' -o username=abcd/<domain>,uid=abcd,gid=abcd This prompts for a password and I give the correct domain password here. It gives me the error: 21896: tree connect failed: ERRDOS - ERRnosuchshare (You specified an
2012 Jun 28
3
Storing results in a single file after looping over all files
Hi All, I have a whole lot of *.raw files in my working folder and I am doing the same analysis on each of those and want to save all the results in a single file. I am making some mistake here and can't figure out how to solve it. Say, the *.raw files are ABCD.raw, EFGH.raw, IJKL.raw ... The files are of this format ID PHI?? aa1? aa2? aa3 .... 1??? 1???? 1.3?? 2.0?? 1.0 2??? 0????
2009 Jun 16
1
[LLVMdev] SSI and ABCD for LLVM
Vikram S. Adve wrote: > On Jun 5, 2009, at 9:26 AM, Mai, Haohui wrote: > > >> By static array bounds checking, I mean eliminating array bounds >> checking >> which can be proved ``safe'' at compile-time. >> > > Even though SAFECode does have such a pass, there are some tradeoffs > with the current version: > > 1. It uses an
2010 Jun 04
2
Argument recycling in substring()
Hi, According to its man page substring() "expands (its) arguments cyclically to the length of the longest _provided_ none are of zero length". So, as expected, I get an error here: > substring("abcd", first=2L, last=integer(0)) Error in substring("abcd", first = 2L, last = integer(0)) : invalid substring argument(s) But I don't get one here:
2009 Sep 16
1
bind dns help?
Hello, I've recently inherited a network with bind dns already set in it.. the thing is, the previous admin added our networks "domain" as our default company's website.. lets say "abcd.com" first of all, I'm a complete newbie with DNS under linux so I've sruggled my way and finally landed on webmin that helps me out in adding local dns records. though the
2014 Sep 26
5
increase number of libvirt threads by starting tansient guest doamin - is it a bug?
hello, if i start a transient guest doamin via "virsh create abcd.xml" i see an additional libvirt thread and also some open files: pstree -h `pgrep libvirtd` libvirtd───11*[{libvirtd}] libvirtd 3016 root 21w REG 253,0 6044 1052094 /var/log/libvirt/libxl/abcd.log libvirtd 3016 root 22r FIFO 0,8 0t0 126124 pipe libvirtd 3016 root