Displaying 20 results from an estimated 10000 matches similar to: "Getting 2 kinds of quotes inside a pasted string"
2003 Dec 03
1
Error in randomForest.default(m, y, ...) : negative lengt h vectors are not allowed
Christian --
You don't provide enough information (like a call) to answer this. I
suspect, though, that you may be subsetting in a way that passes
randomForest no data.
I'm not aware offhand of an easy way to get this error from randomForest. I
tried creating some data superficially similar to yours to see whether
something would break if there were only a single value in the variable
2010 Mar 29
1
single quotes and double quotes in a system() command. What to do?
Hi all,
I would like to run the following from within R:
awk '{$3=$4="";gsub(" ","");print}' myfile > outfile
However, this obviously won't work:
system("awk '{$3=$4="";gsub(" ","");print}' myfile > outfile")
and this won't either:
system("awk '{$3=$4='';gsub('
2003 Dec 08
0
Re: Compiling R in 64-bit mode on AIX
On Tuesday 14 October 2003 21:05, you wrote:
> Hi. I saw your post from earlier this year in which you were soliciting
> help on compiling R as a 64-bit application under AIX. We have been having
> trouble with the same problem.
>
> Have you gotten anywhere?
>
> Thanks for any help.
>
> Best regards,
>
> Matthew Wiener
> RY84-202
> Applied Computer Science
2014 Nov 30
4
awk vs. mawk
On Nov 26 22:39:27, hans at stare.cz wrote:
> ./test_replaygain.sh fails for me in tonegenerator(), saying:
>
> ./test_replaygain.sh[91]: mawk: not found
> Testing FLAC replaygain 8000 (8000 x 1) ... -: ERROR: got partial sample
>
> Apparently, the tone-generating awk script does not work with
> my system's awk, which is "awk version 20110810" as distributed
2019 Oct 31
5
[PATCH] Replace mkproto.pl with mkproto.awk
This replaces the build dependency on perl with one on awk which is
already used in the build system and is much more ubiquitous than perl
---
Makefile.in | 2 +-
mkproto.awk | 39 +++++++++++++++++++++++++++++++++++++++
mkproto.pl | 48 ------------------------------------------------
3 files changed, 40 insertions(+), 49 deletions(-)
create mode 100644 mkproto.awk
delete mode 100644
2004 Aug 06
1
capturing pid from command line
hello ;
can't recall where i got it from , but this should work .,
ps auxw | fgrep icecast | fgrep -v fgrep | awk '{print $2}'
a:/,
<p>On Mon, 3 Nov 2003, Dave St John wrote:
> Anyone know of or how to capture the pid via the command line in bash?
>
> i.e. i use this to capture shoutcast's process id
> #!/bin/bash
> SRV=`cat serverlst.txt`
>
> rm
2007 Jun 13
3
Awk and Vilno
In clinical trial data preparation and many other data situations, the
statistical programmer needs to merge and re-merge multiple input
files countless times. A syntax for merging files that is clear and
concise is very important for the statistical programmer's
productivity.
Here is how Vilno does it:
inlist dataset1 dataset2 dataset3 ;
joinby variable1 variable2 where ( var3<=var4 ) ;
2013 Apr 24
3
Tests not aborting when appropriate
On 24-04-13 14:34, Erik de Castro Lopo wrote:
> That's an error in the awk script, which is embedded in the shell
> script. I know GNU awk supports lshift, maybe BSD awk doesn't. I'll
> investigate that futher.
On my system awk links to mawk 1.3.3
>> I don't know why, but the test continues and says all tests passed while
>> that clearly isn't the
2018 Mar 29
1
dhcp lease time hardware in script at dhcpd/Bind/Samba wiki page
Hi Rowland,
> You could try adding something like this near to the top of
> dhcp-dyndns.sh:
>
> TTL=$(cat /etc/dhcp/dhcpd.conf | grep 'max-lease-time' | awk -F ';'
> '{print $1}' | awk '{print $NF}')
>
> Then replace the '3600' with '$TTL'
Users like comments in their config files. Your script:
cat /etc/dhcp/dhcpd.conf |
2019 Oct 31
1
[PATCH] Replace mkproto.pl with mkproto.awk
> I can't speak for rsync, but nowadays Perl isn't that rare, that a
> dependeny on it for build purpose would matter. IMHO.
It might not be rare, but it's certainly less universally available than
awk, which is preinstalled on pretty much every unix-like OS out there.
> There are many flavours of AWK. Are you sure, that your AWK replacement
> runs everwhere?
I tested
2004 Jul 16
2
Can't build 3.0.4 under QNX 6.1.0
I've been trying to build Samba 3.0.4 on QNX 6.1.0.
1. I downloaded the source tarball "samba-latest.tar.gz" from a mirror
site. The downloading was done on an MS-Windows system. The tarball was
transferred to the QNX box by loading into Emacs on MS-Windows with "M-x
find-file-literally" then saving it with Emacs's ftp facility: "C-x C-w
2008 Sep 23
2
RELENG_7: buildworld failed with MODULES_WITH_WORLD=
Hi!
I've just tried to build NanoBSD from 7.0-STABLE sources
with MODULES_WITH_WORLD knob enabled and it failed.
Note that NanoBSD uses make -j3 by default and I have dualcore system.
===> sys/modules/nfslockd (depend)
@ -> /usr/local/src/sys
machine -> /usr/local/src/sys/i386/include
echo "#define INET6 1" > opt_inet6.h
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src
2015 Mar 03
3
Rebuilding SIS attachment links from log
This seems simple enough...I'm just not script wizard. If someone can
throw together a starting point I can test and tweak it from there. It
seems to me:
1. Read /var/mail/mail.err or specified logfile
2. For each "failed:
read(/var/mail/attachments/aa/bb/attachmentHash-userHash" line,
a. Confirm /var/mail/attachments/aa/bb/hashes/attachmentHash exists
i. If
2004 Oct 18
2
Cannot apply delete-sent-files.diff on solaris platform
I have been trying various ways and looking though the lists, but I can't
seem to find a solution.
I am running a Ultra2 with Solaris 9 and rsync 2.5.2, with the old
-move-files patch.
I want to upgrade to 2.6.3 with the delete-sent-files patch. Which I
understand is the new and improved version serving the same purpose.
Unfortunately my patch under Solaris did'nt work, so I d/l
2014 Nov 26
3
flac-1.3.1pre1
On Nov 26 22:39:27, hans at stare.cz wrote:
> On Nov 25 00:43:22, mle+la at mega-nerd.com wrote:
> > http://downloads.xiph.org/releases/flac/beta/
> > Please test.
>
> ./test_replaygain.sh fails for me in tonegenerator(), saying:
>
> ./test_replaygain.sh[91]: mawk: not found
> Testing FLAC replaygain 8000 (8000 x 1) ... -: ERROR: got partial sample
>
>
2005 Feb 22
1
Having problems with quantreg
Hi All,
I'm still having significantly difficulty getting the quantreg library
running in R. I'm running R on MEPIS using the debs created by Dirk
Eddelbuettel and placed in apt testing. When I try to install quantreg using
the install.packages() function it fails with: /usr/bin/ld: cannot find
-lblas-3
Dirk was nice enough to send me a .deb for quantreg which installs without
2002 Dec 17
0
new version of randomForest
A new version of the randomForest package is now available on CRAN. The
DESCRIPTION is:
Package: randomForest
Title: Breiman's random forest for classification and regression
Version: 3.4-1
Depends: R (>= 1.5.0)
Author: Fortran original by Leo Breiman and Adele Cutler, R port by Andy
Liaw and Matthew Wiener.
Description: Classification and regression based on a forest of trees using
2012 Dec 06
2
awk awk
a little out of my comfort zone and have practically gotten what I want but awk seems determined to send a message via std error which is problematic and annoying. Basically trying to get a list of virtual host names from nginx config files like this:
$ awk -F" " '/./ { if ( match ( "^server_name$", $2 ) ) print $1 }' /opt/nginx/sites/*.conf \
| grep -v server_name |
2014 Dec 11
2
awk vs. mawk
On Dec 10 23:04:44, mle+la at mega-nerd.com wrote:
> Definitely interested in a cross platform solution to this.
Diff below. Please test.
On Dec 03 13:21:16, hans at stare.cz wrote:
> On Nov 30 14:33:47, hans at stare.cz wrote:
> > On Nov 26 22:39:27, hans at stare.cz wrote:
> > > ./test_replaygain.sh fails for me in tonegenerator(), saying:
> > >
> > >
2017 Oct 25
1
[OT] Bash help
Tony Mountifield wrote:
> In article
> <b5215baacd93a6e85efc59947f9b8ed9.squirrel at host290.hostmonster.com>,
> <m.roth at 5-cent.us> wrote:
>> Warren Young wrote:
>> > On Oct 25, 2017, at 10:02 AM, Mark Haney <mark.haney at neonova.net>
>> wrote:
>> >>
>> >> I have a file with two columns 'email' and 'total'