Displaying 20 results from an estimated 3000 matches similar to: "Clearing Console- rm(list=ls(all=TRUE)) not working for me"
2011 Apr 13
5
Clearing Console; of weeks of codes!
Dear All:
I do see I have weeks of codes in my console when I check with my arrow up
keys. I have been clearing them with Control L but it seems to clear it
clear the screen temporally. I do see the previous codes again when I open R
the next day, after quitting the session!
Q:
How do I clear this?
Thanks;
YA
--
View this message in context:
1999 Jun 14
1
readline/history size (PR#211)
Full_Name: Russell Senior
Version: 0.64.0
OS: linux-2.2.x
Submission from: (NULL) (198.107.133.11)
It appears that the GNU readline history size is limited to 50 entries. This
is apparently occurring because R is not bothering to override the readline
default value (from readline-4.0):
./history.c:59:#define DEFAULT_HISTORY_GROW_SIZE 50
It appears that it ought to be possible to override
2012 Nov 26
3
Plot(x,y) help
Dear All:
I would any appreciate any help with this plot I am struggling with.
I have 4 estimates (95% CIs) I want to plot. I want the CI lines to be
horizontal on each plotted point. I was trying to tweak some old codes (was
for a vertical CI lines) into horizontal but not much dice.
Many thanks in advance for your help.
YA
My working codes:
x=c(1,1,1,1.1,1.1,1.1,2,2,2,2.1,2.1,2.1)
2007 Oct 05
3
Mac GUI and .Renviron
The .Renviron and .First functions do not seem to work the same way on a
Mac OS 10.4 as on a Windows XP machine.
From working in Windows I am used to creating a new directory for each
data analysis project. In the new directory I place
First, an .Renviron file consisting of the following text:
R_HISTFILE="history.txt"
R_HISTSIZE=1000000
Second, an .RData file containing a .First
2012 Oct 19
5
Centering labels on X-axis
Dear all:
I am trying to center labels on my plot with not much success. I have tried
text(), mtext() but it's not working. I think I am using the wrong function
for my task.
Any help will be appreciated.
My working codes.
axis(1,
at=c(1,2,3,4,5),font.lab=2,cex.axis=1.5,cex.lab=3,label=c("W0","CWH2","CWHmc","CH2","CHmc")
2011 Sep 12
2
calc.relimp pmvd for US R-user
Dear All:
I am calculating the relative importance of a regressor in a linear model.
Does anyone know how I can obtain/install the 'pmvd' computation type? I am
a US user.
Regards,
Y
--
View this message in context: http://r.789695.n4.nabble.com/calc-relimp-pmvd-for-US-R-user-tp3808752p3808752.html
Sent from the R help mailing list archive at Nabble.com.
2003 Jun 12
3
defaults in R: packages, .Rhistory
With the current version (rw1070), every time I start R it loads a whole
bunch of packages, many of which I do not need in a typical session:
> search()
[1] ".GlobalEnv" "package:methods" "package:ctest" "package:mva"
[5] "package:modreg" "package:nls" "package:ts" "Autoloads"
[9]
2000 Jun 29
3
Overal plot title after mfrow and .Rhistory questions.
Hello everyone,
I had a few questions that I have not been able to figure out despite a lot of
reading.
1) Adding a title to a multiplot figure:
If I plot multiple plots with
>par(mfrow=c(2,6))
how do I add an overall title to the figure, not the individual plots?
2) Saving histories on the fly:
Is there a .Rhistory equivalent to
>save.image()
? I would like to be able to save the
2006 Mar 23
5
RGui: windows-record and command history
a) How can I set the recording of all windows()-history forever to
"true"? I want something like windows(record = TRUE) but not just for
the window that opens then, but for all windows I will open ever.
b) Scrolling up in RGui (windows 2000) to see past commands is nice,
but: Is it possible to type eg "wi" and the "arrow up" and see the
last command that started with
2006 Mar 23
5
RGui: windows-record and command history
a) How can I set the recording of all windows()-history forever to
"true"? I want something like windows(record = TRUE) but not just for
the window that opens then, but for all windows I will open ever.
b) Scrolling up in RGui (windows 2000) to see past commands is nice,
but: Is it possible to type eg "wi" and the "arrow up" and see the
last command that started with
2012 Dec 03
3
Histogram plot help
Dear All:
I plotted a histogram with Abline, clipping with color codes but i run into
some problems. The "abline' does not show up at all, and when i request
the 'prob=True' (to obtain the freqs), my clipped region colors the section
of the graph instead of the plot only.
Is there any way i can get the y-axis figures to be in whole numbers rather
than decimals?
Many thanks
2009 Jun 08
1
Cannot get LD_LIBRARY_PATH to work under NX (freenx)
Hello,
I'm trying to get the LD_LIBRARY_PATH set from .bash_profile (Centos 5.3
fully updated).
This is a part of my .bash_profile:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/szyman/omnet/omnetpp-2.3p1/lib
export R_HISTSIZE=2000000000
Everything works fine under standard ssh login, but under NX client the
LD_LIBRARY_PATH variable is missing (the R_HISTSIZE is exported properly).
Any
2012 Mar 05
1
rm(list=ls())
R-2.14.2, Win7 x64
Dear list,
I have the habit of including rm(list=ls()) at the top of most of my
scripts. However, I wonder whether rm(list=ls()) gives the exact same
result as closing R and starting again fresh.
In other words, is it possible that there will be differences on how a
script runs under a fresh start of R versus when I "only" use
rm(list=ls()) , or should both
2009 Nov 05
2
rm(list<-ls()) error
Dear R,
Why rm(list<-ls()) gives an error but rm(list=ls()) not?. I remember the
operator ‘<-’ can be used anywhere...
Thanks!
Feng
--
Feng Li
Department of Statistics
Stockholm University
106 91 Stockholm, Sweden
http://feng.li/
[[alternative HTML version deleted]]
2008 Oct 25
1
Re: Ole Fossils [ was Re: ls and rm: "argument list too long"]
----- Original Message ----
> From: David G. Mackay <mackay_d at bellsouth.net>
> To: CentOS mailing list <centos at centos.org>
> Sent: Saturday, October 25, 2008 4:18:01 PM
> Subject: Re: [CentOS] Re: Ole Fossils [ was Re: ls and rm: "argument list too long"]
>
>
> On Sat, 2008-10-25 at 12:10 -0700, Bill Campbell wrote:
>
> > My first
2016 Feb 18
2
Proposal for new memory_order_consume definition
Hello!
A proposal (quaintly identified as P0190R0) for a new memory_order_consume
definition may be found here:
http://www2.rdrop.com/users/paulmck/submission/consume.2016.02.10b.pdf
As requested at the October C++ Standards Committee meeting, this
is a follow-on to P0098R1 that picks one alternative and describes
it in detail. This approach focuses on existing practice, with the
goal of
2007 Aug 29
0
sum(data.frame(),na.rm=TRUE) still throws an Error
Hello,
sum(data.frame(),na.rm=TRUE) still throws an Error, is this really the
intended behavior?
> sum(data.frame())
Error in FUN(X[[1L]], ...) : only defined on a data frame with all
numeric or complex variables
> sum(data.frame(),na.rm=TRUE)
Error in FUN(X[[1L]], ...) : only defined on a data frame with all
numeric or complex variables
The context is
# x is a data frame generated from
2008 May 02
0
Using option na.rm=True in function SD does not work for matrix with complete columns of NAs (PR#11364)
Dear R-developers,
=20
according to the "what's new"-section in version R 2.7.0, there has been =
a change in the working of co[rv] and so also in sd and var.
=20
I am afraid, that the use of function sd with option "na.rm=3DT" has not =
been changed appropriately. So the following problem exists with missing =
data:
=20
> sessionInfo()
R version 2.7.0 (2008-04-22)=20
2009 Oct 29
1
weighted.mean uses zero when na.rm=TRUE (PR#14032)
The weighted.mean() function replaces NA values with 0.0 when the user
specifies na.rm=TRUE:
x <- c(101, 102, NA)
mean(x, na.rm=TRUE) # 101.5, correct
weighted.mean(x, na.rm=TRUE) # 67.66667, wrong
weighted.mean(x, w=c(1,1,1), na.rm=TRUE) # 67.66667, wrong
weighted.mean(x, w=c(1,1,1)/3, na.rm=TRUE) # 67.66667, wrong
The weights are
2006 Aug 01
1
Global setting for na.rm=TRUE
Hello!
Is it possible to set na.rm=TRUE in a global way? I'am constantly
forgeting on this when performing analyses. I agree that one should
be carefull with this when developing some code, but not necesarilly
so in data analysis.
Lep pozdrav / With regards,
Gregor Gorjanc
----------------------------------------------------------------------
University of Ljubljana PhD student