Displaying 20 results from an estimated 7000 matches similar to: "Simple but elusive - expand back from counts"
2000 May 19
0
I present: The Elusive 'fixprogs' script
Hi,
Here's the 'fixprogs' perl script that got missed off the 2.1.0p1
distribution. Please put this in your openssh directory, and re-run
'make install'. it doesn't need to be made executable.
For those interested, it runs through all the commands in the
ssh_prng_cmds file and tests if they work (as opposed to 'configure'
merely verifying that the executable
2011 Aug 23
3
ddply - how to transform df column "in place"
Dear R-users,
I am trying to get the plyr syntax right, without much success.
Given:
d<- data.frame(cbind(x=1,y=seq(20100801,20100830,1)))
names(d)<-c("first", "daterep")
d2<-d
# I can convert the daterep column in place the classic way:
d$daterep<-as.Date(strptime(d$daterep, format="%Y%m%d"))
# How to do it the plyr way?
ddply(d2,
2008 Aug 31
2
stack level too deep - an elusive bug?
I was experimenting with template chains and detected the following
issue with webgen-0.5.3:
Generating tree...
An error has occurred: stack level too deep
The weird thing is that after deleting `webgen.cache`, website
compilation is successfully. When `webgen` is run immediately after this
successful compilation (i.e. without changing any files), the error
above shows up. After
2012 May 02
4
[PATCH 0/4] fish: Allow the glob command to expand device patterns (RHBZ#635971).
This patch set fixes a two year old bug in guestfish, namely that the
'glob' command does not expand /dev/* patterns.
https://bugzilla.redhat.com/show_bug.cgi?id=635971
Rich.
2015 Feb 05
3
Another Fedora decision
On Thu, Feb 5, 2015 at 4:19 PM, Keith Keller
<kkeller at wombat.san-francisco.ca.us> wrote:
>> On C5 the default appears to be:-
>>
>> -rw-r--r-- 1 root root 1220 Jan 31 03:04 shadow
>
> It is much more likely that someone has screwed up your system. I think
> even CentOS 4 had shadow as 400. And what on earth would the point be
> in having a
2007 May 10
4
apply( )
I have a question that must have a simple answer (but eludes me).
I need a row-by-row logical comparison across three numeric variables
in
a data frame: foo$x, foo$y, foo$z. The logic is
if( x < y || x > z ) 1 else 0
for a particular row.
It is simple and very inefficient to use for(i in 1:length(foo$x)){ }
loops. How can I accomplish this using sappy( ) / lapply( ) / apply( )
or
1999 Mar 09
1
lm() using data frames
Under NT 4.0, using Version 0.63.2 Beta (Jan 12, 1999):
Not sure if this is a bug or a feature (forcing me to program less
clumsily) so I'll report it here rather than to bugs.
With a medium size data set (1700 observations,70 explanatory variables)
and plenty of memory, specifically
> gc()
free total
Ncells 886738 1000000
Vcells 7912909 8388608
I get a fatal error when
2011 Aug 12
1
lattice panel.abline use
Dear R-users,
I am unsuccessful in trying to add an horizontal line to all graphs in the
example below:
library(lattice)
val<-runif(15)
x<-rep(seq(1:5),3)
type<-c(rep("a",5), rep("b",5), rep("c",5))
xyplot(val ~ x | type, panel.abline(h=.6))
Any hints are appreciated.
Best regards,
---Jean
--
View this message in context:
2013 Feb 16
4
Creating a Double Bar Graph With Provided DataSet
To the volunteers of R-Help.
Hello, I am currently stuck on an RStudio assignment. The assignment
involves creating a double bar graph with the provided info
http://math.fullerton.edu/mori/data/introstats/pennstate3.txt
My professor has only gone over the very basics of RStudio and we only
learned how to make a simple bar graph and labeling x and y axis. The
specific directions from my
2008 Apr 11
3
strsplit and sapply
Colleagues,
I have some text:
TEXT <- c("a", "bb;ccc", "dddd;eeeee;ffffff")
I want to retrieve the portion of each element before the first
semicolon. I can split each element using strsplit:
SPLIT <- strsplit(TEXT, ";")
This yields:
> SPLIT
[[1]]
[1] "a"
[[2]]
[1] "bb" "ccc"
[[3]]
[1] "dddd"
2012 Jun 01
2
Partial R-square in multiple linear regression
Hello,
I am trying to obtain the partial r-square values (r^2 or R2) for
individual predictors of an outcome variable in multiple linear
regression. I am using the 'lm' function to calculate the beta
coefficients, however, I would like to know the individual %
contributions of several indepenent variables. I tried searching for
this function in many R packages, but it has proven elusive
2009 Feb 12
2
beginner's question: group of regressors by name vector?
dear r-experts: there is probably a very easy way to do it, but it eludes
me right now. I have a large data frame with, say, 26 columns named "a"
through "z". I would like to define "sets of regressors" from this data
frame. something like
myregressors=c("b", "j", "x")
lm( l ~ myregressors, data=... )
is the best way to create new
2007 Jan 28
4
Cordless SIP Phones
Can anyone recommend a good cordless user-configurable SIP hardphone that is
readily available in the states and doesn't cost $300? There seem to be a
plethora of decent and affordable corded phones (like from Grandstream) but
the search for a cordless unit seems elusive. I purchased a vtech 8100
online only to discover after receiving it that it is locked to vonage
service.
Thank you.
2005 Jan 28
1
R-Help : running MIX package
Hello all. I am inexperienced with R and am clumsily trying to work through it for specific multiple imputations Id like to run for my thesis.In running the MIX package, I keep getting an error message regarding the use of the prelim.mix command.
Error in as.integer.default(list(alcohol = c(1, 1, 1, 1, 1, 1, 1, 1, 1, :
(list) object cannot be coerced to integer
I cannot find the
2006 Jun 19
2
saving rounded numbers as a new variable in a dataframe
A basic question, but one that eludes me. I have created a new variable
$numurder, which I have rounded off. I want to save the rounded off version
of this variable to an existing datafile called 'ngri.csv' .
numurder <-c((murder*no.of.cases)/100)
[[1]]
[1] 48.952 112.073 182.160 974.610 122.140 663.432 150.856 18.988
137.925 198.045 68.930 203.148 30.056 100.955
2011 Feb 01
1
[PATCH] Check for, and uninstall, VMware Tools installed from tarball
VMware Tools can be installed by RPM or from a tarball. We were only looking for
the RPM. If it was installed by tarball, we would end up leaving it in place. If
VMware Tools detects that it is not running on a VMware platform when it starts,
it will clumsily try to uninstall itself, leading to misconfiguration.
This patch looks for tarball-installed VMware Tools and uninstalls it.
Fixes
2010 Aug 19
5
Does anyone use Sweave (RweaveLatex) option "expand=FALSE"?
I am trying to improve the error reporting in Sweave documents, so that
if you have a syntax error in a code chunk, it will tell you which line
of your input file contained the error.
For example, currently you get this:
Error: chunk 1 (label=named)
Error in parse(text = chunk) : unexpected symbol in "x <- foo bar"
Execution halted
and I'd like errors to be more like this:
2005 Feb 03
9
subset data.frame with value != in all columns
I am trying to extract rows from a data.frame based on the
presence/absence of a single value in any column. I've figured out how
to do get the positive matches, but the remainder (rows without this
value) eludes me. Mining the help pages and archives brought me,
frustratingly, very close, as you'll see below.
My goal: two data frames, one with -99 in at least one column in each
row,
2018 Jul 28
3
Winbind Craziness
On Fri, 27 Jul 2018 21:25:04 +0000 (UTC)
ray klassen via samba <samba at lists.samba.org> wrote:
> so I had some time to follow this bunny trailand found that even
> though all the other servers had no problems this one continued
> to.Every so often a new computer couldn't connect and then it would
> be all better after a net leave/net join. Net join would not work
>
2009 Nov 05
2
Windows build from source.
I am working through some of the gotchas with building R from source under Window. I have found that if I don't execute the make commands as Administrator I get alot of "permission denied' errors. Even if I give myself full control of the directory and files. Strange. I also found that the environment variable TMPDIR must be set otherwise the build process assumes a temporary