Displaying 20 results from an estimated 32 matches for "mchenri".
Did you mean:
mchenry
2006 Aug 10
3
Is there a better way than x[1:length(x)-1] ?
Hi WizaRds,
In MATLAB you can do
x=1:10
and then specify
x(2:end)
to get
2 3 4 5 6 7 8 9 10
or whatever (note that in MATLAB the parenthetic index notation is used, not brackets as in R). The point is that 'end' allows you to refer to the final index point of the array.
Obviously there isn't much gain in syntax when the variable name is x, but when it's something like
2006 Mar 13
3
Incrementing a counter in lapply
Hi All,
I'm looking for some hints on idiomatic R usage using 'lapply' or similar.
What follows is a simple example from which to generalize my question...
# Suppose, in this simple example, I want to plot a number of different lines in different colors;
# I define the colors I wish to use and I plot them in a loop:
d<-
2005 Dec 06
3
reading in data with variable length
I have very large csv files (up to 1GB each of ASCII text). I'd like to be able to read them directly in to R. The problem I am having is with the variable length of the data in each record.
Here's a (simplified) example:
$ cat foo.csv
Name,Start Month,Data
Foo,10,-0.5615,2.3065,0.1589,-0.3649,1.5955
2007 Jan 25
2
Days of the week?
Hi WizaRds,
What is the "standard" way to get the day of the week from a date such
as as.Date("2006-12-01")? It looks like fCalendar has some functions
but this requires a change in the R locale to GMT. Is there another way?
Thanks!
Jack.
---------------------------------
Be a PS3 game guru.
[[alternative HTML version deleted]]
2006 Mar 22
2
Re: Asterisk-Users Digest, Vol 20, Issue 153
Do you remember when Digium annouced channelized DS3???...vapour. You watch, this CODEC board will go the way of the DS3 boards...vapour.
Mark my words.
---------------------------------
Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2002 Sep 05
1
Looking for WinNT rsync binary
Hi All,
I am looking for the Rsync binary for NT as mentioned on the Mike McHenry
postings.
Unfortunatley the ftp mentioned in the article wont accept anonymous
login.
TIA, Euan Clark
-------------- next part --------------
HTML attachment scrubbed and removed
2008 Aug 11
2
Mysterious new problem: nss_ldap: could not soft reconnect to LDAP server
Suddenly as of this morning, none of my users can authenticate to samba
because nss_ldap is producing cryptic errors. Nothing has changed on
either the LDAP server or the Samba server. Looks like this in
/var/log/messages:
Aug 11 11:19:29 edgar smbd[8394]: nss_ldap: could not soft reconnect to
LDAP server - Server is unavailable
Yet, the LDAP server IS available, and happily chirping away
2006 Mar 15
2
lapply vs. for (was: Incrementing a counter in lapply)
> From: Thomas Lumley
>>
>> On Tue, 14 Mar 2006, John McHenry wrote:
>>
>> > Thanks, Gabor & Thomas.
>> >
>> > Apologies, but I used an example that obfuscated the question that I
>> > wanted to ask.
>> >
>> > I really wanted to know how to have extra arguments in
>> functions that
>> > would allow,
2006 Dec 17
0
hblm program: porting from Splus to R
I am replying to the email below my signature;
it is nominally about dmp files, but apparently
specific to problems with Bill DuMouchel's
hblm program.
I have been using this program
on Splus for years, and ran into some of the
same problems Jack did in trying to get it into
R. I talked with Bill about it, and he didn't
know that there would be any problems; he
assumed that R was
2006 Mar 03
2
Command-line editing & history
Hi all,
Are there any plans to add more functionality to command-line editing and history editing on the command line?
In MATLAB (I know, comparisons are odious ...), you can type "p" and up-arrow on the command line and scroll through the recently entered commands beginning with "p". This is a very useful feature and something that I believe is not replicated in R.
Please
2008 May 12
2
User SID problem with home directory
I'm having the problem in which users can access their group shares, but
not their home shares. These two shares are defined thusly in smb.conf:
[seref]
comment = Science & Engineering Reference Section
path = /data/group/seref
valid users = @seref, @seref-read, @admin
read list = @seref-read
write list = @seref, @admin
2006 Feb 28
2
Elegant way to express residual calculation in R?
Hi All,
I am illustrating a simple, two-way ANOVA using the following data and I'm
having difficulty in expressing the predicted values succinctly in R.
X<- data.frame(read.table(textConnection("
Machine.1 Machine.2 Machine.3
53 61 51
47 55 51
46 52 49
50
2008 Mar 08
3
Samba to Kerberos via OpenLDAP
First, I'll just say this is a question principally about the arcane
mysteries of Samba to OpenLDAP authentication.
I've had Samba to OpenLDAP authentication running for a while now using
the samba.schema and the ldapsam module. Now I'd like to understand a
bit more about how that works in order to take it a step further and get
openLDAP to bind against a Kerberos database via
2008 Apr 19
2
problem with [homes] share for users with unix logins
I have the [homes] section set up in my smb.conf so that
\\server.name\user connects to the user's home directory. Since I am
using OpenLDAP as a backend via smbldap-tools, for most users the home
directory comes from the homeDirectory variable in OpenLDAP.
However, when I have a user who also has a login on the samba machine,
that is, an entry in /etc/passwd, Samba seems to ignore the
2007 Sep 13
2
Multivariate, multilevel regression?
Dear WizaRds,
This is mostly a statistics question, but I'm figuring that R is the right solution (even before I start!)
I have some bio data of heart rate versus time (rats taken from resting to maximal heart rate). I want to regress heart rate on time. The data have been normalized such that resting heart rate is zero at time=0, so that all curves intersect at the origin (and at the origin
2005 Dec 06
1
array of lists? is this the best way to do it?
[Q.] How to create an array of lists, or structures the most elegant way?
There have been questions in the past but none too recently...I want to know if the following looks OK to you guys or if there is a better way to create an array of lists:
# PREAMBLE ... JUST TO GET THINGS GOING
makeList<- function(data, anythingElse) {
rval <- list( data = data,
anythingElse =
2006 Nov 28
1
Can anyone read a S-PLUS .dmp file for me?
Hi WizaRds,
I tried reading the S-PLUS file
ftp://ftp.research.att.com/dist/bayes-meta/hblm.dmp
into R using
data.restore("hblm.dmp")
but I got an error:
Error in attributes(value) <- thelist[-match(c(".Data", ".Dim", ".Dimnames", :
row names must be 'character' or 'integer', not 'double'
In
2007 Mar 27
1
Source Code for zoo?
Hi,
I downloaded the source code for the package zoo (zoo_1.2-2.tgz from CRAN).
When I gunzip and untar the file I can't find the R / C / FORTRAN code for the library. In the R directory under zoo, the listing is for 3 files:
zoo
zoo.rdb
zoo.rdx
Is the code encoded in one of these files?
I've had this problem with other packages too, trying to browse the source. Am I missing something
2007 Jun 28
1
Method dispatch in functions?
Hi,
Could someone point me in the right direction for documentation on the following question?
Let's say I have two objects a and b of classes A and B, respectively.
Now let's say I write a function foo that does something similar to
objects of type A and B. Basically I want to overload the function
in C++ talk, so if I give foo and object of type A something (and this
is my question)
2008 Apr 07
0
Questions about Active Directory Password Cache overlay
Thanks to Buchan Milne, I'm looking into the Active Directory Password
Cache overlay for OpenLDAP, which seems to offer more or less what I'm
trying to do. Is anyone here experienced with it? Is this the right
place to ask or is there an openLDAP overlays list?
I understand this description of ADPC:
Active Directory Password Cache
===============================
Active