Displaying 20 results from an estimated 1000 matches similar to: "regular expression question"
2019 Oct 09
2
minimum of 'server services' for NT style domain ?
On 09/10/2019 11:27, Rowland penny via samba wrote:
> On 09/10/2019 10:56, lejeczek via samba wrote:
>> friendly advice: read the subjects carefully as you do with the body of
>> the messages
> Even friendlier advice, ask the question in the post ;-)
neutral remark - everybody has, including myself, but gee man... you
have some issues... to solve.
cheers, L.
>>> list
2011 Nov 07
1
close but no cigar
Hi Everyone: It turns out that there's still a small ( I hope ) problem.
I'm close but that only counts in horse shoes and hand grenades.
Here's my problem: When trying to load a package that I am writing, the
load is looking for the packageDescription function in the utils package
but not finding the utils package. I looked on cran and utils is not there
which makes me think that it
2007 Sep 09
2
Problems with strsplit
Hello,
I would like to know what can I do if I use strplit with a string and I want to use the middle left,I mean I have this:
strsplit("bA531F16-rep","\\-")
[[1]]
[1] "bA531F16" "rep"
I would like to work just with bA531F16 in another variable, what could I do?, Thank you
---------------------------------
Sé un Mejor Amante
2011 Nov 06
2
still working on building R from source
Hi Everyone: Gavin's been so generous and patient that I figured I'd give
him a break and send this snag to the list. When I do get this working, I
will send an "How to build R from the tarball " instructions message to
this list for posterity's sake ( and myself and anyone else who doesn't
know how to build R from the tarball ).
So, here's my latest snag: Gavin
2009 Mar 31
1
error when going through Alan Lenarcic's package Tutorial
Hi Everyone: I've been going through Alan Lenarcic's package tutorial but
when I did
R CMD SHLIB Xdemo.cc Xdemo_main.cc -o Xdemo.dll
I got the following error:
XDemo_res.rc:15:38: warning: missing terminating " character
XDemo_res.rc:23:34: warning: missing terminating ' character
c:\mark\research\Rtools\MinGW\bin\windres.exe: XDemo_res.rc:16: syntax error
2008 Dec 03
3
Strplit code
Dear R-users,
The strsplit function does not exist in S-plus and I would like to use it. How
could I reproduce the function in Splus or access to its source code?
Thank you in advance,
Sebastien
2005 Sep 13
1
Running Pegasus Mail v4.21c under Linux via WINE v20050830 issues
I'm running SuSe linux professional v9.3 with wine v20050830.
I have created a link to a windows (smb) shared folder containing my
shared Pegasus mailbox in
~/.wine/dosdevices/c: folder. The share is created on boot.
I installed Pegasus v4.21c using wine /path/to/w32-421c.exe
Pegasus is run from a kde shortcut that executes
wine winpm-32.exe -Z 128
All functions work but there are two
2008 Sep 23
4
perl expression question
If I have the string below. does someone know a regular expression to
just get the "BLC.NYSE". I bought the O'Reilley
book and read it when I can and I study the solutions on the list but
I'm still not self sufficient with these things. Thanks.
stock<-"/opt/limsrv/mark/research/equity/projects/testDL/stock_data/fhdb/US/BLC.NYSE"
2009 Aug 05
4
A question regarding R scoping
I have a question related to scoping. Suppose we have 2 functions:
f1 = function(i){i = 1}
f2 = function(n){
i = length(n)
f1(i)
}
In other words, I would like i=1 regardless of n. Is this possible without having f1 in the body of f2? Thanks in advance!
2004 Jul 16
3
Strange (non-deterministic) problem with strsplit
I'm having an odd problem with strsplit (well I think it's strplit
that's causing the problem). When I run the code below as follows:
str(parseFormulaMin(y +x +d ~ b +d +e| a * b))
I expect to get
List of 3
$ y: chr "y+x+d"
$ x: chr "b+d+e"
$ g: chr "a*b"
But about half the time I get
List of 3
$ y: chr "y+x+d"
$ x: chr
2004 Jul 16
3
Strange (non-deterministic) problem with strsplit
I'm having an odd problem with strsplit (well I think it's strplit
that's causing the problem). When I run the code below as follows:
str(parseFormulaMin(y +x +d ~ b +d +e| a * b))
I expect to get
List of 3
$ y: chr "y+x+d"
$ x: chr "b+d+e"
$ g: chr "a*b"
But about half the time I get
List of 3
$ y: chr "y+x+d"
$ x: chr
2009 Nov 13
4
processing log file
Dear all, I'm trying to process a log file which logs the date, the username and the computer number accessed. The table looks like this:
>table.users
Date UserName Machine
1 2008-11-25 John 641
2 2008-11-25 Clive 611
3 2008-11-25 Jeremy 641
4 2008-11-25 Walt 722
5 2008-11-25 Tony 645
6 2008-11-26 Tony 645
7 2008-11-26
2006 Jun 16
2
scatterplot but a little tricky
i have two vectors of numbers x and y and of course i
can do the standard scatterplot plot(x,y)
and it looks fine. But, I was hoping there was a way to
do the scatterplot so that each point plotted is a number
where the number represents the index in the dataset.
so, if it was x[3] and y[3], then the point would be a 3
or if it was x[4] and y[4], then the point would be a 4 etc.
i doubt this is
2006 Jul 05
2
apologes if you already saw this :efficiency question
hi everyone : i'm not sure if my previous mail about
this got sent. i was typing and
erroneosuyl hit a button and lost what i was typing.
anyway, i have the code below ( it works ) in which i run through the rows of a dataframe, taking out the first two
fields which are characters strings ( with some extra spacing so
i yuse gsub) and appending these character strings to a list so that i can
2005 Dec 22
1
strsplit with dataframes
Hello fellow R people,
I can not figure out a pretty way to use strplit with vectors
Imagine that I got the following data from someone with ID's
representing several factors
ID data
A1-B1-t1 0
A1-B1-t2 1
A1-B2-t1 5
A1-B2-t2 10
A1-B10-t1 0
A1-B10-t2 1
A1-B20-t1 5
A1-B20-t2 10
...
I would like to turn this dataframe to
station substation time data
A1 B1 t1 0
A1 B1 t2 1
A1 B2 t1 5
2006 Jul 06
2
[Fwd: as.data.frame question]
>From: markleeds at verizon.net
>Date: Thu Jul 06 13:16:42 CDT 2006
>To: markleeds at verizon.net
>Subject: as.data.frame question
>hi all : as a result of an lapply command,
>i get the following output.
>
>
>$AAA
> 000106 000107 000108
> 5.5 6.5 3.0
>
>$BBB
> 000106 000107 000108
> 4 5 6
>
>$CCC
2009 Jun 01
1
Fwd: subset dataframe/list
--- the forwarded message follows ---
-------------- next part --------------
An embedded message was scrubbed...
From: "Cecilia Carmo" <cecilia.carmo at ua.pt>
Subject: Re: [R] subset dataframe/list
Date: Mon, 01 Jun 2009 21:33:15 +0100
Size: 3657
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20090601/921f7638/attachment-0002.mht>
2008 Jul 05
3
trying to superimpose a line plot onto a histogram
Hello,
I'm trying to superimpose a line plot onto a histogram but I'm not having
any luck. I've attached the dataset. What I did was:
> hist(data,freq=F)
Now I'm trying to superimpose the following points with a line connecting
them onto the histogram:
x y
100 0.535665393824959
200 0.212744329736556
300 0.0844933242968584
400 0.0335572838043417
500
2009 Apr 01
1
problems with package tutorial
Hi: Here's my revised attempt at explaining my problem. Hopefully it won't
get sent out weirdly like it did earlier. ? The link to what I'm trying to
follow is
http://www.stat.columbia.edu/~gelman/stuff_for_blog/AlanRPackageTutorial.pdf
? I've been going through the tutorial but when I got to page 9 and did
R CMD SHLIB Xdemo.cc Xdemo_main.cc -o Xdemo.dll
I got
2009 Feb 11
2
error in my previous message
i'm sorry. i had an error in my previous code because i left out a
letter in the rownames.
while fixing that, i also found a solution. so i'm sorry for the
confusion.
below is my fix.
temp2 <- matrix(rnorm(10),nc=1,nrow=10)
rownames(temp2) <-