Displaying 20 results from an estimated 3000 matches similar to: "R drop behavior -- set as option in later version?"
2006 Oct 19
2
arraytake for extracting subarrays from multidimensional arrays
Hi,
I recently encountered a problem with array subsetting and came up with a
fix. Given an array of arbitrary dimensions, in which the number of
dimensions is only known at runtime, I wanted to extract a subarray. The
main issue with doing this is that in order to extract a subarray from an
array of (say) 4 dimensions you usually specify something like this
a.subarray <- a[,c(4,2),1:5,]
2012 Sep 03
1
Possible page inefficiency in do_matrix in array.c
In do_matrix in src/array.c there is a type switch containing :
case LGLSXP :
for (i = 0; i < nr; i++)
for (j = 0; j < nc; j++)
LOGICAL(ans)[i + j * NR] = NA_LOGICAL;
That seems page inefficient, iiuc. Think it should be :
case LGLSXP :
for (j = 0; j < nc; j++)
for (i = 0; i < nr; i++)
LOGICAL(ans)[i + j * NR] = NA_LOGICAL;
or more simply :
case
2018 May 08
2
unlist errors on a nested list of empty lists
On 08/05/2018 2:58 PM, Duncan Murdoch wrote:
> On 08/05/2018 1:48 PM, Steven Nydick wrote:
>> Reproducible example:
>>
>> x <- list(list(list(), list()))
>> unlist(x)
>>
>> *> Error in as.character.factor(x) : malformed factor*
>
> The error comes from the line
>
> structure(res, levels = lv, names = nm, class = "factor")
>
2018 May 08
0
unlist errors on a nested list of empty lists
It also does the same thing if the factor is not on the first level of the
list, which seems to be due to the fact that the islistfactor is recursive,
but if a list is a list-factor, the first level lists are coerced into
character strings.
> x <- list(list(factor(LETTERS[1])))
> unlist(x)
Error in as.character.factor(x) : malformed factor
However, if one of the factors is at the top
2018 May 09
0
unlist errors on a nested list of empty lists
I do not have access to the bug reporting system. If somebody can get me
access, I can create a formal bug report.
The latter issues seem like duplicates of:
https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=12572 (with slightly
different output), but as that bug was reported nearly 10 years ago, it
might be worth creating an update under R version 3. I could not find the
first issue when
2018 May 09
2
unlist errors on a nested list of empty lists
On 08/05/2018 4:50 PM, Steven Nydick wrote:
> It also does the same thing if the factor is not on the first level of
> the list, which seems to be due to the fact that the islistfactor is
> recursive, but if a list is a list-factor, the first level lists are
> coerced into character strings.
>
> > x <- list(list(factor(LETTERS[1])))
> > unlist(x)
> Error in
2018 Dec 04
3
patch to support custom HTTP headers in download.file() and url()
The patch below adds support for custom HTTP headers in
download.file() and url().
My main motivation for this is performing basic http authentication.
Some web sites do not support embedding the credentials into the URI
itself, they only work if the username and password are sent in the
HTTP headers. In fact specifying the username and password in the URI
has been
2008 Mar 13
4
Disabling zfs xattr in S10u4
Hi,
I want to disable extended attributes in my zfs on s10u4. I found out
that the command to do is zfs set xattr=off <poolname>. But, I do not
see this option in s10u4.
How can I disable zfs extended attributes on s10u4?
I''m not in the zfs-discuss alias. Please respond to me directly.
Thanks
Balaji
2008 Jan 28
3
CentOS 4.4 and RHEL4 Update 3 Step-by-Step Text Mode Installation Screen Shots
Dear All,
I need CentOS 4.4 and RHEL4 Update 3 Step-by-Step Text Mode
Installation Screen Shots.
Please send me the following Installation Screen Shots Details or link
Regards
-S.Balaji
2008 Aug 04
4
HP ILO Fence Configuration
Dear All,
Currently i am using HP x6600 Server and I have installed RHEL4 Update
4 AS Linux and
RHEL4 Update 4 Support Cluster Suite in my server
I am new in fence and can any one help me how to configure HP ILO fence
in my server
and HP ILO Fence Functionality
Regards
-S.Balaji
2006 May 11
6
Dynamic data passing thru Rails to Flash
Hi,
I am using Flash Dashboard and 3 sets of listbox.
When i change my first list box say name i need to dynamically change
the second list box and from the second list box when i choose an name i
need to change the content according to this in the third list box.
How can i pass this datas from database in rails.
thanx
g.balaji
--
Posted via http://www.ruby-forum.com/.
2003 Dec 22
4
MSN to GS - Call drops in 10 secs
Hi All,
i dont what changes i made recently but i am unable to hold the call for more 10 secs between MSN and GS. PSTN to MSN and PSTN to GS and vice versa works fine. i am not behind NAT.Also MSN to MSN works fine too.
my SIP details
[general]
port = 5060
bindaddr = 0.0.0.0
context = bogon-calls
;context = default
disallow=all
allow=ulaw
allow=alaw
allow=ilbc
allow=gsm
;My SIP phone - GS
2006 May 15
2
Flash & Rails Data passing
Hi,
I am new to Rails and we are creating a web 2.0 app where we are
integrating Rails and Flash.
I dont know how to pass the values from flash to Rails to save in
database.
We have integrated the above specified with PHP and Rails.
How to get the data from database and pass on the Flash thru Rails.
Wht i exactly need is,
We have 3 list box where when i select the first list box i need to
2008 Jun 13
2
cman stop failed
Dear All,
I am using CentOS4 Update 3 Cluster Suite for i386 Architecture and
my linux kernel version is 2.6.9-34.EL
I have configured two node cluster
My nodes are primary and secondary and I am using cluster to monitoring
scripts
During reboot or poweroff i am getting the problem is cman stop failed
and I have verified the "/var/log/messages" log file and i getting the
2008 Jun 11
2
Required for CentOS4.4 ia64 Clustersuite package
Dear All,
I am new in Itanium server Installation and I have installed all the
CentOS4.4 ia64 CDs
and kernel version is 2.6.9-42.EL and I need the Cluster Suite Package
for the same.
I tried to google-out and i can't find out the Clustersuite package
for CentOS4.4 and
I findout the CentOS4.5 Clustersuite package from CentOS Website
can any one send me path of the Clustersuite
2008 Jul 31
2
Logrotate is not happing without -f option
Dear All,
Currently i am using CentOS 4.4 Linux
Logrotate is not happen without -f option
I have executed the following logrotate /etc/logrotate.conf manually and
Logrotate command exit without any error messages
If i executed with -f option then Logrotate will happen
I am not sure why this is happening. Can some one throw light on this.
Regards
-S.Balaji
2008 Jan 21
2
CentOS4.4 - Not booting up
Hi,
I've been using an CentOS4.4 version.
All was well till 2 days back. Suddenly when the PC was booted-up, it
wouldn't bootup. It gets stuck displaying the following message.
exec of init (/sbin/init) failed !!!: 80
umount /initrd/dev failed: 2
Kernel panic - not syncing: Attempted to kill init!
I entered the rescue mode and attempted
chroot /mnt/sysimage
It spitted an error
2016 Jul 07
2
CentOS-7 Screen black after boot
Hello,
I have the same problem again today with CentOS-7.
I re-installed with GNOME Desktop and also configured two VMs in it, all
was working fine and i left the system locked overnight. When i tried to
unlock the next day morning, screen only shows up black. Again, i cannot
see the GUI. I can login to the system though.
Any help would be appreciated here.
Thanks,
VB
On Thu, Jun 30, 2016 at
2010 Feb 16
2
Problem in gdb
Dear All,
We are running RHEL4 Update 4 AS IA-64 on a HP rx6600.
We are running programs compiled in RHEL4 Update 4 AS in i386
architecture using the emul library(Intel IA-32 Execution Layer )
[admin at corviewsecondary ~]$ service ia32el status
Intel IA-32 Execution Layer in use
When we attempt to run a program using /usr/bin/gdb we are not able to
hit the break point set.
[admin at
2010 Sep 08
0
Correction to vec-subset speed patch
I found a bug in one of the fourteen speed patches I posted, namely in
patch-vec-subset. I've fixed this (I now see one does need to
duplicate index vectors sometimes, though one can avoid it most of the
time). I also split this patch in two, since it really has two
different and independent parts. The patch-vec-subset patch now has
only some straightforward (locally-checkable) speedups for