Displaying 20 results from an estimated 3000 matches similar to: "extracting file names"
2011 Feb 14
2
Is there a way to force counters to be treated as "unsigned?"
I am acquiring some sampled data that is time-stamped (with a
POSIXct). Some of the data is in the form of "counters" -- that
is, what is interesting isn't value of a given counter at a given
time, but the change in the counter from one sample to a later one.
As the counters are only incremented, they would be perceived to be
monotonically increasing -- ideally. Unfortunately, the
2011 May 04
3
Regexp question
I have a string like this
st <- "SELECT COUNT(empid), COUNT(mgrid), COUNT(empname),
COUNT(salary), FROM Employees"
How can I remove the last comma before the FROM statement?
-J
2012 Feb 03
2
Having trouble controlling plot() output (e.g., color)
I expect that there's something glaringly obvious that I'm overlooking,
as I'm justr getting back involved in using R after a several-month
hiatus (from R). So I welcome clues.
When I invoke plot(), merely specifying a data.frame with 2 columns,
specify the plot type ("type") of "p" ("points"), and that I want the
point to be green ('col =
2011 Mar 19
3
[O/T] reference for regular expressions
Dear R People:
Could someone recommend a good reference on regular expressions, please?
Thanks in advance,
Sincerely,
Erin
--
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: erinm.hodgess at gmail.com
2011 Mar 17
5
Histograms with strings,
Hello,
Thanks in advance for any help,
I have read a CSV file in which there is a column for an IP addr as in:
tmpInFile$V2
[1] "74.125.224.38" "74.125.224.38" "129.46.71.19" "129.46.71.19"
[5] "129.46.71.19" "129.46.71.19" "129.46.71.19" "129.46.71.19"
[9] "129.46.71.19" "129.46.71.19"
2011 Mar 25
2
Preserving the class of POSIXt objects
Dear all,
I am working with a list of objects each of which contains two POSIXct
objects (say, $Start and $End) and a number of different data in
addition to that. Now an easy way to extract Start times of all object
could be sapply(x, "[", "Start") but this converts them all to
numeric, and so does sapply(x, "[[", "Start"). lapply preserves the
class but
2017 Nov 01
1
Correct subsetting in R
But they row.names() cannot give me the IDs
On Wednesday, November 1, 2017 9:45 AM, David Wolfskill <r at catwhisker.org> wrote:
On Wed, Nov 01, 2017 at 04:13:42PM +0000, Elahe chalabi via R-help wrote:
> Hi all,
> I have two data frames that one of them does not have the column ID:
>
> > str(data)
> 'data.frame': 499 obs. of 608 variables:
2017 Jun 11
3
post ino64: lockd no runs?
On Sun, Jun 04, 2017 at 08:57:44AM -0400, Michael Butler wrote:
> It seems that {rpc.}lockd no longer runs after the ino64 changes on any
> of my systems after a full rebuild of src and ports. No log entries
> offer any insight as to why :-(
>
> imb
I don't tend to use NFS on my systems that are running head, so I
haven't had occasion to test this as stated.
However, I
2003 Sep 28
4
make world
Hi, I was under the impression a successful make world was updating include
files in /usr/include/netinet too.
When I have a good make world, the files in /usr/include have new time stamps,
but the ones in netinet have not!
Am I missing something here? My current stable doesn't compille properly it
fails in kdump on a missing ioctlcmd_t typedef.
Peter
2012 Dec 27
3
FreeBSD 9.1-PRERELEASE
Hi,
In this mailinglist I'm reading a lot about problems (re)compiling the system. At this moment I'm running:
"FreeBSD 9.1-PRERELEASE (ORAC) #0 r244047: Sun Dec 9 15:33:19 CET 2012" without problems.
Is it save to recompile the system with all patches?
Thanks
Jack Raats
2011 Feb 15
3
expected behavior when parsing lines with special characters
Say I have a tab-delimited table I want to read into R. What should I
expect to happen if some of the entries contain the character " ' "? I
thought it would read the file fine, but that is not what happens.
Instead, all the values in between two " ' "s get read into one field,
and things are just seriously messed up. Is this a bug, and besides
removing the offending
2005 Sep 22
2
Tunnel-only SSH keys
Hello.
I once read somewhere that it's possible to limit SSH pubkeys to
'tunnel-only'. I can't seem to find any information about this
in any of the usual places.
I'm going to be deploying a few servers in a couple of days and
I'd like them to log to a central server over an SSH tunnel (using
syslog-ng) however I'd like to prevent actual logins (hence
2012 Dec 10
5
How to update ports tree indexes when using svn
Hi list,
after the security announcement (http://www.freebsd.org/news/2012-compromise.html) I use svn to update my local ports tree. I've found out that the port index is not updated. What is the preferred/recommended way to update port indexes when using svn?
Thanks,
Serguey.
2011 Mar 09
4
Help with read.csv
Hello,
I have a file that looks like this:
Date,Hour,DA_DMD,DMD,DA_RTP,RTP,,
1/1/2006,1,3393.9,3412,76.65,105.04,,
1/1/2006,2,3173.3,3202,69.20,67.67,,
1/1/2006,3,3040.0,3051,69.20,77.67,,
1/1/2006,4,2998.2,2979,67.32,69.10,,
1/1/2006,5,3005.8,2958,65.20,68.34,,
where the ',' is the separator and I tried to read it into R, but...
> y <- read.csv("Data/Data_tmp.csv",
2006 Mar 15
5
Recent 6.1-PRE: burncd: ioctl(CDRIOCFIXATE): Input/output error
I'm running:
localhost(6.1-P)[21] uname -a
FreeBSD localhost 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #19: Wed Mar 15 07:15:25 PST 2006 root@g1-18.catwhisker.org.:/common/S2/obj/usr/src/sys/LAPTOP_30W i386
localhost(6.1-P)[22]
I figured I'd grab a copy of the recent 6.1-BETA4 (disc1) ISO to
try it out & hand it out to folks....
It seems to have worked, but I got a bit of a whine
2003 Sep 01
1
Apparent problem with ida(4); patch included
Someone else also reported seeing these symptoms with recently-updated
sources:
>>> Kernel build for FREEBEAST started on Mon Sep 1 05:25:41 PDT 2003
...
===> ida
@ -> /usr/src/sys
machine -> /usr/src/sys/i386/include
perl @/kern/makeops.pl -h @/kern/device_if.m
perl @/kern/makeops.pl -h @/kern/bus_if.m
perl @/kern/makeops.pl -h @/pci/pci_if.m
rm -f .depend
mkdep -f .depend -a
2012 May 25
2
STABLE/9 SMP ACPI suspend/resume - video mode not being restored
Hi,
I'm toying with the SMP/i386 ACPI suspend/resume patches in -9. Thanks
so much for this!
I've noticed though that the video backlight stays off after resume. A
common problem on -9, so I set hw.acpi.reset_video=1. That restores
the backlight.
However, the video mode isn't restored. I have my console set to
VGA_80x60 and the resume seems to set it up "wrong". I get half
2007 Mar 21
4
Reality check: IPFW sees SSH traffic that sshd does not?
This note is essentially a request for a reality check.
I use IPFW & natd on the box that provides the interface between my home
networks and the Internet; the connection is (static) residential DSL.
I configured IPFW to accept & log all SSH "setup" requests, and use natd
to forward such requests to an internal machine that only accepts public
key authentication; that
2018 Jan 04
2
format integer numbers with leading 0
Dear R-er,
I would like format integer number as characters with leading 0 for a
fixed width, for example:
1 shoud be "01"
2 shoud be "02"
20 should be "20"
Now I use:
x <- c(1, 2, 20)
gsub(" ", "0", format(x, width=2))
But I suspect more elegant way could be done directly with format
options, but I don't find.
Thanks a lot
Marc
2003 Apr 24
3
make buildworld error
I am trying to compile the FreeBSD4.8-STABLE and I gave the following error:
make: don't know how to make /usr/obj/usr/src/i386/usr/lib/libssh.a. Stop
*** Error code 2
they alguem knows what it can be?
Thank!!