Displaying 20 results from an estimated 2000 matches similar to: "installing package from source with Linux"
2011 Apr 01
1
"R CMD check" accepts but "R CMD INSTALL" rejects a tar ball.
I have somehow managed to made a source tar ball which "R CMD check" accepts but "R CMD INSTALL" rejects with:
------------------
Warning in untar2(tarfile, files, list, exdir) :
checksum error for entry 'pax_global_header'
Error in untar2(tarfile, files, list, exdir) : unsupported entry type ?g?
------------------
This happens with both R 2.12.2 (x86 linux) and R
2018 May 01
2
possible internal (un)tar bug
This is a not too old R-devel on Linux, it already fails in R 3.4.4, and on
macOS as well.
The tar file seems valid, external tar can untar it, so maybe an untar()
bug.
setwd(tempdir())
dir.create("pkg")
cat("foobar\n", file = file.path("pkg", "NAMESPACE"))
cat("this: that\n", file = file.path("pkg", "DESCRIPTION"))
2013 May 03
1
untar() error
Dear List,
I have a list of 600+ *.gz files that I would like to extract and read the
geotiffs contained within them. I tried using the untar() function to
simplify this task but I am stumped by an error. I've combed the Internet
for a solution without luck. The details are below, and any help in solving
this matter is appreciated.
> files = list.files(path = "J:/GIMMS/NDVI",
2010 Mar 09
1
find out commands in package
Dears,
I am trying to implement some R package which is still under construction and has not yet been submitted to CRAN (RSSA, http://anton.korobeynikov.info/software). Documentation is yet very poor (or i just did not find it), so I am wondering whether there is any way to retrieve a list of commands available in this package from within R? And to find out whether the package is successfully
2011 Feb 25
1
Error: address 0x6951c20, cause 'memory not mapped'
Dear R list,
I get a strange error in R:
*** caught segfault ***
address 0x6951c20, cause 'memory not mapped'
Traceback:
1: .C("spline_eval", z$method, nu = as.integer(n), x = as.double(xout), y = double(n), z$n, z$x, z$y, z$b, z$c, z$d, PACKAGE = "stats")
2: spline(gam.data$x[, col.data], gam.smooths.all$fit[, m], xout = gam.results.global[m, ,
2010 May 19
2
Error in untar2(tarfile, files, list, exdir) : unsupported entry type ‘x’
Hi R gurus,
I'm getting the following error when trying to build and install an R package:
Error in untar2(tarfile, files, list, exdir) : unsupported entry type ?x?
I build the package like so:
R --no-init-file CMD build mypackage
Then try to install it:
sudo R --no-init-file CMD INSTALL mypackage.tar.gz
...which dies with the above error. I can extract the archive fine
with tar -zxf, so
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.
2009 Jul 03
1
fix() and edit() not working with Rcmdr and german LANG-variable
Dear Mailinglist,
I just set up an R 2.9.1 environment with Rcmdr 1.4-6 on Ubuntu Jaunty
9.04. As I'm from Germany my $LANG variable is set to "de_DE.UTF-8".
Now, when I open up Rcmdr and try to edit a new datamatrix there is no
edit window appearing:
Datenmatrix <- edit(as.data.frame(NULL))
ERROR: invalid device
In addition, there are plenty of warning messages in the
2013 Aug 25
0
"block incomplete" error when compiling R
Dear list,
I am trying to compile R on a 64-bit Ubuntu 13.04 machine and get the
following error:
make[2]: Entering directory
`/home/kaiyin/opt/R-2.15.0/src/library/Recommended'
begin installing recommended package MASS
Error in untar2(tarfile, files, list, exdir) : incomplete block on file
make[2]: *** [MASS.ts] Error 1
make[2]: Leaving directory
2008 Mar 27
1
snow, stopping cluster
Hello,
is there any function in the package snow to check for a really running
cluster?
The function checkCluster only checks the variable cl. And the variable
is still available after stopping the cluster!
( a simple solution would be deleting the cluster variable cl in the
function stopCluster)
> library(snow)
> cl <- makeCluster(5)
5 slaves are spawned successfully. 0
2007 Mar 31
1
add confidence intervales to xyplot for ANCOVA and extracting info
Hi,
I would like to add confidence intervales to an ANCOVA with 2
covariates when using xyplot.
What would be a good way of accomplishing this?
--8<---------------cut here---------------start------------->8---
rm(list = ls(all = TRUE))
rm(list = c(ls()))
library(lattice)
## 1. generate data
random <- rnorm(200)
y <- abs(random)
x1.cont <- abs(random)
x2.fac <-
2011 Mar 01
2
can't open Cairo device
Dear list,
in R under wheezy the following error occurs:
> library(cairoDevice)
> Cairo()
Error in Cairo() : Graphics API version mismatch
It seems to be Debian-specific, as I tried the same under OpenSUSE 11.3
and it worked.
I tried installing cairoDevice via `apt-get install r-cran-cairodevice'
and with `install.packages("cairoDevice")' in R (without any
2008 Feb 27
1
d_fontdb.d, g_her_glyph.d
Dear Developers,
I'm updating my R installation via svn (currently: Revision 44626). For
some time now (sorry don't know the exact revision number) make for R
devel yields the following error
make[4]: *** Keine Regel vorhanden, um das Target
?../../../src/include/R_ext/GraphicsBase.h?,
ben?tigt von ?g_fontdb.o?, zu erstellen. Schluss.
(translation: no rule to make target ...
2008 May 23
1
Evaluation "conflict" in combination of replicate() and rexp()as variable inside a function
Dear userRs,
"playing around" with combinations of replicate() and random number
generating functions inside a self-defined "wrapper" function I encounterd
a puzzling behaviour.
The following are intentionally simple (and rather nonsense-) examples to
isolate the relevant aspects. Please, note the seemingly "inconsistent"
behaviour for the second call of
2012 Jan 11
2
lubridate does not install on FreeBSD any more
With newest R devel
#sessionInfo()
R Under development (unstable) (2012-01-10 r58085)
Platform: amd64-portbld-freebsd10.0 (64-bit)
locale:
[1]
de_DE.ISO8859-15/de_DE.ISO8859-15/de_DE.ISO8859-15/C/de_DE.ISO8859-15/de_DE.ISO8859-15
attached base packages:
[1] stats graphics grDevices utils datasets methods base
I get the following error when I try to build and install lubridate from
2007 Nov 01
1
Matrix package problem: dsyMatrix %*% vector gives error
Dear UseRs,
here is an example scenario presenting my problem:
Multiplying a dsyMatrix with a numeric vector results in an error
(unfortunately in German due to my locale):
> (M1 <- Matrix( c( 1, 2, 2, 2, 1, 2, 2, 2, 1), nrow = 3))
3 x 3 Matrix of class "dsyMatrix"
[,1] [,2] [,3]
[1,] 1 2 2
[2,] 2 1 2
[3,] 2 2 1
> M1 %*% 1:3
Fehler in x %*%
2010 Aug 21
2
Rails 3: I18n.locale not set to I18n.default_locale in production
I have an application that uses I18n, but in the first deployment, I
don''t want to enable different languages per user/request because
there are very few users who all speak german).
Therefore I have config.i18n.default_locale = :de in config/
application.rb.
I have no code whatsoever to set/change I18n.locale in my app.
In development environment, it works as expected: the
2010 Nov 12
1
unexpected behaviour of rbind with dataframe containing POSIXct
Hello list,
here is what I stumbled upon:
1> test <- data.frame(time=as.POSIXct((1:2),origin="2000-1-1"))
1> test
time
1 2000-01-01 00:00:01
2 2000-01-01 00:00:02
1> rbind(test,b=1:2)
Fehler in as.POSIXct.numeric(value) : 'origin' muss angegeben werden
When I try to attach an additional row to a dataframe with a row
containing dates I get the
2012 Apr 17
5
loss of information in pdf plots
Hi there
is it possible that pdfs generated using the pdf() function with default settings leads to loss of information? I was plotting copy number changes from Agilent 180k data in form of rectangles (rect()) while each rectangle represents one region of copy number change. When plotting into a pdf I noticed that some very small rectangles do not appear (even after extensive zooming) in the pdf
2009 Dec 29
1
problem reading from serial connection since 2.10.0
Dear list,
I have a balance connected to the serial port of a windows machine ("COM1") and I read the text
output of the balance with
scan("COM1", what="character", sep="\n", n=1)
after calling the previous line I press the print key on the balance which triggers sending one line
of text to the serial connection and with R 2.9.2 I get something like
Read