similar to: R-beta: slice.index in R

Displaying 20 results from an estimated 10000 matches similar to: "R-beta: slice.index in R"

1998 May 14
1
R-beta: How do I dyn.load in R for Windows95?
I am currently running R under Windows95. I am entirely new to R in any environment, with no prior experience of S or S-Plus either. I want to run some functions written for S-plus and residing in a file "cat.s". The fuctions also call some Fortran routines residing in a compiled fortran file "cat.obj" In S-Plus as I understand it I am supposed to first
2000 Mar 30
1
slice.index
Porting a package from S-Plus to R I find missing the S-Plus function slice.index(). Before I hack a (probably ugly an inefficient) replacement, has anyone done so? Is there a similar function in R that I have overlooked? Many thanks, ft. -- Fernando TUSELL e-mail: Departamento de Econometr?a y Estad?stica etptupaf at bs.ehu.es Facultad de CC.EE.
2008 Jun 17
6
mirroring zfs slice
Hi All, I had a slice with zfs file system which I want to mirror, I followed the procedure mentioned in the amin guide I am getting this error. Can you tell me what I did wrong? root # zpool list NAME SIZE USED AVAIL CAP HEALTH ALTROOT export 254G 230K 254G 0% ONLINE - root # echo |format Searching for disks...done
2011 Mar 04
2
sum of digits or how to slice a number into its digits
Dear R colleagues, I face a seemingly simple problem I couldn't find a solution for myself so far: I have to sum the digits of numbers. Example: 1010 ->2 100100110 -> 4 Unfortunately there seems not to be a function for this task. So my idea was to use sum(x) for it. But I did not figure out how to slice a number to a vector of its digits. Example (continued from above): 1010 ->
2009 Aug 04
4
array slice notation?
Suppose I have an n-diml array A and I want to extract the first "row" -- ie all elements A[1, ...] Interactively if I know 'n' I can write A[1,,,,,] with (n-1) commas. How do I do the same more generally, eg in a script? (I can think of doing this by converting A to a vector then extracting the approp elements then reshaping it to an array, but I wonder if there isn't a
2013 Mar 17
2
[LLVMdev] How to slice the source code?
Hi all, I'm doing the program slicing [1] in LLVM. Now I implemented the Weiser's algorithm [2] in a simple way by writing a plugin to analyze the IR. My final goal is to slice the source code, thus I recorded all the lines of source code to be sliced. The last step is to delete the lines which are not in the program slice. However, I met a problem when deleting the source code directly:
2011 Jan 24
2
how to slice a zoo object
Hi Would anyone have any pointers on how to slice up a large zoo table. I have the following structure: - > str(ZOO_OBJ) ?zoo [1:632, 1:83] 30.4 30.4 30.4 30.4 30.3 ... ?- attr(*, "dimnames")=List of 2 ??..$ : NULL ??..$ : chr [1:83] "COL1" "COL2" "COL3" "COL4" ... ?- attr(*, "index")= POSIXct[1:632], format: "2009-05-01
2006 Mar 15
2
swap at beginning of slice - danger?
Hello freebsd-stable, I have 5.5-PRERELEASE server in production, booting from ad0s1: # BLOCKSIZE=512 swapinfo Device 512-blocks Used Avail Capacity /dev/ad0s1b 2097152 52872 2044280 3% /dev/ad1s1b 2097152 51952 2045200 2% Total 4194304 104824 4089480 2% # bsdlabel ad0s1 | fgrep b: b: 2097152 0 swap
2013 Mar 26
0
[LLVMdev] How to slice the source code?
Hi, maybe you can have a look at the CReduce project: http://embed.cs.utah.edu/creduce/ This project implements many source-to-source transformations of C programs, e.g. removing functions, changing variable names, deleting branches in if-statements, etc. Some of these are purely based on the source code, other use the Clang frontend. Hope this helps, Jonas On Sun, Mar 17, 2013 at 7:25 PM,
2008 Aug 05
1
Stuck in geli
Rarely, a geli partition I have freezes a process in bufwait state. It occurs after an ATA timeout message: Aug 5 03:47:13 thor kernel: ad10: TIMEOUT - WRITE_DMA retrying (1 retry left) LBA=219028637 The geli partition resides on an Intel MatrixRAID RAID1 mirror using the ICH9R chipset (Asus P5K-E/WIFI). Killing (even -9) the process does not work. Rebooting is the only solution, yet the
2008 Aug 31
2
LVM and hotswap (USB/iSCSI) devices?
Hi list, I'm having one of those 'I'm stupid' -problems with LVM on CentOS 5.2. I've been working with traditional partitions until now, but I've finally been sold on the theoretical benefits of using LVM, but for now I only have a huge pile of broken filesystems to show for my efforts. My scenario; I attach a disk, either over USB or iSCSI. I create a PV on this
2009 Jul 24
1
Simply matrix slice question
Is there any way to force a slice of a matrix to stay a matrix? R tends to convert a single row of a matrix into a vector. Example: z<-matrix (rnorm(20), ncol=5) zz<-z[1,] is.matrix(zz) #FALSE I usually resort to: zz<-matrix(z[1,], ncol=dim(z)[2], dimnames=list(rownames(z)[1], colnames(z))) But that seems horribly kludgy. Thanks! -Jim
2003 Sep 04
1
ext2fs BSD-slice subpartition?
Hi everyone, I extracted this from the grub sourcecode: /* possible values for the *BSD-style partition type */ . . . #define FS_EXT2FS 17 /* Linux Extended 2 file system */ It would actually meet my partitioning requirements to register a partition inside one of my slices as ext2 (I currently mask the partition type as ISO9660(!) and use a *patched* grub, so you see this situation
2006 Jul 10
3
Kernel-utils stupidities (readahead and cpuspeed)
Hi all, I think I've spotted a few stupidities (bugs) in the current version of kernel-utils (kernel-utils-2.4-13.1.80). I'm sure these are all propagated from upstream, but I hope someone could have a quick look to verify this and see if we either can push complaints upwards, or provide local fixes. The kernel-utils package provides several 'kernel-type' functions -
2011 May 06
1
scaffold didn't work
i am using rails -v 3.0.7.when i tried "rails generate scaffold try name:string number:decimal" , it gave following error message invoke active_record /usr/lib/ruby/1.8/yaml.rb:133:in `load'': syntax error on line 7, col 2: ` pool: 5'' (ArgumentError) from /usr/lib/ruby/1.8/yaml.rb:133:in `load'' from
2013 Mar 14
7
No Migration Files are created
I''ve been working with Rails for 3 Months now, but haven''t experienced this problem until now. I''m currently working through Micharl Hartls Tutorial and everything worked fine so far, but suddenly (chapter 11) I can nolonger create Migration Files. when entering "rails g model Name field1:type" I don''t get the usual "create db/migrate...."
2011 Sep 13
3
Accessing Rails helper method with_output_buffer
Hi all, I cannot figure out how to correctly use the with_output_buffer helper method (located in ActionView::Helpers::CaptureHelper) inside a custom FormBuilder. Below follows a simplified example. I''m trying to achieve the following behavior in an ERB as suggested in the form_for helper docs in the Rails source: ========== <%= form_for @object, :builder => MyFormBuilder do
2003 Jan 20
2
Pxelinux image filename oddity?
Hello Sir, (This applies to the RH8.0 supplied syslinux 1.75-3 and the upgraded tftp-server-0.32-1 from RH Rawhide) I'm having fun remotebooting my ViA EPIA box (an ITX form-factor 800MHz ViA C3 semi-embedded pc), and have landed on pxeboot as the 'best tool for the job'. Right now I have it working, but the documentation found elsewhere on the web has confused me. Specifically,
2007 Jul 16
5
exec and notify
Are exec resources triggered by notify events supposed to be run once for every event received or only run once per run irregardless of the number of resources that notified it? It seems to me that it gets run twice no matter how many resources triggered it. consider the following class: class dhcp { $prefix = "/usr/local/etc/dhcpd" $dhcpd_conf = "$prefix/dhcpd.conf"
2012 Apr 12
2
Puppet Module
Hi All, I am getting the following err while looking up for this command # puppet-module search iptables sudo puppet-module search iptables ===================================== Searching http://forge.puppetlabs.com ------------------------------------- /usr/lib/ruby/1.8/net/http.rb:560:in `initialize'': Connection timed out - connect(2) (Errno::ETIMEDOUT) from