Displaying 20 results from an estimated 8000 matches similar to: "need help to retrieve the previous commands by using ↑ and ↓ keys."
2010 Oct 27
1
multiple text or string searches
Dear all,
how can i search multiple text or string patterns in a text file.
i have written the following script but it is for only single searches at a
time.
how can i get multiple searches e.g
"xyz","abc","pqr".....at a time and can save the results to an out file.
script::
x<- "abc"
z<-NULL;for (i in 1:1235){{if
2011 Oct 05
1
variance ratio test
Hello,
I am looking for a code in R for the variance ratio test statistic (the
Lo and Mackinlay version or any other versions).
Does anybody have such a code they can share or know a library in which
I can find this function?
Basically I have a number of time series which I need to check for
persistence. One other test I can use is the runs test in the tseries
package.
Any help will be greatly
2011 Mar 20
1
GSoC 2011 - Improve Existing Bindings
Dear Olly,
I am very excited to contribute in open source community through the
platform of Google Summer of Code 2011. I have visited the ideas of ?Xapian?
at http://trac.xapian.org/wiki/GSoCProjectIdeas for GSoC 2011. I am
interested in working on ?Improve Existing Bindings?. The reason for my
interest is that I have previously worked on .NET related projects both in
VB and C#. I also have
2010 Aug 04
3
retrieve name of an object?
Dear all
Is there an easier way to retrieve the name of an object? For example,
> tmp <- 1:10
> as.character(quote(tmp))
[1] "tmp"
> as.character(quote(mtcars$cyl))
[1] "$" "mtcars" "cyl"
> as.character(quote(mtcars$cyl))[3]
[1] "cyl"
The last call more than anything seems a hack. Is there a better way?
Thank you
Liviu
2007 Feb 13
4
Generating MVN Data
Dear All
I want to generate multivariate normal data in R for a given covariance
matrix, i.e. my generated data must have the given covariance matrix. I
know the rmvnorm command is to be used but may be I am failing to
properly assign the covariance matrix.
Any help will be greatly appreciated
thanks.
M. R. Ahmad
2009 Dec 21
2
checking Rd cross-references ... WARNING
Dear all
I am getting this strange error when checking my package. Would you
have an idea what causes it?
Thank you
Liviu
* checking Rd cross-references ... WARNING
Error in .find.package(package, lib.loc) :
there is no package called 'KernSmooth'
Calls: <Anonymous> -> lapply -> FUN -> .find.package
Execution halted
> sessionInfo ()
R version 2.10.0 (2009-10-26)
2007 Jun 20
2
How to activate the R commands in SciViews
Please help, I have SciViews(svGUI) and Rcmdr but when the SciViews Console opens the R commander menu don't work. Any ideas anybody?
---------------------------------
8:00? 8:25? 8:40? Find a flick in no time
[[alternative HTML version deleted]]
2009 Dec 07
1
options(width=100) ignored on start-up: bug or feature?
Dear developers
I've tried this a couple of days ago on r-help, unfortunately with no
feedback. Could you please take a look and confirm whether it's a bug,
feature, or bad eye-sight when reading Help:
Is it normal that R ignores options("width"=100) at start-up? Although
liviu at debian-liv:~$ cat /usr/lib/R/etc/Rprofile.site | grep width
options(width = 100)
, R will
2005 Jan 19
4
Writing rules direct to Kernel
Hi,
I''m interested to write rules direct in Kernel space memory and not to
execute the tc command. Have anyone done this before ? Any ideas ?
Sources ?
Thank you,
Liviu
--
This message was scanned for spam and viruses by BitDefender.
For more information please visit http://linux.bitdefender.com/
_______________________________________________
LARTC mailing list /
2009 Nov 09
1
trouble loading JGR on Debian
Dear developers
I am unable to (properly) load JGR on Debian testing. The JGR window
will pop out and R will start up, but it will not perform any of the
JGR specific library() calls (rJava, JavaGD, etc.) and will stuck at
100% CPU while the prompt will be non-responsive. The hack that helped
previously in such cases, accessing Help > About [1], works no more.
All R packages are installed via
2009 Nov 15
1
JGR GUI for R-2.10.0 "Help" "Print"
I have updated R 2.9.1 to 2.10.0. and JGR GUI 1.7. I am running Windows XP.
I can't seem to get the JGR "Print" or "Help" functions to work. The system
locks and requires me to "stop the process".
In the past I have preferred the opreation and "feel" of JGR GUI. I realize
that this help forum is for R; but, I am hoping that some other R-user is
2009 Jun 30
4
conditional coloring of output text in console or in GUI
suppose I have some logical vector
x <- as.logical(c(0,0,0,1,0,0,1,1,0))
x
How would I make the words TRUE appear on the screen in a different
color from the words FALSE?
Thanks.
--Chris
--
Christopher W. Ryan, MD
SUNY Upstate Medical University Clinical Campus at Binghamton
40 Arch Street, Johnson City, NY 13790
cryanatbinghamtondotedu
"If you want to build a ship, don't drum
2009 May 15
4
replace "%" with "\%"
Dear all,
I'm trying to gsub() "%" with "\%" with no obvious success.
> temp1 <- c("mean", "sd", "0%", "25%", "50%", "75%", "100%")
> temp1
[1] "mean" "sd" "0%" "25%" "50%" "75%" "100%"
> gsub("%",
2007 Oct 17
3
Trouble with R CMD INSTALL
Why does R CMD INSTALL work for some packages (e.g., lme4) but not
others (e.g., nlme)?
Thanks,
Gang
2013 Apr 15
6
how to transform string to "Camel Case"?
Dear all,
Given the following vector:
> (z <- c('R project', 'hello world', 'something Else'))
[1] "R project" "hello world" "something Else"
I know how to obtain all capitals or all lower case letters:
> tolower(z)
[1] "r project" "hello world" "something else"
> toupper(z)
[1] "R
2008 Mar 16
3
rgl build warnings and loading error on Linux
Dear useRs,
I have several problems in using rgl-0.77 (and recent earlier
versions) on Gentoo Linux with a custom-built v. 2.6.22 kernel.
Currently I use R-2.6.1.
When I build rgl,
# R CMD INSTALL "/home/liviu/inst/dwn/R/rgl_0.77.tar.gz"
or
install.packages("rgl", dependencies=TRUE, method ="wget"),
I notice the following warning messages:
i686-pc-linux-gnu-g++
2006 May 09
2
retrieve previous id
Hi,
I have this piece of code,
if @quote.save
flash[:notice] = ''Quote was successfully created.''
#return id of preiously inserted quote
#enter this id in the correct related project field
redirect_to :action => ''list''
end
How can I return the id of the saved data?
--
Posted via http://www.ruby-forum.com/.
2009 Aug 20
4
expanding 1:12 months to Jan:Dec
Dear R users
I would like to do some spreadsheet style expansion of dates. For
example, I would need to obtain a vector of months. I approached in an
obviously wrong way:
> paste(01:12)
[1] "1" "2" "3" "4" "5" "6" "7" "8" "9" "10" "11" "12"
> as.Date(paste(01:12),
2009 Aug 04
2
100% CPU when running (cran2deb) JGR on Debian
Dear all,
I installed the amd64 cran2deb [1] JGR binaries on a fresh Debian
testing, and JGR is missbehaving. When JGR starts up, one core of the
CPU goes to 100% and stays there, even though I am keeping it idle and
not performing any operation.
I tried JGR with both sun-java6-jdk and openjdk-6-jdk,
debian-liv:/home/liviu# update-alternatives --config java
There are 4 choices for the alternative
2009 Dec 13
1
debug an error that incapacitates R?
Dear all
How should I attempt debugging this error?
> sosInit()
Error: invalid connection
When this happens R refuses to run anything:
> 2+2
Error: invalid connection
> sessionInfo ()
Error in stdout() : invalid connection
Debugging it seems impossible.
> options(error=recover)
> sosInit()
Error: invalid connection
Error during wrapup: invalid connection
The error also