similar to: misfeature: forced file.copy() of a file over itself truncates the file ...

Displaying 20 results from an estimated 7000 matches similar to: "misfeature: forced file.copy() of a file over itself truncates the file ..."

2012 Jan 12
1
Can't install rjags on LinuxMint 12
Hi, I'm trying to install rjags and R2jags with R version 2.14.1 (2011-12-22) on Linux Mint 12 machine using software repository: deb http://cran.fhcrc.org/bin/linux/ubuntu oneiric/ jags seems to install OK, but rjags gives a weird error about not finding fprec symbol. Here is a history of the problem including several attempts to work around it. (Because of Ben Bolker's recent
2012 Jan 13
1
R2jags update, jags.parallel
Anyone used jags.parallel in latest version of R2jags? Ubuntu Oneiric, just ran updates in R to get latest R2jags package which supposedly has added jags.parallel command to send chains to multiple cores ... but when I submit, I get: test <- jags.parallel(d, inits, param, model.file="rats.bug", n.chains=3, n.iter=2000) Error: could not find function
2012 Nov 28
2
Error message R2Jags
Hi, I'm trying to generate a GLMM for Y following a negative binomial distribution. The first step I'm taking as a beginner in the use of R2Jags is to generate a GLM for Y following a Poisson distribution (I heard it's good in order to get used to the coding language), so here I am and here I face the first error message for which I can't find any mistake of spelling. Could you
2011 Aug 11
1
R crashes when communicating with JAGS
There is a thread on this topic already: http://finzi.psych.upenn.edu/Rhelp10/2010-August/250934.html I'm rather mystified by a similar problem and wondering whether I've overlooked something obvious. I'm running with latest versions of R and all packages, and latest version of JAGS running under Windows 7. Here's the problem. I have some source code. It's given below -
2012 Feb 07
1
.Random.seed not found
Hi All, I have a user who is receiving this error after running the following: library(rjags) library(R2jags) x = c(1.6907, 1.7242, 1.7552, 1.7842, 1.8113, 1.8369, 1.8610, 1.8839) n = c(59, 60, 62, 56, 63, 59, 62, 60) r = c(6, 13, 18, 28, 52, 53, 61, 60) N = 8 data=list("x","n","r","N") inits=function(){ list(alpha.star=0,beta=0) }
2013 Aug 16
1
running R in batch mode on Ubuntu
So, I'm submitting R 3.0.1 jobs on Ubuntu (13.04) using 'R CMD BATCH --no-save filename.R &' (have an alias set to subr='R CMD BATCH --no-save") and am having a problem of sometimes the process ending without the R commands contained in the batch file actually having finished running. We're running Bayesian models using R2jags jags.parallel and it ends during the
2009 Oct 07
1
Which JAGS interface to use?
Frank (or anyone else), can you offer any comments comparing runjags, R2jags, rjags ? I couldn't find any vignettes, nothing except a brief mention on Task Views. Kevin On Wed, Oct 7, 2009 at 7:48 AM, Frank E Harrell Jr <f.harrell@vanderbilt.edu > wrote: > Have you tried the rjags package which uses the jags system? It is much > more integrated into R and works quite well.
2004 Apr 20
2
Indexing by factor misfeature
Yesterday I was biten by a feature, which I find too dangerous. I wanted to use a factor `Subject?? as index into a data frame, whose row names were the levels of this factor. So there a 2 different possible interpretations of this: Either Subject is coerced to numeric or to character. The intended interpretation was, of course, `as.character(Subject)'. R did `as.numeric(Subject)??. This will
2007 Dec 02
1
array() misfeature
Version: 2.5.1 array() is inconsistent when given non-integral dimensions: > zz <- array(0,dim=c(4,3.01)) > dim(zz) [1] 4 3 > zz <- array(0,dim=c(201,4.05)) Error in dim(data) <- dim : dim<- : dims [product 804] do not match the length of object [814] [IMHO the code that did this is broken. My copy of it has been fixed. Consistent behavior and/or a clearer error message
2009 Jan 28
2
Dynamic random effects model
All R experts, How do I fit a dynamic Random effects model with a binary dependent variable in R Thanks JCM [[alternative HTML version deleted]]
2009 Jun 22
0
Problems trying to run R2jags on a Linux Cluster
Dear R users, I am having problems in trying to run R2jags on a Linux Cluster. When I tried to run the model given in the R2jags manual I get the following error error message: Error in FUN(X[[3L]], ...) : object 'J' not found Can any one help me with this problem? Looking to hear from you all. Regards, -- Luwis Diya, Leuven Biostatistics and Statistical Bioinformatics Centre
2017 Nov 23
5
libPaths displays truncated path?
Hi, TL;DR ----- I define the path /cm/shared/apps/R/site-library/3.4.2 and add it to libPath. Why does libPath then display it as /cm/shared/apps/R/site-library/3.4 ? Long version ------------ I run a cluster of diskless nodes for which the OS is loaded directly into RAM and other software is provided by an NFS server. However, in the case of R, we use the R version provided
2017 Nov 23
0
libPaths displays truncated path?
> On Nov 23, 2017, at 4:34 AM, Loris Bennett <loris.bennett at fu-berlin.de> wrote: > > Hi, > > TL;DR > ----- > > I define the path > > /cm/shared/apps/R/site-library/3.4.2 > > and add it to libPath. Why does libPath then display it as > > /cm/shared/apps/R/site-library/3.4 > > ? > Because it is a symbolic link.
2009 Jan 27
2
Package (PR#13475)
Full_Name: Partho Bhowmick Version: 2.8.1 OS: Windows XP Submission from: (NULL) (199.43.48.131) While trying to install package sn (I have tried multiple mirrors), I get the following message trying URL 'http://www.revolution-computing.com/cran/bin/windows/contrib/2.8/sn_0.4-10.zip' Content type 'application/zip' length 320643 bytes (313 Kb) opened URL downloaded 313 Kb
2011 Jan 04
0
R CMD check bug or misfeature
This is a bug/misfeature report for R CMD check. The function tools:::.check_packages_used_in_tests Gives an apparently unintended error when checking the tests in the contributed package rcdd_1.1-3.tar.gz as found on CRAN. See the script below for details. The actual error reported is totally mysterious. * checking for unstated dependencies in tests ... NOTE Error in
2020 Mar 23
2
Inconsistant result for normalizePath on Windows
Hi all, I saw a quite surprising result in the devel R when using the function *normalizePath*. If the input is a path to a folder, the function returns an absolute path with/without a slash at the end depending on the existence of the folder. I know both results are valid on Windows but this behavior is different than R3.6, I do not know if the change in the devel version is made on purpose.
2019 Jan 24
1
Bug or undocumented behavior in normalizePath() with file system links on windows
Hello, I discovered a bug or undocumented behavior in normalizePath steps to reproduce: execute normalizePath on a folder link on windows. When you are on a non-english windows box, you likely have links in place for windows' default folders, e.g. "C:\Programme" linking to "C:\Program Files" on german windows boxes. Thus executing
2020 Apr 14
4
Suggestion/opinions: add a `absolute` param to `normalizePath()` to force returning an absolute path
This request stems off a bug report I posted https://bugs.r-project.org/bugzilla/show_bug.cgi?id=17757 where it was determined the current behaviour is as expected. To recap: when given a real file, normalizePath() always* returns the full absolute path. When given a non-existent file, normalizePath() returns a full path on Windows but it returns the input on other systems*. I'd argue that
2011 Apr 06
2
R CMD check for 2.13 rc
Hi, I have a couple of new errors in our package when I check it on R 2.13-rc (r55310). The first one that's mystifying me is * checking R code for possible problems ... NOTE Error : object normalizePath is not exported by 'namespace:utils' Error : object normalizePath is not exported by 'namespace:utils' Firstly, it's strange to see NOTE and Error being used
2014 Sep 07
2
normalizePath is sometimes very slow for nonexistent UNC paths
I'm having an issue with occasionally slow-running calls to normalizePath. If the path is a non-existent UNC path, then normalizePath sometimes takes 6 or 7 seconds to run, rather than its usual few microseconds. My big problem is that I can't reliably reproduce this across machines. The example below generates one or two slow runs out of 10000 on my Windows machine. I haven't been