Displaying 20 results from an estimated 20000 matches similar to: "for loop should check the looping index !!"
2007 Jun 04
2
locked environment and inheritance
Hi,
I have a S3 package with namespace called "myS3Pkg". Inside my package I would like to create
a S4 class which extends (adds 2 slots) another S4 class from some other package. The class
should be created in "myPkg" environment (and not global environment).
Using:
setClass("myS4class", representation("otherS4class", mydata = "numeric"),
2006 Jul 24
1
deparse - width.cutoff
I have a question about "deparse" function in R
What is the reason that "deparse" use an argument like "width.cutoff" ?
Why the maximum cutoff is 500?
I was manipulating an R formula and used "deparse". Since the length of user's formula was greater then 500, my code didnt work.
thanks
Johan
johan Faux <johanfaux@yahoo.com> wrote: I have a
2007 Mar 20
2
run a script during R CMD build
I would like R CMD build to run some R code which does some stuff and save the result as a file in /inst/docs folder.
Is there any way of doing this.
Thank you.
Johan
____________________________________________________________________________________
We won't tell. Get more on shows you hate to love
[[alternative HTML version deleted]]
2007 Jan 30
3
silent loading of packages
I would like to turn off all the messages during
library(aPackage) or
require(aPackage)
I tried different commands: invisible, capture.output, sink but none of them is working.
For example, loading VGAM, gives a lot of unnecessary messages:
> library(VGAM)
Attaching package: 'VGAM'
The following object(s) are masked from package:splines :
bs
The
2005 Sep 15
1
what's the best way to save global variables?
I am writing a kind of long program in R and I have some variables which I want to be globals. Where should I save them? I was thinking to create a function wich initialize all the global variables and then whenever I need them, I call this function.
What if I create a file glob.R with
var1<-val1
var2<-val2
.....
etc.
How do I include this file in my other files/function . Is there in
2011 May 30
1
Fwd: Re: Fwd: cgroup OOM killer loop causes system to lockup (possible fix included) - now pinpointed to openssh-server
Just did some testing..
root at vicky:~# cat /var/log/auth.log | grep "Set"
May 30 21:41:05 vicky sshd[1568]: Set /proc/self/oom_adj from -17 to -17
May 30 21:41:07 vicky sshd[1574]: Set /proc/self/oom_adj to -17
root at vicky:~# ps faux | grep 1574
root 1574 0.0 0.0 70488 3404 ? Ss 21:41 0:00 \_
sshd: root at pts/1
root at vicky:~# ps faux | grep
2006 Oct 12
1
unevaluated expression
Hello,
x<- "something(a+b) + c"
is there any function F such that
F(x) gives me the unevaluated value of x, i.e. something(a+b)+c
I would appreciate any help on this
thanks
---------------------------------
[[alternative HTML version deleted]]
2007 May 28
1
do not eval vignettes during R CMD build
Hi,
I was not able to find a way such that R CMD build run Sweave with eval=FALSE. I have a package where I want the R code in the vignettes to run only during R CMD check but not on R CMD build. Is there any way to achieve this ?
thank you.
____________________________________________________________________________________Got a little couch potato?
Check out fun summer activities
2015 Jan 13
2
Red Hat Developer Toolset 3 for CentOS6?
Hi all,
I could find the 1.1 and 2 repos gently provided by Tru Huynh, but quid
of a v3 of the toolset?
I've just found that Qt 5.4 requires what's shipped in this v3 (gcc
4.9.1, binutils 2.24) and would prefer installing those from a repo. If
not, the sources will rule.
Any hint?
Regards,
--
wwp
-------------- next part --------------
A non-text attachment was scrubbed...
Name:
2008 Dec 24
3
Extract values based on indexes without looping?
Dear R-Helpers:
I am a entry level user of R.
Have the following question. Many thanks in advance.
# value.vec stores values
value.vec <- c('a','b','c')
# which.vec stores the locations/indexs of values in value.vec.
which.vec <- c(3, 2, 2, 1)
# How can I obtain the following vector based on the value.vec and which.vec
mentioned above
# vector.I.want <-
2001 May 15
2
WTLIB99 with wine-010510 tar ball broken again
Hi:
Remember that I somewhat enthusiastically wrote that a VB3 program
called "Watchtower Library 1999" now works with wine-010508?
Well, [un]fortunately it is broken with again with the
wine-010510 tar ball. (Thank you, Kin Lau for pointing this out to
me by e-mail.)
Description:
The main program window of WTLIB99 is just a small bar with buttons
and a menu on top of the buttons.
2016 Sep 28
2
GlobalVariable Recursive loop
Hi,
I have implemented a recursive loop to go through all the user of a global variable but I have one issue left.
Depending the code, the global variable is using itself:
@sSelectedAccount = internal constant %struct.KVObserver { %0* bitcast (%struct.__NSConstantString_tag* @_unnamed_cfstring_.744 to %0*), i8* bitcast (%struct.KVObserver* @sSelectedAccount to i8*), i32 3 }, align 4
With the
2019 Oct 31
3
llvm-config --cxxflags should report C++ language standard version
On Thu, Oct 31, 2019 at 3:46 AM Saleem Abdulrasool <compnerd at compnerd.org>
wrote:
> On Wed, Oct 30, 2019 at 4:17 PM Johan Engelen <jbc.engelen at gmail.com>
> wrote:
>
>> Hi all,
>> Since 2724d9e12960cc1d93eeabbfc9aa1bffffa041cc, llvm-config -cxxflags
>> no longer reports the C++ language standard version (e.g. "-std=c++14")
>> used to
2009 Aug 17
2
Same number for each caller, but should reach different zap-channels, how?
Easy questions for you guys probably,
I'd like to serve 10 parallell incoming calls at the same time, so I bought a lot of Zap-channel cards for analog phone lines.
But I want all users to be able to use the same phone number to dial in, but I want the number to be switched to an avaiable zap-channel.
Do I need some kind of switch for this?
It sounds reasonable, but I'm not sure. :)
Am
2009 Oct 20
2
Problem using the source-function within R-functions
Dear R community,
You may have the solution to how to construct a function using the function
"source()" to build the function; i.e.
myfunction <- function(...){
source('file1.r')
source('file2.r')
}
After compiling and installing the "myfunction" in R, then calling the
"myfunction" gives an error because the content of 'file1.r' and
2007 Oct 09
3
How to create something between a script and a package
(Before starting: I'm a total R noob so please bear with me in case of
any error or faux pas).
Hi,
For a small project, I'm writing a few simple R functions and calling
them from python (using RPy). I'm sharing the code with a couple of
friends, using a subversion server.
Now, I want something like a package, to be able to share functions
between ourselves. Having read a few package
2019 Oct 30
2
llvm-config --cxxflags should report C++ language standard version
Hi all,
Since 2724d9e12960cc1d93eeabbfc9aa1bffffa041cc, llvm-config -cxxflags no
longer reports the C++ language standard version (e.g. "-std=c++14") used
to compile LLVM. This may break builds of projects that build with the same
flags as LLVM, e.g. the LDC compiler.
Quoting from llvm/tools/llvm-config/CMakeLists.txt:
```
# The language standard potentially affects the ABI/API of
2015 Jan 14
2
Red Hat Developer Toolset 3 for CentOS6?
Unfortunately, this is only for RHEL/CentOS 7, but it can also be found at:
https://www.softwarecollections.org/en/scls/rhscl/devtoolset-3/
On Tue, Jan 13, 2015 at 1:39 AM, wwp <subscript at free.fr> wrote:
>
> On Tue, 13 Jan 2015 09:18:27 +0100 wwp <subscript at free.fr> wrote:
>
> > I could find the 1.1 and 2 repos gently provided by Tru Huynh, but quid
> > of
2005 Sep 18
1
replayPlot in loop
Hi,
In order to make a movie-like animation of different graphs
with replayPlot inside a fast loop:
is there a way to avoid the appearance of some
white stripes/streaks between the different calls to replayPlot?
thanks in advance
Johan VH
2008 Apr 03
5
how to check the version of centos
Dear All,
I had a server running centos 5 and have recently upgraded with centos 5.1
dvd
how do i check the version of my new installated OS
thnks and regards
simon
--
Network ADMIN:
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.