similar to: zip.file.extract

Displaying 20 results from an estimated 900 matches similar to: "zip.file.extract"

2008 Jul 10
1
S4 class questions
Hi, I'd like to create a S4 class contains only one type of data. However, the number of slots varies. For example, I want to create a class "a", each slots in "a" contains numeric value only. > setClass("a", contains = "numeric") If I want to create an object "a" with only one slot containing c(3,4), I will write >
2017 Aug 25
1
splitting a dataframe in R based on multiple gene names in a specific column
If row numbers can be dispensed with, then tidyr makes this easy with the unnest function: ##### library(dplyr) #> #> Attaching package: 'dplyr' #> The following objects are masked from 'package:stats': #> #> filter, lag #> The following objects are masked from 'package:base': #> #> intersect, setdiff, setequal, union library(purrr)
2017 Aug 23
0
splitting a dataframe in R based on multiple gene names in a specific column
Hi Bogdan, Messy, and very specific to your problem: df.sample.gene<-read.table( text="Chr Start End Ref Alt Func.refGene Gene.refGene 284 chr2 16080996 16080996 C T ncRNA_exonic GACAT3 448 chr2 113979920 113979920 C T ncRNA_exonic LINC01191,LOC100499194 465 chr2 131279347 131279347 C G ncRNA_exonic LOC440910 525 chr2 223777758 223777758 T A
2017 Aug 22
2
splitting a dataframe in R based on multiple gene names in a specific column
I would appreciate please a suggestion on how to do the following : i'm working with a dataframe in R that contains in a specific column multiple gene names, eg : > df.sample.gene[15:20,2:8] Chr Start End Ref Alt Func.refGene Gene.refGene284 chr2 16080996 16080996 C T ncRNA_exonic GACAT3448 chr2 113979920 113979920 C T ncRNA_exonic LINC01191,LOC100499194465
2006 Dec 20
2
\Sexpr in MikTex
Greetings, \Sexpr{} has worked on MikTex with earlier versions of R, I can not seem to get it to work with R-2.4.0. I run Sweave with MikTex using the following statement in Run under Accessories. latex -include-directory="C:\Program Files\R\R-2.4.0\share\texmf" "C:\Documents and Settings\Suzette\Desktop\MyFile\MyProgram.tex" Any advice would be much appreciated, Suzette
2008 Apr 08
2
Error: expected the collection operator c error pos 98 (error on line 1)
Greetings, I implemented BRugs to run the EWOC model with a cohort size N=1. I output the simulation data using bugsdata(data), where data is the following list. > data $Dose [1] 140 $Y [1] 0 bugsdata(data) puts out the file data.txt as follows. list(Dose=1.40000E+02, Y=0.00000E+00) after I type the following line modelData("data.txt")
2010 Aug 24
1
how to convert a unix R package to windows installable zip file?
Hi, I downloaded a package with .gz extension, which presumably works for Unix, when I installed it directly on windows, it has the error msg: Error in gzfile(file, "r") : cannot open the connection In addition: Warning messages: 1: In unzip(zipname, exdir = dest) : error 1 in extracting from zip file 2: In gzfile(file, "r") : cannot open compressed file
2008 Jun 12
1
adding horizontal lines to a trellis plot
I would like to add two horizontal lines representing acceptible drug levels to a trellis plot. I tried using abline and I get an error that "plot.new has not been called." See below. xyplot(FK~WEEK|Event1/MRN, data=FKdat.o1) abline(h=5) abline(h=10) Error in int_abline(a = a, b = b, h = h, v = v, untf = untf, ...) : plot.new has not been called yet Any help that can be provided
2007 Mar 30
1
zip.file.extract on Windows
Hello R-help! I just wanted to share a tip might help others of us stuck on R. The documentation for zip.file.extract is rather scant, and a few examples would. When using zip.file.extract, the first argument should be the full (or relative) path and the second the name of the zip file, it seems. While this is counterintuitive to me, that it should get the part from the first argument,
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]
2002 Feb 04
1
read zipped files
I received several answer to my querry re reading zipped files, R.Gentleman, Liaw Andy, BD Ripley,J Holtman, A.Matt, and others, sorry if I missed your names. a- use pipe to run external unzip to a file and read from there b- use gzfile() to open directly a gzipped file c- use zip.file.extract() solution b works like a charm, unfortunately it open gzipped files and not zipped files, would it be
2008 Mar 03
7
help for the first poster- a simple question
Hi, there, I cannot get accurate value for calculation. for example: ld<-sqrt(1*0.05*0.95*0.05*0.95) 0.05*0.95-ld=-6.938894e-18 0.05*0.95-ld==0 is False. I met this problem in my program, how can I handle it. Thanks. xj.
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
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
2009 Apr 26
1
Install packages not working in latest version?
Seems that the latest version R version 2.9.0 (2009-04-17) has a glitch and will not install packages. Issue with unzipping? Works fine with R version 2.8.1 (2008-12-22) > install.packages("ff") --- Please select a CRAN mirror for use in this session --- trying URL 'http://cran.fhcrc.org/bin/windows/contrib/2.9/ff_2.0.1.zip' Content type 'application/zip' length
2006 Aug 17
1
unlink disables help?
I was hoping that someone could try to reproduce an error that I am getting. The R Site Search keeps timing out on me, so apologies of this has already come up. I'm using > R.version _ platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32
2005 May 09
1
Cannot get help after reinstalling
I installed the latest version of R after unistalling the previous version. Now I am having trouble getting help. For example, > ?mean Error in int.unzip(file.path(path, zipname), topic, tmpd) : 'destination' does not exist What did I do wrong? (OS is Windows XP Pro) Thanks. FS
2004 Mar 06
1
Installing packages
> local({a <- CRAN.packages() + install.packages(select.list(a[,1],,TRUE), .libPaths()[1], available=a)}) trying URL `http://cran.r-project.org/bin/windows/contrib/1.8/PACKAGES' Content type `text/plain; charset=iso-8859-1' length 16079 bytes opened URL downloaded 15Kb trying URL `http://cran.r-project.org/bin/windows/contrib/1.8/fdim_1.0-2.zip' Content type
2009 May 27
1
no internal function "int.unzip" in R 2.9.0 for Windows
> library(R2HTML) Loading required package: R2HTML Error in .Internal(int.unzip(zipname, NULL, dest)) : no internal function "int.unzip" Error : .onLoad failed in 'loadNamespace' for 'R2HTML' Error: package 'R2HTML' could not be loaded Version: R 2.9.0 for Windows ****Internet Email Confidentiality Footer**** Privileged/Confidential
2010 Jun 02
1
Problems installing data package on Windows
Dear all, I'm having difficulties installing a package on Windows. It has only R data files, no code. I've built it on a Linux platform and installed it there without problems. When I tried installing the .tar.gz on Windows, via install.packages, I got the following errors: Error in gzfile(file, "r") : unable to open connection In addition: Warning message: 1: In