Perhaps just try
source("xx.R")
invisible(gc()) # do warnings appear after this?
It does seem likely that the sourced file causes the problem, since
parallel::createCluster labels the connections ":" and that label would show up in the warning.
On Thu, Mar 4, 2021 at 11:28 AM Henrik Bengts
Test with:
clusterCall(cl, function() { suppressWarnings(source("xx.R")) })
If the warnings disappear, then the warnings are produced on the
workers from source():ing the file.
/Henrik
On Thu, Mar 4, 2021 at 10:20 AM Bill Dunlap wrote:
>
> The warnings come from the garbage collector, which ma
The warnings come from the garbage collector, which may be called from
almost anywhere. It is possible that the file that is sourced causes
the problem, but if you don't call parallel::stopCluster before
removing the cluster object you will get those warnings.
> cl <- parallel::makeCluster(3, typ
I don't think 'parallel' is to blame in this case. Those warnings:
Warning in for (i in seq_len(Ne + echo)) { :
closing unused connection 19
come from base::source()
[https://github.com/wch/r-source/blob/9caddc1eaad1f480283f1e98af34a328699d1869/src/library/base/R/source.R#L166-L244].
Unless th
To avoid the warnings from gc(), call parallel::stopCluster(cl) before
removing or overwriting cl.
-Bill
On Thu, Mar 4, 2021 at 1:52 AM Shah Alam wrote:
>
> Hello everyone,
>
> I am using the "parallel" R package for parallel computation.
>
> Code:
>
># set number of cores
> cl <- makeCl
Hi Shah,
The error usually means you started a cluster and forgot to close it. From
the code you post, I cannot see any problem. Maybe you run `makeCluster`
twice by accident?
Best,
Jiefei
On Thu, Mar 4, 2021 at 5:53 PM Shah Alam wrote:
> Hello everyone,
>
> I am using the "parallel" R package
Hello everyone,
I am using the "parallel" R package for parallel computation.
Code:
# set number of cores
cl <- makeCluster(8, type = "PSOCK") # Mac/Linux need to set as "FORK"
# pass functions and objects to the cluster environment and set seed
# all the items exported need
Hi,
i made a loop , then i got more than 50 warning messages, and i know what these
messages and why they appears
my question here
is the warning message affecting in the accuracy of the results
this is my loop
nrep= 1000
n1=25
set.seed(123)
nw1<-c()
for (i in 1:nrep) {
Dear R-users,
The following warning messages are displayed when I require a new package
that I am currently developing. Everything seems to work just fine though,
so I am wondering how to get rid of the warnings.
Warning messages:
1: Class "frame" is defined (with package slot 'kiwixposepreprod')
Dr Shrink wrote:
>
> I need to include the repeated structure in our data set object,
> recall.sums.df, before using gls function.
> Thus I used groupedData.
> But I encountered error messages which may mean '*' is not not meaningful
> factor.
>
I know that when reading Pinheiro/Bates one has
Dear Experts,
I need to include the repeated structure in our data set object,
recall.sums.df, before using gls function.
Thus I used groupedData.
But I encountered error messages which may mean '*' is not not meaningful
factor.
Please let me know what I have to do.
Thanks,
Jeong
> recall.sums.
Hi,
On Oct 15, 2009, at 1:06 PM, Fayanna wrote:
Hi there,
I run the following code in R and got the warning like that, how can I
change the memory.size? Or anything else? Thanks a lot!
You haven't told us what type of machine you're on, or how much ram
you have (it might very well be that
Hi there,
I run the following code in R and got the warning like that, how can I
change the memory.size? Or anything else? Thanks a lot!
Faye
temp<-apply(Idd4.perms$permstats[-stratum1,],
+ 2,sort)
Error: cannot allocate vector of size 47.5 Mb
In addition: Warning messages:
1: In apply(Idd4.per
Hi,
You seem to have a glitch in one file,
testread12=read.table("Test100.txt", head = T)
str(testread12) # Column131 is converted to a factor
# $ Column131: Factor w/ 2920 levels "--","-0.000122393",..
combining the second data set with this one will convert the new data
into factor for this
Hello,
I have been using a very simple rbind approach (simple enough for me to
understand) to combine data files within R.
It seems to work fine, but then generates warning messages for reasons that
I can't begin to understand. The text below shows the issue.
testread12=read.table("C:/Files/
On Mon, Mar 30, 2009 at 7:12 AM, D wrote:
> Hi,
>
> I would need some help with the splans package in R.
>
> I am using a Shapefile (downloadable at)
> http://rapidshare.com/files/215206891/Redlands_Crime.zip
>
> and the following execution code
>
>
> setwd("C:\\Documents and
> Settings\\Dejan\\De
Dear Barry,
I am new to R and I am sorry for the sens information. I am using R
2.8.1 for Windows.
Does the error come from the kernel2d function, or from the image function?
-- It comes from the kernel2d function.
Does it do that for any data points?
-- Not yet tried with other data, only two m
Hi,
I would need some help with the splans package in R.
I am using a Shapefile (downloadable at)
http://rapidshare.com/files/215206891/Redlands_Crime.zip
and the following execution code
setwd("C:\\Documents and
Settings\\Dejan\\Desktop\\GIS\\assignment6\\DataSet_Redlands_Crime\\Redlands_Crim
Hi, I keep getting warning messages from quantreg about "tiny
diagonals replaced with Inf when calling blkfct". Is there any cause
for concern like improper codes, NAs in datasets or missing values ?
Thanks
Stanley
__
R-help@r-project.org mailing list
h
Hello!
I have posted this message before, but no answer. Now, after a few
upgrades, I still have the same warning messages. I am a bit worried,
since I do not know does this affect or could affect R. I use R under
Linux (Ubuntu 6.06).
After start, and after loading few libraries, I got following
20 matches
Mail list logo