Displaying 20 results from an estimated 10000 matches similar to: "erasing "[1]""
2012 Nov 03
3
to print system.time always
Hi all;
I want to print system.time whenever I execute any command.
It takes too much time to type "system.time()" function to all command.
is there any solution on it?
And,
apply(matrix,1,cumsum) command is too slow to some large matrix.
is there any function like rowCumSums ?
thank u!
--
View this message in context:
2012 Apr 13
2
How to define format of number
hi all,
What I want to do is show a number with thousand expression.
I dont know exactly the expression name but here is example.
1,000
10,000,000
is there a way to express a number like that?
--
View this message in context: http://r.789695.n4.nabble.com/How-to-define-format-of-number-tp4555778p4555778.html
Sent from the R help mailing list archive at Nabble.com.
2012 Mar 16
2
how to speed up the inefficient code
hi,
i'm really in trouble to simulate some experiment.
that is, it takes too much time to process the following code.
following is short example,
-------------------------------------------------------------------------------------------------------
p<-data.frame(a=rnorm(10),b=rnorm(10),c=rnorm(10),d=rnorm(10))
test<-data.frame(a=rnorm(1),b=rnorm(1),c=rnorm(1),d=rnorm(1))
2020 Sep 14
6
erasing a disk
Folks
I've encountered situations where I want to reuse a hard-drive. I do
not want to preserve anything on the drive, and I'm not concerned
about 'securely erasing' old content. I just want to be able to
define it as an Physical Volume (in a logical volume set), or make it
a ZFS disk, or sometimes make it a simple EXT3, ExFAT or NTFS
disk. However, old
2012 Sep 27
1
erasing a polygon
I'm updating some (very) old code, and one particular option of its plot method depends on
a once-was-true trick
polygon(x, y, border=TRUE, col=0)
polygon(x, y, border=TRUE, density=0)
would draw the polygon AND erase whatever was underneath it back to background color.
Is there a reliable way to do this with the current R (standard graphics)?
Terry Therneau
PS For the
2012 Mar 31
3
clear console
hi,
I use R - 2.15(32bit), and want to make a code to clear a console.
Actually, I used to run following code to do that but after update the
version of R from 2.14 to 2.15, it doesn't work.
cls <- function (t) {
require(RDCOMClient)
wsh <- COMCreate("Wscript.Shell")
wsh$SendKeys("\f")
invisible(wsh)
}
cls()
or
cls <-
2014 Jul 15
2
[LLVMdev] [cfe-dev] Bug in MapVector::erase ?
> On 2014-Jul-15, at 08:29, David Blaikie <dblaikie at gmail.com> wrote:
>
> Sounds pretty clearly buggy, and against the original design of the
> ADT (as pointed out by the documentation quotation). When was erase
> functionality added to MapVector? Can/should it be removed (and the
> use case changed to use some other container)
>
> Making erase linear time
2012 Nov 22
1
rapache memory problem
Hi all;
Now I'm developing web application by using rapache in ubuntu.
My problem is that as users execute the application, the server PC cumulates
memory.
After users close or refresh the application page, the server PC memory is
still cumulated.
Now I'm renewing apache machine by manually in terminal.
Is there any way to kill memory when users refresh or close the application
page?
2008 May 23
0
[LLVMdev] Iterator issue in BranchFolder::RemoveBlocksWithHash?
On May 23, 2008, at 4:10 AM, Nicolas Capens wrote:
> Hi all,
>
> I updated from 2.2 to the latest SVN head and I now get a debug
> assert in BranchFolder::RemoveBlocksWithHash: “vector iterators
> incompatible”. I’m using Visual C++ 2005. I think this is the
> culprit code:
>
> MergePotentials.erase(CurMPIter);
> if (CurMPIter==B)
> break;
>
2007 Mar 12
2
Problems Erasing packets
I want to erase packets (rpm -e), but rpm say:
multiple packages
How to erase this packages?
--
--
Devel in Precio http://www.pas-world.com
2012 Mar 15
2
how to hide code of any function
hi
I'm making some program and it need to be hidden.
it's not commercial purpose but it is educational,
so i do want to hide the code of function.
for example,
if i made following function:
a<-function(x){
y<-x^2
print(y)
}
i do not want someone to type "a" and take the code of the function.
is there anyone who can help me?
--
View this message in context:
2008 May 23
3
[LLVMdev] Iterator issue in BranchFolder::RemoveBlocksWithHash?
Hi all,
I updated from 2.2 to the latest SVN head and I now get a debug assert in
BranchFolder::RemoveBlocksWithHash: "vector iterators incompatible". I'm
using Visual C++ 2005. I think this is the culprit code:
MergePotentials.erase(CurMPIter);
if (CurMPIter==B)
break;
The erase clears the _Mycont field (i.e. the iterator's container), while
the ==
2014 Jul 15
2
[LLVMdev] [cfe-dev] Bug in MapVector::erase ?
> On 2014-Jul-15, at 09:38, David Blaikie <dblaikie at gmail.com> wrote:
>
> On Tue, Jul 15, 2014 at 9:31 AM, Duncan P. N. Exon Smith
> <dexonsmith at apple.com> wrote:
>>
>>> On 2014-Jul-15, at 08:29, David Blaikie <dblaikie at gmail.com> wrote:
>>>
>>> Sounds pretty clearly buggy, and against the original design of the
2002 Aug 06
1
polygon() draws non-transparent border, erase.screen draws non-transparent border (PR#1881)
# polygon ignores requests to have its border transparent, look at
par(bg="transparent")
plot(c(0, 3), 0:1)
polygon(c(0, 1, 1, 0), c(0, 0, 1, 1), border=NA, col = 0)
polygon(c(1, 2, 2, 1), c(0, 0, 1, 1), border="transparent", col = 0)
polygon(c(2, 3, 3, 2), c(0, 0, 1, 1), border=0, col = 0)
# a quick fix for erase.screen() is the following
erase.screen <-
function (n =
2010 Apr 08
2
erasing an area of a graph
I have a case where the easiest way to draw a particular symbol would be
to draw something a little bigger, and then use polygon(... , col=0) to
erase the extra stuff. Just how to do this best when par('bg') =
'transparent' is, however, eluding me. I've looked through the archives
and the book R Graphics without quite seeing the light.
Help or pointers to help would be
2003 May 12
3
grid - deleting and erasing grobs?
Hello!
Don't quite understand how can I delete grobs and simultaneously erase
graphic output they produce. I first change grob's "vp" field to null
(grid.edit(gr,vp=NULL)) to erase it and then call rm(gr) (as grobs are
external pointers I'm not shure what this method actually frees
allocated memory).
May be there is simpler method?
Does garbage collector have any effect
2003 May 12
3
grid - deleting and erasing grobs?
Hello!
Don't quite understand how can I delete grobs and simultaneously erase
graphic output they produce. I first change grob's "vp" field to null
(grid.edit(gr,vp=NULL)) to erase it and then call rm(gr) (as grobs are
external pointers I'm not shure what this method actually frees
allocated memory).
May be there is simpler method?
Does garbage collector have any effect
2020 Sep 14
0
erasing a disk
At Mon, 14 Sep 2020 13:14:44 -0700 CentOS mailing list <centos at centos.org> wrote:
>
> Folks
>
> I've encountered situations where I want to reuse a hard-drive. I do
> not want to preserve anything on the drive, and I'm not concerned
> about 'securely erasing' old content. I just want to be able to
> define it as an Physical Volume (in a logical
2020 Sep 14
0
erasing a disk
what if you just dd the first 1GB of the disk and the last GB of the disk
(the last because of RAID signatures of some controllers that write to the
end of the disk)
Look at this article and modify accordingly
https://zedt.eu/tech/linux/using-dd-to-repeatedly-erase-a-specific-range-of-sectors-on-the-hard-disk/
Also, use wipefs -a (Gordon Messmer answered faster than me)
On Mon, Sep 14, 2020 at
2014 Jul 15
2
[LLVMdev] [cfe-dev] Bug in MapVector::erase ?
> On 2014-Jul-15, at 10:05, David Blaikie <dblaikie at gmail.com> wrote:
>
> On Tue, Jul 15, 2014 at 9:43 AM, Duncan P. N. Exon Smith
> <dexonsmith at apple.com> wrote:
>>
>>> On 2014-Jul-15, at 09:38, David Blaikie <dblaikie at gmail.com> wrote:
>>>
>>> On Tue, Jul 15, 2014 at 9:31 AM, Duncan P. N. Exon Smith
>>>