Displaying 20 results from an estimated 1200 matches similar to: "How unzip all files?"
2016 Oct 07
1
unzip does not like a / at the end of path.
dir("inst/extdata/")
dir("./inst/extdata/")
dir("inst/extdata")
works all fine, listing the directory content.
but:
unzip(tmp[1],exdir = "inst/extdata/")
Error in unzip(tmp[1], exdir = "inst/extdata/") : 'exdir' does not exist
unzip(tmp[1],exdir = "./inst/extdata/")
Error in unzip(tmp[1], exdir = "inst/extdata/") :
2009 Apr 07
1
typo in R-ints.texi's description of P_ macro
I think there are some missing words in "R Internals"'s description of
the P_ macro.
It currently has "A macro as a wrapper for ngettext", which I think
ought to be
something like "The macro P_ may be used as a wrapper for ngettext".
The following patch also makes the 2 alternate definitions of P_ have
the same argument names,
StringS and StringP.  Expanding the
2009 Oct 17
2
Recommendation on a probability textbook (conditional probability)
I need to refresh my memory on Probability Theory, especially on
conditional probability. In particular, I want to solve the following
two problems. Can somebody point me some good books on Probability
Theory? Thank you!
1. Z=X+Y, where X and Y are independent random variables and their
distributions are known.
Now, I want to compute E(X | Z = z).
2.Suppose that I have $I \times J$ random number
2009 Sep 10
2
Insall package
Dear Sir
Subject: - *Install " rscproxy_1.3-1.tar.gz "*
 I am working in Windows system.  I was try  to install *rscproxy* package
in  two way.
 *1.* install.packages ("rscproxy_1.3-1.tar.gz"),  It shows the Warning:
unable to access index for repository
http://cran.pt.r-project.org/bin/windows/contrib/2.9
 *2. * install.packages("C:/Program
2012 Oct 24
1
[PATCH] NEW API: add a new api restorecon
Add a new api restorecon to restore file(s) default
SELinux security contexts.
Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com>
---
 daemon/selinux.c          |   69 +
 generator/actions.ml      |   25 +
 gobject/Makefile.inc      |    6 +-
 po/POTFILES               |    2 +
 src/MAX_PROC_NR           |    2 +-
 21 files changed, 13282 insertions(+), 28030 deletions(-)
diff --git
2013 Oct 08
2
problems with package COZIGAM
Dear All I am having problems to install the package COZIGAM.
Despite I have the update version of R (3.0.2) when I try to load the package I cannot find it in the list of available packages.
If I try to install it from a local zip file I do get this error message:
Error in read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) :
  cannot open the
2013 Oct 19
1
XML package not working
I know I  cannot be the only one who is not able to install the XML package from CRAN (zip or tar file)  Many packages depend on this XML package.  Can someone help me either access the source for a good binary?  I have received no assistance from the author/developer of the package.
Steven
Steven D. Randolph
Associate Consultant
Enterprise Capabilities - Business Intelligence & Analytics
Eli
2011 Sep 01
1
rJava Installation Problems: 'cannot open compressed file 'rJava/DESCRIPTION', probable reason 'No such file or directory''
Good Morning,
I'm trying to install the rJava package on a local (work) machine and having
some trouble. The following occurred in an RGui session.
> sessionInfo()
R version 2.13.0 (2011-04-13)
Platform: i386-pc-mingw32/i386 (32-bit)
locale:
[1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United
States.1252
[3] LC_MONETARY=English_United States.1252
LC_NUMERIC=C
[5]
1999 Jan 07
2
math symbols in plot text: 2nd try
Ok, I think my first mail didn't get through so I'll try this again.
Please disregard.
I'm trying to use subscripts on plot text.
The help files say this can be done and give several example.
I'm trying to do: P_{2} (for example) and so I tried:
text(5,2,expression(P_{2}))
which doesn't work.  There are no subscript examples. I recall
someone telling me that latex-like
2010 Dec 17
2
installing package from source with Linux
Dear list,
this may not be related to R but rather to my OS, but I do not 
understand the issue of compiling R packages deeply enough to figure out 
the exact cause of the problem.
I am trying to install a R package from source as it is not yet 
available under Cran (Rssa, downloaded here: https://github.com/asl/rssa).
Running
sudo R CMD INSTALL asl-rssa-6f458e4.tar.gz
from the console
2017 Jan 11
2
bug with strptime, %OS, and "."
On Tue, Jan 10, 2017 at 08:13:21PM -0600, Dirk Eddelbuettel wrote:
> 
> On 10 January 2017 at 17:48, frederik at ofb.net wrote:
> | Hi R Devel,
> | 
> | I just ran into a corner case with 'strptime'. Recall that the "%OS"
> | conversion accepts fractional seconds:
> | 
> | > strptime("17_35_14.01234.mp3","%H_%M_%OS.mp3")$sec
> |
2006 Sep 14
1
Rv generation
Hi,
 Can Someone inform me how to generate RV's using the below CDF, by inverse 
technique.
Thanks for your help and time.
My CDF is as follows
\[
F(x)=0 \ \text{if} \  x < 0\]\[
F(x)=\{\frac{x-x_i}{x_{i+1}-x_{i}}*(p_{i+1}-p_{i})\}+p_{i}\
\forall \ x_{i}\leq x < x_{i+1} \]
\[ F(x)=1 \ \text{if} \  x > x_{i+1}
\]
Regards
Murthy
2013 Mar 11
2
[LLVMdev] How to unroll reduction loop with caching accumulator on register?
Dear all,
Attached notunrolled.ll is a module containing reduction kernel. What I'm
trying to do is to unroll it in such way, that partial reduction on
unrolled iterations would be performed on register, and then stored to
memory only once. Currently llvm's unroller together with all standard
optimizations produce code, which stores value to memory after every
unrolled iteration, which is
2013 Dec 21
2
error con install_github() del paquete devtools
Gracias Oscar.
Funciona perfectamente.
Ya investigaré más adelante porque no funciona install_github
Saludos y feliza navidad..
El 20/12/13 23:05, Oscar Perpiñan escribió:
> tmp <- paste0(tempdir(), '/likert.zip')
> download.file('https://github.com/jbryer/likert/archive/master.zip',
>                destfile=tmp, method='wget')
> unzip(tmp,
2010 Nov 22
3
Splitting 3D matrix from for loop to generate/save 2D matrices
Hi!
I have a matrix called M with dimension (586,100,100). I would like to split
and save this into 586 matrices with dimension 100 by 100.
I have tried the following for loops but couldn't get it work..
l<-dim(M)[1]
for (i in (1:l)){
save(M[i,,],file = "M_[i].img")
}
Can somebody help me with this? Thanks!
Hana Lee
	[[alternative HTML version deleted]]
2009 Sep 22
3
how to convert character string with only month and year into date
Dear R helpers.
I am new to plotting time data using R.
wonder how to convert character time info into date in R.
I searched over the web but did not find answer.
the input character string is something like 03_1993 or 03-1993, so the
precision is at month level.  I tried the following but failed.
#R code below.
 strptime(c("03_1993"),"%m_%Y")
2017 Jan 11
4
bug with strptime, %OS, and "."
Hi R Devel,
I just ran into a corner case with 'strptime'. Recall that the "%OS"
conversion accepts fractional seconds:
> strptime("17_35_14.01234.mp3","%H_%M_%OS.mp3")$sec
[1] 14.01234
Unfortunately for my application it seems to be "greedy", in that it
tries to parse a decimal point which might belong to the rest of the
format:
>
2014 Oct 13
5
[LLVMdev] RFC: variable names
On Mon, Oct 13, 2014 at 4:25 PM, Xinliang David Li <xinliangli at gmail.com>
wrote:
> On Mon, Oct 13, 2014 at 4:00 PM, Chris Lattner <clattner at apple.com> wrote:
>
>> On Oct 13, 2014, at 3:44 PM, Chandler Carruth <chandlerc at google.com>
>> wrote:
>> > I actually have a particular allergy to member variable names and
>> function names having
2006 May 31
7
Getting at MakeOpenFile
Along the same lines as the last question - how can I get to functions
like MakeOpenFile via Win32API?  It doesn''t seem to be exported by
msvcrt-ruby18.
Possible?  Or am I out of luck?
Dan
This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly 
prohibited and may be unlawful.  If you have
2013 Mar 11
0
[LLVMdev] How to unroll reduction loop with caching accumulator on register?
I tried to manually assign each of 3 arrays a unique TBAA node. But it does
not seem to help: alias analysis still considers arrays as may-alias, which
most likely prevents the desired optimization. Below is the sample code
with TBAA metadata inserted. Could you please suggest what might be wrong
with it?
Many thanks,
- D.
marcusmae at M17xR4:~/forge/llvm$ opt -time-passes -enable-tbaa -tbaa