Displaying 20 results from an estimated 8000 matches similar to: "t.trellis doesn't invert"
2017 Dec 14
1
change in behavior of c.trellis
> library(latticeExtra)
Loading required package: lattice
Loading required package: RColorBrewer
> t11 <- xyplot(1 ~ 1)
> t11
> c(t11, t11)
Warning message:
In formals(fun) : argument is not a function
> version
_
platform x86_64-w64-mingw32
arch x86_64
os mingw32
system x86_64, mingw32
status Patched
major 3
2018 Jan 18
1
wrong matrix dimension in sparseQR
Hi,
I came across a case when the dimensions of matrices returned by qr()
operated on a sparse matrix does not coincide with the initial matrix.
Here is a spinet code that should produce an example (one of many that I could provide):
?m=205
?n=199
?set.seed(7);
?a=matrix(rnorm(m*n), m, n)
?a[sample(seq(m*n), m*(n-4))]=0
?a=as(a, "Matrix")
?qa=qr(a);
?stopifnot(nrow(qa at R) ==
2018 Feb 10
2
makeCluster hangs
Hi all,
I can't get the functionality of the package parallel to work.
Specifically, makeCluster() hangs when I run it. I first noticed the
problem when trying to run Rstan with multiple cores and the traced it
back to the core package parallel. The following results in R hanging
after the call to makeCluster.
library(parallel)
# Calculate the number of cores
no_cores <-
2004 Apr 23
7
trellis.device in .First (PR#6812)
# Your mailer is set to "none" (default on Windows),
# hence we cannot send the bug report directly from R.
# Please copy the bug report (after finishing it) to
# your favorite email program and send it to
#
# r-bugs@r-project.org
#
######################################################
<<insert bug report here>>
There are two bugs associated with graphics devices.
2018 Feb 11
1
makeCluster hangs
Dear Henrik,
thank you, for the quick reply. Bizarrely enough, the problem vanished when
I woke the computer from sleep (I had previously replicated the problem
after several restarts of both R and the MacOS).
I will follow-up if I can again replicate the problem.
Florian
On 2/10/18 4:39 PM, Henrik Bengtsson wrote:
> A few quick comments:
>
> * You mention R --vanilla, but make sure
2018 Mar 09
2
Package gamlss used inside foreach() and %dopar% fails to find an object
Hello all:
Please help me with this "can't find object" issue. I'm trying to get leave-one-out predicted values for Beta-binomial regression.
It may be the gamlss issue because the code seems to work when %do% is used. I have searched for similar issues, but haven't managed to figure it out. This is on Windows 10 platform.
Thanks in advance,
Nik
#
2007 Jul 13
3
Direction of panel plots in trellis graphics
Hi,
Using library(lattice), is there any way to tell xyplot to plot
panels top to bottom, then left to right (i.e. panels are appended
vertically, then horizontally). as.table changes the plot direction
from left-to-right then top-to-bottom, to right-to-left then bottom-
to-top, but that's not quite what I want to do.
Thanks
Yan
2018 Feb 10
0
makeCluster hangs
A few quick comments:
* You mention R --vanilla, but make sure to try with
parallel::makeCluster(), so that you don't happen to pick up
snow::makeCluster() if 'snow' is attached and ahead of parallel on the
search() path.
* Try creating a single background worker, i.e. parallel::makeCluster(1L).
* Try with cl <- future::makeClusterPSOCK(1L, verbose = TRUE), which
gives the same
2018 Apr 18
0
R Bug: write.table for matrix of more than 2, 147, 483, 648 elements
Hello,
I want to report a bug in R that is limiting my capabilities to export a matrix with write.csv or write.table with over 2,147,483,648 elements (C's int limit). I found this bug already reported about before: https://bugs.r-project.org/bugzilla/show_bug.cgi?id=17182. However, there appears to be no solution or fixes in upcoming R version releases.
The error message is coming from the
2018 Apr 19
0
R Bug: write.table for matrix of more than 2, 147, 483, 648 elements
On 04/19/2018 02:06 AM, Duncan Murdoch wrote:
> On 18/04/2018 5:08 PM, Tousey, Colton wrote:
>> Hello,
>>
>> I want to report a bug in R that is limiting my capabilities to
>> export a matrix with write.csv or write.table with over 2,147,483,648
>> elements (C's int limit). I found this bug already reported about
>> before:
2018 Mar 09
0
Package gamlss used inside foreach() and %dopar% fails to find an object
If the code you are running in parallel is complicated, maybe foreach is not sophisticated enough to find all the variables you refer to. Maybe use parallel::clusterExport yourself? But be a aware that passing parameters is much safer than directly accessing globals in parallel processing, so this might just be your warning to not do that anyway.
--
Sent from my phone. Please excuse my brevity.
2019 Dec 06
1
inappropriate warning in latticeExtra
This problem is still present in
> version
_
platform x86_64-w64-mingw32
arch x86_64
os mingw32
system x86_64, mingw32
status Under development (unstable)
major 4
minor 0.0
year 2019
month 12
day 03
svn rev 77513
language R
version.string R Under development (unstable)
2018 Apr 18
1
R Bug: write.table for matrix of more than 2, 147, 483, 648 elements
Hi Colton,
You could divide your write task into chunks that do not violate the 2^31-1 limit.
write.table has an append argument (default FALSE).
Figure out a row chunk size nri < nr such that nri * nc is under 2^31-1 and use
write.table() to write that out.
Then use
write.table( append = TRUE, )
for the next chunk of rows, looping over chunks until done. Two chunks will get your 2.8
2017 Dec 11
0
document environment passing in parallel::parLapply
The runtime of parallel::parLapply depends on variables unrelated to
the parLapply call. However, this is not clearly documented. Therefore
I would like to suggest expanding the relevant documentation to
explain this behaviour.
Consider this example:
parallel_demo <- function(random_values_count) {
some_data <- runif(random_values_count)
dummy_function <- function(x) {
x
}
2018 Apr 19
2
R Bug: write.table for matrix of more than 2, 147, 483, 648 elements
On 18/04/2018 5:08 PM, Tousey, Colton wrote:
> Hello,
>
> I want to report a bug in R that is limiting my capabilities to export a matrix with write.csv or write.table with over 2,147,483,648 elements (C's int limit). I found this bug already reported about before: https://bugs.r-project.org/bugzilla/show_bug.cgi?id=17182. However, there appears to be no solution or fixes in upcoming
2019 Jun 14
4
inappropriate warning in latticeExtra
This is still not repaired in
R version 3.6.0 Patched (2019-05-17 r76528)
> library(latticeExtra)
> a <- xyplot(1 ~ 1)
> c(a,a)
Warning message:
In formals(fun) : argument is not a function
Can we have it in R-3.6.1 that Peter just announced?
Rich
On Mon, Apr 2, 2018 at 4:08 AM Deepayan Sarkar
<deepayan.sarkar at gmail.com> wrote:
>
> On Fri, Mar 23, 2018 at 7:58 AM,
2004 Dec 03
1
organising the display in Trellis plots
Hallo,
I would like to organise at my pleasure the layout of a trellis plot.
Currently I have a 3x3 matrix display and 7 plots. Is it possible to
choose which specific panels will stay empty?
I tried index.perm to arrange the order. Then there is perm.cond which I
could not understand if it can serve for my purpose since I cant really
find which kind of data it accepts.
Thank you for the help.
2012 Aug 16
2
warning in lattice key function
## this example shows a problem in key.
tmp <- data.frame(y=rnorm(10), g=rep(ordered(c("A","B")), 5))
bwplot(y ~ g, data=tmp,
key=list(
text=list(c("A","B"), col=c("blue","red")),
points=list(pch=c(17, 16), col=c("blue","red")),
space="top", columns=2, border=TRUE,
2018 Mar 14
1
Warning for LC_CTYPE when R is ran through ssh
Dear member,
When I run a code on a computer B from a computer A through shh using
for example:
system("ssh login at IPadress \"R -e 'print(1)'\"")
[Note that I don't need indicate password because ~/.ssh/authorized_keys
is used]
I get a warning:
During startup - Warning message:
Setting LC_CTYPE failed, using "C"
The code is working (it prints 1)
2009 Nov 26
1
Adding text in the panels for Trellis plot ...
i was trying to do a for loop for plotting the histograms , but it doesnt
work properly
> library(lattice)
> columns <- 8:153
> plots <- vector("list", length(columns))
> j <- 0
> for (i in columns)
+ {
+ plots[[ j <- j+1 ]] <- histogram( ~ data[,i] | data[,2],ylab =
"Frequency",
+ xlab = "Score", xlim = c(1,5), ylim =