Displaying 20 results from an estimated 300 matches similar to: "XEN and vcpus"
2012 Sep 07
6
splitting character vectors into multiple vectors using strsplit
Hi folks,
Suppose I create the character vector charvec by
> charvec<-c("a1.b1","a2.b2")
> charvec
[1] "a1.b1" "a2.b2"
and then I use strsplit on charvec as follows:
> splitlist<-strsplit(charvec,split=".",fixed=TRUE)
> splitlist
[[1]]
[1] "a1" "b1"
[[2]]
[1] "a2" "b2"
I was wondering
2012 Dec 04
3
odd behavior of browser()
Hi everyone,
I normally include a call to browser() as I'm working out the kinks in my
scripts, and I am always able to step through each line by hitting
"Return", but for some reason, in the scripts I'm working on now, hitting
"Return" seems to cause execution of *all* the lines in my script. I've
restarted R several times in case it was stuck in a bad state for
2018 Nov 02
2
[BUG?] sftp is echoing back prompt and commands in batch mode
Thanks, Iain.
I am willing to hear from other users whether anyone else sees this as a
bug before filing it.
--
Vincenzo Romano
Il giorno ven 2 nov 2018, 20:03 Iain Morgan <imorgan at nas.nasa.gov> ha
scritto:
> If you truly intend this as a bug report, you should file it at
> bugzilla.mindrot.org.
>
> On Fri, Nov 02, 2018 at 12:25:22 +0100, Vincenzo Romano wrote:
> >
2018 Nov 07
2
openssh-based file transfers (e.g. rsync, scp, ...) are running 40 (!!) times faster via IPv4 than IPv6
Vincenzo,
thanks for answering !!!
As I found out before that this slow down only happens for encrypted transmissions, I've followed your suggestion and
tested with a https-based download, from my Nextcloud instance on my VPS.
Same slow speed when connecting via IPv6, and as fast as expected when connecting via IPv4.
Just to confirm: There's NO dependency/relation between openssh and
2018 Nov 02
2
[BUG?] sftp is echoing back prompt and commands in batch mode
Short description: All comands sent to server in batch mode are being
echoed back along with prompt.
Software Version: "OpenSSH_7.9p1, OpenSSL 1.1.1 11 Sep 2018" (as
printed by ssh -V)
Server and client systems: ArchLinux x86_64 fully updated as of 2018-11-02.
## How to reproduce
Provided that you have proper SSH key authentication in place, from
command line run:
echo "dir
2018 Nov 04
3
[BUG?] sftp is echoing back prompt and commands in batch mode
Il giorno dom 4 nov 2018 alle ore 01:45 Ben Lindstrom
<mouring at offwriting.org> ha scritto:
>
> I don't see it as a bug.
Yes, this is why I put a question mark in the subject.
> As if I'm writing a batch script I want to see the echo of the command and the output so if there is a failure I know where the failure is.
I see: you have a single batch file with no
2012 Dec 12
2
using 'apply' to apply princomp to an array of datasets
Hi everyone,
Suppose I have a 3D array of datasets, where say dimension 1 corresponds to
cases, dimension 2 to datasets, and dimension 3 to observations within a
dataset. As an example, suppose I do the following:
> x <- sample(1:20, 48, replace=TRUE)
> datasets <- array(x, dim=c(4,3,2))
Here, for each j=1,2,3, I'd like to think of datasets[,j,] as a single data
matrix with
2012 Nov 15
4
using ifelse to remove NA's from specific columns of a data frame containing strings and numbers
Hi everyone,
I have a data frame one of whose columns is a character vector and the rest
are numeric, and in debugging a script, I noticed that an ifelse call seems
to be coercing the character column to a numeric column, and producing
unintended values as a result. Roughly, here's what I tried to do:
df: a data frame with, say, the first column as a character column and the
second and
2013 Feb 10
4
different behavior of $ with string literal vs string variable as argument
Hi everyone,
I ran into the issue below while trying to execute a command of the form
apply(list.names,1, function(x) F(favorite.list$x) )
where list.names is a character vector containing the names of the elements
of favorite.list and F is some function defined on a list element.
Namely, the $ operator doesn't treat the string variable 'x' as the string
it represents, so that,
2013 Feb 06
3
how to "multiply" list of matrices by list of vectors
Hi everyone,
I'd like to be able to apply lda to each 2D matrix slice of a 3D array, and
then use the scalings to obtain the corresponding lda scores.
I can use 'apply' to get a list of the lda output for each 2D slice, and
can create a list of the resulting scalings, but I'm not sure how to
multiply them in a vectorized way.
Here's how I made a list of 2D matrices
2012 Jul 28
1
using save() to work with objects that exceed memory capacity
Context: I'm relatively new to R and am working with very large datasets.
General problem: If working on a dataset requires that I produce more than
two objects of roughly the size of the dataset, R quickly uses up its
available memory and slows to a virtual halt.
My tentative solution: To save and remove objects as they're created, and
load them when I need them. To do this I'm
2007 May 18
2
writing variables
Can anyone give me insight into upsrw?
I have a cyberpower PR2200 UPS (running an experimental version of the
powerpanel driver hot off the presses by Arjen (thanks Arjen!!)).
When I try to run "upsrw -s xyz=abc" to set any available variable, I
get "Set variable failed: Access denied".
What user name and password is it looking for here? My upsd.users file
has 2 users
2013 Feb 08
1
question about reproducibility/consistency of principal component and lda directions in R
Hi everyone,
I'm not exactly sure how to ask this question most clearly, but I hope that
giving the context in which it occurs for me will help: I'm trying to
compare the brain images of two patient populations; each image is composed
of voxels (the 3D analogue of pixels), and I have two images per patient,
one reflecting grey matter concentration at each voxel, and the other
reflecting
2018 Nov 07
4
openssh-based file transfers (e.g. rsync, scp, ...) are running 40 (!!) times faster via IPv4 than IPv6
openssh 7.6p1-lp150.7.4 on OpenSuse Leap 15 (both server and client)
Hi all,
first post to list, hopefully on-topic. Haven't found anything on the net, tried to ask at first in OpenSuse forums a
while ago (https://forums.opensuse.org/showthread.php/533588-rsnapshot-rsync-massive-performance-decrease) and today
opened a bug in OpenSuse's Bugzilla
2013 May 03
2
how to parallelize 'apply' across multiple cores on a Mac
Hi everyone,
I'm trying to use apply (with a call to zoo's rollapply within) on the
columns of a 1.5Kx165K matrix, and I'd like to make use of the other cores
on my machine to speed it up. (And hopefully also leave more memory free: I
find that after I create a big object like this, I have to save my
workspace and then close and reopen R to be able to recover memory tied up
by R, but
2012 May 04
1
after joining the domain the server loose the domain controller
Hello,
I've a rhel6 server on a vmware structure.
samba rpm are;
samba-common-3.5.10-115.el6_2.x86_64
samba-3.5.10-115.el6_2.x86_64
samba-winbind-clients-3.5.10-115.el6_2.x86_64
smb.conf
[global]
workgroup = AAAA
server string = TSTArchive
security = DOMAIN
passdb backend = tdbsam
log level = 3
local master = No
ldap ssl = no
cups options = raw
short preserve case = No
dos filetimes = Yes
dos
2013 Feb 06
1
how to extract test for collinearity and constantcy used in lda
Hi everyone,
I'm trying to vectorize an application of lda to each 2D slice of a 3D
array, but am running into trouble: It seems there are quite a few 2D
slices that trigger either the "variables are collinear" warning, or worse,
trigger a "variable appears to be constant within groups" error and fails
(i.e., ceases computation rather than skips bad slice).
There are
2007 Apr 24
1
Driver for Cyberpower PR2200
Hello...
First let me start by saying how terrific NUT seems to be. I have not
gotten it working properly with my own UPS yet due to a driver issue,
but all of the features I could dream up are in there.
I've worked hard to hack around the OEM software from CyberPower for my
PR2200 UPS to get it to remotely shutdown other computers on the network
which are powered from that UPS, and they
2018 Feb 13
1
Samba PDC and Ubuntu desktop client logon script
Hi all,
I managed to configure an UBUNTU 16.04 Server as PDC using Samba; I can
successfully add Ubuntu or Windows client to the domain and all the users I
created can access the network resources.
I managed to let the Windows client run the logon script, thanks to which
for example I am able to mount the "H: disk" for the user that is logging
in on the Windows client.
I would like
2012 Jul 31
1
ways of getting around allocMatrix limit?
I need to multiply to very large, nonsparse matrices, and so get the
error "allocMatrix: too many elements specified".
Is there a way to set the limit for allocMatrix?
In my case, the two matrices, A and B, are nxm and mxp where m is
small, so I could subdivide each into blocks of submatrices
A=rbind(A1,A2,...) and B=cbind(B1,B2,...) then multiply each pair of
submatrices, but I was