Displaying 20 results from an estimated 2000 matches similar to: "Insall package"
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]
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
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
2011 May 24
1
document
Hello evryone,
Thank you for helping me to choose a CRAN MIRROR. When Icome to choose a
mirror an error message comes:
>Message d'avis :
In open.connection(con, "r") :
connexion ? 'cran.r-project.org' impossible sur le port 80.
Again, I managed to download th package ttda.zip but an error message during
the installation comes to me:
>Erreur dans gzfile(file,
2010 Oct 07
1
packaging my function
Dear all,
I write to you because there seems to be something I'm just not 'getting' in
the way R lets you construct a new package. Google and this mailing list's
archive don't seem to have the answer to my specific case so I signed up and
mailed the question myself.
So I've written this function that I wan't to make a package out of. Here is
what I've done so far:
2012 Feb 19
2
installing the package Rcplex
Dear All,
I have difficulty in installing the package of Rcplex. Its description web is at
http://cran.r-project.org/web/packages/Rcplex/index.html
First, I tried
--------------------------------------------------------------------------------------------------
url <- "http://cran.r-project.org/src/contrib/Rcplex_0.3-0.tar.gz";
download.file(url, basename(url),
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 Sep 11
3
For sending my R package as part of R-project
To Whom It May Concern:
I have an R package and want to put this package be part of R-project and available to anyone who is interested in.
The R package is created for my paper, titled "Acceptance Sampling Plans from Truncated Life Tests Based on the Birnbaum-Saunders Distribution for Percentiles". The paper has been accepted by Communications in Statistics: Simulation and
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
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
2018 May 01
1
possible internal (un)tar bug
>>>>> Martin Maechler <maechler at stat.math.ethz.ch>
>>>>> on Tue, 1 May 2018 16:14:43 +0200 writes:
>>>>> G?bor Cs?rdi <csardi.gabor at gmail.com>
>>>>> on Tue, 1 May 2018 12:05:32 +0000 writes:
>> This is a not too old R-devel on Linux, it already fails
>> in R 3.4.4, and on macOS as well.
2012 Sep 13
3
Cannot install package xlsx
I get following error message:
trying URL
'http://cran.stat.ucla.edu/bin/windows/contrib/2.15/xlsx_0.4.2.zip'
Content type 'application/zip' length 365611 bytes (357 Kb)
opened URL
downloaded 357 Kb
Error in read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) :
cannot open the connection
In addition: Warning messages:
1: In
2012 Feb 01
1
Windows 7 installation of .qz package from SourceForge
Hello, I'm trying to install the package metRology from SourceForge. I save the zip file metRology_0.9-06.tar.gz to my Windows 7 machine, and try to install the package using the RGUI: Packages > Install packages from local zip files > metRology_0.9-06.tar.gz. There's no .zip extension, but R seems to go to work on the installation with a couple warning messages and one error.
2002 Dec 05
1
writing to gzfile: segmentation fault (PR#2347)
Full_Name: Vadim Ogranovich
Version: Version 1.6.0 (2002-10-01)
OS: Red Hat 7.1
Submission from: (NULL) (209.99.241.1)
The following sequence of commands crashes my R session. The first weirdness
happens after the second command that appears not to change the "foo.gz" file,
no error generated.
> con <- gzfile("foo.gz", open="w"); cat("goo\n",
2010 Sep 27
2
store matrix in an arrary
Dear All
I want to store matrix in an array
Suppose s<-array(0,4)
for(i in 1:4)
s[i] <- read_matrix(a,2,2)
But the error - number of items to replace is not a multiple of replacement
length.
Can you suggest me any alternative method for storing a matrix in an array.
Thanks In advance.
Kind Regards
Wesley C Mathew
[[alternative HTML version deleted]]
2015 Nov 06
2
corrupt PACKAGES.gz?
Is it just me, or did a corrupt PACKAGES.gz file get installed in the
bin/windows/contrib/3.2 directory of CRAN mirrors recently? gzfile()
complains about it and Cygwin's gzip cannot decompress it. I tried the
following
repos <- "https://cran.rstudio.com"
v <- "3.2"
pkgs.gz <- paste(sep="/", repos, "bin/windows/contrib", v,
2008 Mar 07
2
Problems installing packages using the inbuilt facility: "Error i n gzfile(file, "r") : unable to open connection"
Hi
I have been trawling the web, FAQs, and R manuals for help on the following issue, but have failed and was wondering if anyone has a solution to the following problem:
After having installed R 2.6.2 for Windows (binary), I tried to install various packages. Every time I try loading a package (any package) via the built-in menu, I run into the following error message.
>
2013 May 08
1
getting corrupted data when using readBin() after seek() on a gzfile connection
Hi,
I'm running into more issues when reading data from a gzfile connection.
If I read the data sequentially with successive calls to readBin(), the
data I get looks ok. But if I call seek() between the successive calls
to readBin(), I get corrupted data.
Here is a (hopefully) reproducible example. See my sessionInfo() at the
end (I'm not on Windows, where, according to the man page,
2005 Dec 09
1
local source packages install from within R session - cross-platform
I realize that others have struggled with this issue...i.e.
http://tolstoy.newcastle.edu.au/~rking/R/help/05/01/9826.html
i am on os.x 10.4 w/ R2.2, and am (perhaps foolishly) also on this quest...
i would like to be able to install downloaded source (tar.gz'd) files from
within an R session, and have it work in a X-platform way..i am often not
connected to the internet and have libraries
2018 May 10
2
readLines() behaves differently for gzfile connection
When I read a .gz file with readLines() in 3.4.3, it returns text (and a
warning). In 3.5.0, it gives a warning, but no text. Is this expected
behavior or a bug?
3.4.3:
> source_file = "1k_annotation.gz"
> readfile_con <- gzfile(source_file, "r")
> readLines(readfile_con, n = 5)
[1] "#chr\tpos\tref\talt\t
<truncated output here>
Warning message:
In