Displaying 20 results from an estimated 10000 matches similar to: "Command line editing."
2001 Sep 07
2
Command-line editing re-visited.
Quick summary:
- I got command line editing to work (thanks to all who
responded to me),
- but now my ``m'' key won't work in R (??!!??!!??),
- and I can't find how to get command-line editing to
use vi syntax.
More detail:
This posting consists of (1) a summary and thanks, and (2) some new
questions.
Summary and thanks:
===================
I was having trouble
2004 Jul 28
2
problem with the .Rhistory
Hello,
The history function doesn't seems to work when I am working with R.
I have a .Rhistory file in my working directory and I have tried
savehistory(file = ".Rhistory")
or the command given in the history help :
.Last <- function()
if(interactive()) try(savehistory(".Rhistory"))
and I get the same error message
Error in
2012 Oct 10
2
history() does not work?
Hi,
> history()
gives Error in savehistory(file) : no history available to save
although I can scroll throu history with C^uparrow an C^downarrow.
How can I make history() work and/or show the current history in a file,
so that I can choose from previous commands?
The web did not throw up anything useful.
TIA --Christian
--
Christian W. Hoffmann,
CH - 8915 Hausen am Albis,
2002 Sep 04
1
readline doesn't work even thou cled=TRUE
Can anyone offer suggestion about getting readline to work on Solaris?
(v1.5.1)
When I use the up arrow or ctrl-p to try to repeat the last command
my session just beeps.
It appears that the .Rhistory file that should appear in my startup
directory
is not being created.
Thanks!
The screen shot below shows cled=TRUE and no .Rhistory file created:
$ /apps/R-1.5.1/bin/R
R : Copyright 2002, The
2002 Sep 10
2
Readline problem.
This question relates, at least vaguely, to recent postings
from me concerning my attempts to build R-1.5.1 under Solaris 2.7.
I've more or less given up on this, and I and a colleague are
attempting to build R-1.5.1 on another machine in our Department,
and are getting a ***different*** problem.
Version details:
platform sparc-sun-solaris2.9
arch sparc
os solaris2.9
2002 Sep 10
2
Readline problem.
This question relates, at least vaguely, to recent postings
from me concerning my attempts to build R-1.5.1 under Solaris 2.7.
I've more or less given up on this, and I and a colleague are
attempting to build R-1.5.1 on another machine in our Department,
and are getting a ***different*** problem.
Version details:
platform sparc-sun-solaris2.9
arch sparc
os solaris2.9
2004 Aug 11
2
Xemacs do not want to execute help.start() with R1.9.1
Hi all,
I 've just reinstalled from the scratch my Windows 2000 (Italian version)
on a formatted HD, because I like to clean
the environment from time to time (say once a year).
I'm currently using XEmacs-21.4.13 and R (rw1091)
and Xemacs is configured as described in
http://socserv.socsci.mcmaster.ca/jfox/Books/Companion/ESS/ess-xemacs.pdf
The problem is that the command
help.start()
2004 Oct 25
1
Scoping and nls.
A colleague of mine is trying to use nls() to effect an optimization,
and is encountering a scoping problem. I should know how to solve it
for him but .... well, I just don't.
I also had a quick scrounge of the archives --- I know I've seen this
topic addressed before --- but I couldn't track it down.
So here's a toy example that demonstrates the problem:
hhh <-
2006 Nov 25
3
OT: P(Z <= -1.46).
In checking over the solutions to some homework that I had assigned I
observed the fact that in R (version 2.4.0) pnorm(-1.46) gives
0.07214504. The tables in the text book that I am using for the
course give the probability as 0.0722.
Fascinated, I scanned through 5 or 6 other text books (amongst the
dozens of freebies from publishers that lurk on my shelf) and found
that some agree with R
2007 Feb 18
2
printing intermediate lines while in a function
Hi,
I'm trying to make a function which does a lot of computational work and visualization work.
This won't be a problem, but as things can get a lot of computational time, I would like to print what is going on, but also instructions about what the user should do.
A small example:
fctn <- function(data.df){
cat("Calculating linear regression \n")
data.lm <-
2007 Apr 03
3
Referencing function name from within function
Hello,
For verbose coding I'd like to do something like:
> myfunction <- function(x){
> if (a){
> stop(paste(myfunction_name_here,"requires xyz!")
> }
Is that possible?
Thanks for any hints, Joh
2006 Oct 02
3
How can I generate this numbers
Hi wizards, I need to know how can I generate this numbers
I have n numbers N1,N2 , Nn , but Nn = 1- sum(N1+N2+...+Nn-1) and
sum(N1+N2+..Nn)=1
and N1,N2,..Nn with 0<N<1 .
Does somebody know how to generate it ? Some distribution or algorithm.
Thanks in advance.
--
Web Page
http://www.geocities.com/ricardo_rios_sv/index.html
2002 Apr 04
1
PR#1132.
Just now I again had occasion to want nested describe lists in a
documentation file. I found that the bug which I reported on 18
October, 2001 still persists. I checked on the bug report at the R
web page, and found that the notes say ``Not a problem in R 1.4.0
(2001-12-08)''.
Well, it's still a problem for me --- using R 1.4.1.
(Details:
platform sparc-sun-solaris2.7
arch
2006 May 17
3
Off topic --- help in locating a source.
Apologies for the off-topic question; as usual I'm trying to draw
upon the unparalleled knowledge and sagacity of the r-help list.
Please reply off-list if you can help me out.
A collaborator of mine found a formula we need, on sheets which he had
photocopied out of a book, some years ago. He cannot remember which
book (he's getting to be as senile and forgetful as I am, poor
bloke!).
2004 Jul 06
2
Re: errors in randomization test
Colin Bleay wrote:
> last week i sent an e-mail about dealing with errors thrown up from a
> glm.nb model carried out on multiple random datasets.
>
> every so often a dataset is created which results in the following error
> after a call to glm.nb:
>
> "Error: NA/NaN/Inf in foreign function call (arg 1)
> In addition: Warning message:
> Step size truncated due
2005 Jun 02
2
Caution on the use of model.matrix.
I have just been bitten by a quirk in the behaviour of model.matrix.
I used model.matrix inside a function, and passed to it a formula
that was built elsewhere.
The formula was of the form ``y ~ x + w + z''. Now, model.matrix
cheerfully accepts formulae of this form, although it only
***needs*** the right hand side, i.e. ``~ x + w + z'' --- the ``y''
can be dropped (but
2003 Apr 21
4
help.start in R-1.7.0 with Netscape 7.0.
I'm experiencing a new and annoying phenomenon which seems to consist
of an unfortunate interaction between R-1.7.0 and netscape version 7.
When I invoke help.start(), a netscape window duly appears
with the browser pointed at the file .../R/doc/html/index.html
as one would hope and expect.
However if I then ask for help on a function, e.g.
> help(glm)
the help does NOT get displayed
2004 Mar 01
6
How to plot Histogram with frequence overlaid by distribution curve
Hi,
I am facing the problem that I want to plot a histogram chart set
freq to true and overlay with normal or weibull or exponential distribution
curve.
The sample code is shown as below:
>samp<-c(-8.2262,-8.2262,-8.2262,-8.20209,-8.09294,-8.07321,-8.07321,
-8.07321,-8.07175,-8.04948,-8.04948,-8.04948,-8.03848,-8.03848,
2006 May 29
2
newbie question: ROW average
Dimitris Rizopoulos wrote:
> look at ?rowMeans; you can also use "apply(mat, 1, mean)" but
> rowMeans() is better.
By my reading of the question, this is not what
Ezhil wants. He said:
``I have a 992 x 74 matrix. I would like to form a new matrix
by averaging each 4 rows from the original one.''
I.e. he wants (I think) the first row of the new matrix
to be the
2004 Sep 15
2
Slightly off-topic --- distribution name.
I've built R functions to ``effect'' a particular distribution, and
would like to find out if that distribution is already ``known'' by
an existing name. (I.e. suppose it were called the ``Melvin''
distribution --- I've built dmelvin, pmelvin, qmelvin, and rmelvin as
it were, but I need a real name to substitute for melvin.)
The distribution is really just a toy