Displaying 20 results from an estimated 600 matches similar to: "restore file magic number"
2004 Oct 19
2
pasting indexes to variables within loops
Hi all,
Hope someone can help me. I start out with a matrix called haplo with 600 rows and two columns. To start with, the elements of the matrix are character strings of 20 numbers. I then want to create separate objects, called ha1-ha600, that are the concatenated 20 + 20 numbers, as numeric. I am having no trouble doing anything except getting the index i to paste to the object ha(i) in
2008 Sep 26
2
axis in a normal plot
Hi
I have a small problem, I'm new in using R, so I hope you can help me...
I'm running a logistic regression model and want to do a nice plot.
The plot I have made is done a plot with the command jitter:
plot(jitter(overto$age[overto$sex=="F"]),jitter(overto$neg.pos[overto$sex=="F"]),xlab="age",ylab="neg and pos")
my responsvariable is positive
2007 Nov 19
1
building packages: hhc.exe not found using xp
Hello,
Apologies in advance if this should be in R-devel, not Rhelp. I did read through the R-devel thread started by Gabor Grothendieck in September of this year - I am getting the exact same error using a new computer that has XP installed, not vista, complaining that the file hhc.exe is not found. I have downloaded the hhc.exe to HTML Help Workshop dir in Program Files but it says that
2012 Aug 09
1
Using unicode symbol has unexpected results in levels of factor object
Dear all,
When I use a unicode symbol in the labels for a factor object, the corresponding level does not display as expected. However, using levels() on the factor returns the desired output. I noticed the discrepancy when the legend labels from a call to ggplot() did not display the desired symbol, but an explicitly built legend using the same labels did.
Example (I am trying to get the less
2006 Jun 22
5
changing user/group on port 80
I''m trying to run mongrel on port 80 and switch to a different
user/group from root. As root, this works:
mongrel_rails start -p 3000 -u rails --group rails
This:
mongrel_rails start -p 80 -u rails --group rails
dies with:
---------------------------
** Changing group to rails.
** Changing user to rails.
** Starting Mongrel listening at 0.0.0.0:80
2003 Jan 13
4
Ideas needed on automation of R
I need some guidance on what is the best way to automate R I am aware of
Rterm.
First question: Is it true that R is not currently OLE accessible under
Windows 2000?
Second question: Is there an R command that echoes all R Console results to
a run log system file?
My first attempt to write a run log file is the example from the R Data
Inport/Export documentation.
> zz<-
2003 Dec 19
2
weighted regression
To all
I have some simple questions pertaining to weights used in regression.
If the variability of the dependent variable (y) is a function of the magnitude of predictor
variable (x), can the use of weights give an appropriate answer to the regression parameters
and the std errors?
Assume that y at x=1 and 6 has a standard deviation of 0.1 and at x=11 it is 0.4
Then according to a web page on
2003 Dec 20
7
error bars around a point
All
Is there an R command to produce error bars around
a plotted point. Crawley's book uses the command
error.bar() but my version of R rejects it. Must be an
S+ command(?).
Thanks
REX
[[alternative HTML version deleted]]
2003 Feb 06
2
Fw: Plotting in subareas using par(fig=) parameter
Any idea why I can no longer plot two graphs on the same graphics device
using the par(fig=) parameter?
A simpler par(mfrow=c(1,2)) does work, showing the two plots side-by-side,
but I would like the first
to be larger. This simple example fails:
x<-c(1,1,NA,2,2,NA,3,3)
y<-c(2,4,NA,3,5,NA,1,4)
par(fig=c(0,2/3,0,1))
plot(x,y)
par(fig=c(2/3,1,0,1))
qqnorm(x)
When plotted, the last
2006 May 23
2
Can Win32 service more than one rails request at atime?
> On 5/23/06, Walter <Walter at mwsewall.com> wrote:
> [...]
> > I realize that mongrel is not thread safe, I was hoping mongrel might
> spawn a few processes and serve them in the background to emulate what I
> wanted.
> >
>
> Rails is not thread-safe.
>
Yes, that?s what I meant.
<snip>
>
> The idea of the BackgroundDrb is that you perform
2003 Feb 01
2
Re-assigning vector elements based on their initial values.
Is there an eloquent solution to re-assign vector element values?
I have a vector which contains chemical data, some of them are "flagged" as
non-detected values by their negative values.
I can find the statistics on the positive values in vector "v" simply by
typing:
>v<- c(5,5,-3,-3,7,8,10)
> v[(v>0)]
[1] 5 5 7 8 10
I can also convert to positive values by
2007 Jan 31
4
possible spam alert
The last two times I have originated message threads on R or
Bioconductor I have received the message included below from someone
named Patrick Connolly. Both times I was the originator of the message
thread and used what I thought was a unique subject line that explained
as best I could what my question was. Patrick seems to be implying that
I am abusing the R and BioC help newsgroups in this
2007 Jun 11
2
Textpad help
I have installed textpad and tried running R code. But it gives me the
following error message.
The filename, directory name, or volume label syntax is incorrect.
Tool completed with exit code 1
Can you provide any help? I am not a technical person. So the help in detail
will be appreciated.
Thx
[[alternative HTML version deleted]]
2001 Apr 11
3
anybody using R with TextPad?
I was wondering whether somebody has developed a set of Textpad macro
that work with R the same way as WinEdt does. I use Textpad for almost
everything (programming, creating LaTex docs, etc.), it will be nice if
I can use it as my R program editor. Or maybe someone can tell me how
that kind of macro works so that I can develop my own macros. Thank you!
Best,
Shige Song
Department of Sociology,
2003 Jan 13
1
Fw: Plotting text-string real_date names at excel_date positions.
How do I post text-string dates along the x-axis instead of the excel_date
position values?
I would like to plot a time-series of chemical values changing with time
The first column is the internal date from excel. This should be the x-axis
position of a graph
of the plotted data.
The second column is a text-string of date. This should be what is posted
(instead of the excel_date).
The third
2003 Jan 14
1
comparing class() -- R=NULL and S+=numeric
I'm just reading Modern Applied Statistics with S, 4th Ed., Venables and
Ribley
I'm typing in their examples in both R and S+. I need insight in the
difference
in the class() statement shown in Chap. 2. Example from book:
> names(powers.of.pi) <- -2:2
> powers.of.pi
-2 -1 0 1 2
0.1013212 0.3183099 1.0000000 3.1415927 9.8696044
>
2003 Jan 15
1
Is R really an open source S+ ?
This is not a criticism. I'm just curious. Is there an effort to keep R
comparable to S+?
Or are the two languages diverging? I am doing what probably legions have
done before me,
and legions will after me...using R on examples from text books written with
S+ code. Most of the
time everything appears to be equivalent. And then there are amazing
divergences in commands. For
instance:
S:
2006 May 10
2
Output Compression in Mongrel?
I''d like to implement output compression in Mongrel (ala Apache''s
mod_deflate). I have found a Rails plugin that, with minor modification,
works.
Is there even an advantage to moving the output compression from the Rails
app to a Mongrel handler?
Unless, of course, someone knows how to configure mod_proxy_balancer with
mod_deflate...
==
Will Green
Web Developer & IT
2000 Feb 02
1
"Use a command like x <- vi() to recover"
Subject command doesn't work with rw0901 running on win95 (of course) so,
after looking at the vi and emacs code, I put
textpad <- function(name = NULL, file = ""){
edit(name, file, editor = "g:\\textpad\\txtpad32.exe")
}
Now
x <- textpad()
brings up the botched code in the textpad editor, as expected, but when I
try to save changes I get an "Access to
2001 Oct 25
1
Text File Busy, Samba Locking?
I have searched google for a while and have not resolved this issue.
I am using win98/TextPad 4.0 on a client modifying CGI Scripts in Perl
I open up scripts and make changes then close them via Samba, but when someone requests
the cgi scripts Apache responds with an Error. When I run the script from bash it replys text file busy.
It turns out the there are 2 hacks: um-mount and re-mount the