Displaying 20 results from an estimated 30000 matches similar to: "associate .php file with php"
2007 Mar 08
2
Removing duplicated rows within a matrix, with missing data as wildcards
I'd like to remove duplicated rows within a matrix, with missing data
being treated as wildcards.
For example
> x <- matrix((1:3), 5, 3)
> x[4,2] = NA
> x[3,3] = NA
> x
[,1] [,2] [,3]
[1,] 1 3 2
[2,] 2 1 3
[3,] 3 2 NA
[4,] 1 NA 2
[5,] 2 1 3
I would like to obtain
[,1] [,2] [,3]
[1,] 1 3 2
[2,] 2 1 3
2007 Oct 24
1
Re: CentOS-5.0-x86_64-bin-DVD-ich9.iso.delta md5 mismatch
btw - I installed your x86_64 rpms that has the ich9
patch directly on that box but it still will not boot
without all the options.
--- Michael Rock <mikerocks65 at yahoo.com> wrote:
> > David wrote:
> > Now there are right md5sums and even
> > x86_64 iso.delta.
> > David
>
> I tried using applydeltaiso and it creates a 2gb ISO
> but I notice it fails on
2007 May 02
3
CentOS 5 dual head doesn't work
I just bit the bullet and installed CentOS 5 on my work desktop, and
although I have two monitors and a card that supports them, I cannot
get the display configuration to work with both as a continuous
(spanning) desktop. I have tried using the correct (autodetected)
monitor type (digital and analog), a generic LCD with 1280x1024,
nothing works. Every time I set the configuration, the X server
2006 Sep 28
6
install on via 800mhz box 4.4
I tried install 4.4 on an old Via 800mhz box. i386 of course.
The installer dies pretty quick.
I thought the via was i386 compatible?
Is there something special to do.
Jerry
2005 May 10
3
alias keeps changing (fwd)
I'd suggest looking around the ifcfg-eth* files (somewhere in
/etc/sysconfig/network-scripts I think) nad commenting out HWADDR= lines, if
that works, then try reversing the HWADDR lines - this will reverse the numbers
of the ethernet cards (ie making eth0 eth1 and eth1 eth0) but should result in
a stable configuration till next hardware change.
And you problem? IMHO, when the system
2019 Jul 14
2
New improved version of nut-report script
Hi Roger and thanks! I have attached my nut report from the new script
(sans journal). I saw nothing that looked like a problem with the report
save the sections <scriptname> "Cannot access <scriptname>. Perhaps this
is from the missing journal?
On 7/14/2019 7:52 AM, Roger Price wrote:
> On Tue, 9 Jul 2019, Charles Lepple wrote:
>
>> Can you please run this script
2010 Oct 14
2
declaring GPL license
Hi all,
I'm currently writing an R package and want to declare a GPL2 license.
According to the license agreement, I'm supposed to display:
"This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation ... See the
GNU General Public License for more details."
2008 Sep 17
2
modifying patterns in a matrix
Dear R-users,
I have some very simple data where 1's represent events and zeroes non-events, e.g.
temp <- rbind(c(0,1,0,0,1,1,1,0), c(0,0,0,1,0,0,0,0))
For each row in the matrix, I would like to replace a singelton event by a 0. That is, any 1 surrounded by zeroes (010) should be replaced by a zero (000). Sequences of 1's should be left unchanged.
So the modified matrix shoud look
2008 May 22
1
Extracting slots from ROCR prediction objects
Hi,
I have an object from the prediction function from the ROCR package and I would like to extract one of the slots from the object, for example the cutoffs slot. However the usual techniques ($, [["name"]]) of subsetting don't work. How can I assess the lists in the slots?
Here is an example of what I am working with:
library(ROCR)
data(ROCR.simple)
pred <-
2009 Apr 24
7
Get only script name with shell script
Hi all,
I wrote shell script and put it under the /usr/local/bin/ directory.
I use echo $0 for get script name but it has printed
"/usr/local/bin/<scriptname>" but i want to only print <scriptname>
How can i do this ?
Thanks all for help.
--
Iyi calismalar.Basarilar...
Semih Gokalp
Istanbul/Turkiye
2010 Jun 30
0
drb problem? ringy-dingy won't answer...
The following code works fine as long as I don''t try to run it through
the distributed server. It doesn''t get there...
It runs fine out of delayed_job, runs fine if called directly.
But if ''distrib'' is true (the default) it runs right up to the call to
the server and right past it without getting to the server or raising
any errors.
Am using Ruby 1.8.6.26 ,
2004 Mar 26
3
Error Message?
I'm running samba-3.0.2-7.FC1 on a Fedora Core 1 box.
I see this error message in the log file for each user on my network;
[2004/03/26 10:55:35, 0] rpc_server/srv_util.c:get_domain_user_groups(372)
get_domain_user_groups: primary gid of user [glen] is not a Domain group !
get_domain_user_groups: You should fix it, NT doesn't like that
What does it mean?
Martin Stacey
IT Support
2003 Nov 20
3
minimalist rsync on windows
Hi,
Is the rsync-minimalist still supported for windows? I am using Windows
XP Home. I am testing, to get a solution for a client. The minimalist
looked very nice--a cygwin.dll and an rsync and an ssh.exe. However, I
can connect with ssh, but not with rsync over ssh using these files. I
have also tried plink from putty with this rsync. I gather from a lot of
the messages that the consenus is
2008 Jul 11
1
reading in a subset of a large data set
I have a huge dataset for which I only want to read in a subset of it. Is it possible to use read.table to read in only a subset of the data? For example, something like read.table('~/data.txt', subset = chromosome=='1' )
If not, then why not? This seems to be a feature available in all other statistical software.
Thanks,
Stacey
2002 Jan 02
2
dos command line
All,
I am an Splus user trying to use R for a specific project where the client
needs the programs to be run in R. Before the holidays, I figured out how
to run an R file from the dos command line--it worked great! The command is
"Rterm something filename". I can't remember what it is now, and it is
driving me nuts. Anyone know? I know I'll feel pretty stupid once the answer
2003 Aug 06
2
WINS Question?
I have setup my Samba server as a WINS server using the wins support = yes
parameter.
My remote network can see the Samba server at our head office fine.
I have also setup the WINS setting on my PC (W2K Pro box) to point to the IP
address of my Samba server.
When I do a nmblookup -R -U <IP address of WINS server> <name of my PC> on
my Samba server I get this reponse;
querying pc1
2019 Jul 14
4
New improved version of nut-report script
Roger, I get 4.3.8(1)-release
There was good reason, BTW, for the script to NOT fine the journal
script on my machine. I had not downloaded it yet.
On 7/14/2019 9:06 AM, Roger Price wrote:
> On Sun, 14 Jul 2019, David White wrote:
>
>> ... I saw nothing that looked like a problem with the report save the
>> sections <scriptname> "Cannot access <scriptname>.
2008 Jul 29
1
Removing script file
Colleagues,
(Running R 2.7.0)
I have a script that I want to delete as it completes execution. The
penultimate line of the script (before the quit command) is:
file.remove("Scriptname")
The script is executed as:
R --no-save < Scriptname
In OS X and Linux this is successful and returns:
> > file.remove("x")
> [1] TRUE
and the file is deleted
In Windows XP,
2005 Aug 24
2
Developers Wanted
Hi,
I recently won the Railsday contest and the response has been
overwhelming. I''m currently looking for:
1) Rails programmers with at least A FEW COMPLETE Rails applications
under their belt
2) Front-end XHTML/CSS developers who are comfortable working with
Rails and all the Ajaxy goodness
to help me finish up several of my current projects and stick around
for the next
2019 May 28
2
apc with rs232
On 5/28/19 3:39 PM, Julian H. Stacey wrote:
> grumpy at mailfence.com wrote:
>> a friend gave me an old apc smart-ups 1250
>> it has a rs232 interface but i have no pc with a rs232 port
>> i attempted to use a rs232 to usb adapter but the ups goes nuts
>> i connected the ups to batteries and verified it was working properly
>> when i plug the usb cable into the pc