similar to: wrtiteBin in conjunction with seek : the position in the file is not good when writing

Displaying 20 results from an estimated 300 matches similar to: "wrtiteBin in conjunction with seek : the position in the file is not good when writing"

2024 May 21
1
wrtiteBin in conjunction with seek : the position in the file is not good when writing
? Tue, 21 May 2024 11:29:33 +0200 Laurent Rhelp <laurentRHelp at free.fr> ?????: > pos <- seek(con_in,2,origin="start") > # We have to repeat the command to return the good amount of read > # bytes > print(paste0("pos is not equal to 2, pos = ",pos)) That's because seek() returns the previous position ("before any move", the one that the
2006 Jun 21
3
validation help
I would like to validate a number within a certain range. To first test that a entry is a valid number i use validates_numericality_of :my_number, :message =>''sorry, not a number'' to test if the number is within a certain range i use validates_inclusion of :my_number, :in => min..max, message => ''outside range!'' If the numericality test fails, I
2012 Dec 20
0
How to make an <pkg>/configure file executable on Windows/NTFS?
Hi, in my package, I've got a 'configure' file in the root, e.g. aroma.affymetrix/configure. (I've also got a configure.win, which works just fine on Windows). This file must be executable (has a proper file mode) for 'R CMD INSTALL'/install.packages() to work, otherwise one gets: * installing *source* package 'aroma.affymetrix' ... ERROR: 'configure'
2013 Mar 06
0
do_fileinfo / file.info test for file IS directory during package load pointlessly stresses NIS by getting username / group info
*Summary: * During package loading the library function calls file.info to determine if a file is a directory. This uselessly invokes getpwuid and getgrgid which can be expensive if the user/group database are held on a network. Note that file_test ALSO uses file.info for the same purpose Suggest rebuilding file_test to use ‘stat’ based call for directory search, and using file_test in
2017 Jun 22
0
Missing dependencies in pkg installs
On 22/06/2017 5:02 PM, Conklin, Mike (GfK) wrote: > I am using debug on the .install_packages function...stepping through. Once the temporary folder is created and the tar file expanded I run file_test and get a FALSE back indicating that the configure file is not executable. I don't know what is causing this bug. Perhaps a Linux user can reproduce it and fix it. Here's what I see:
2017 Jun 28
0
Missing dependencies in pkg installs SOLVED
So apparently (being a linux novice) I didn't realize it was insufficient to simply have the file marked as executable. It turns out the default TMP directory on my machine is mounted with a noexec flag so no files in that directory are allowed to be executed. The solution is to set an environment variable TMPDIR=some new directory I created (eg. /home/myusername/tmp) Then R uses that
2017 Jun 22
2
Missing dependencies in pkg installs
Duncan Murdoch writes: > On 22/06/2017 5:02 PM, Conklin, Mike (GfK) wrote: > > I am using debug on the .install_packages function...stepping through. Once the temporary folder is created and the tar file expanded I run file_test and get a FALSE back indicating that the configure file is not executable. > > I don't know what is causing this bug. Perhaps a Linux user can
2017 Jun 23
0
Missing dependencies in pkg installs
I had the same thought in the shower this morning but I was disappointed to find that SElinux was disabled on the system. My next step will be to install a previous version of R on the system. My problem is that I am planning a shiny server installation and at least half of the apps on the current system depend on these libraries that will not install. -- W. Michael Conklin EVP Marketing &
2017 Jun 22
2
Missing dependencies in pkg installs
I am using debug on the .install_packages function...stepping through. Once the temporary folder is created and the tar file expanded I run file_test and get a FALSE back indicating that the configure file is not executable. [1] "/tmp/RtmpMM6iC1/R.INSTALLc5ca415e4310/stringi" Browse[2]> dir(new) [1] "DESCRIPTION" "INSTALL" "LICENSE"
2008 Oct 30
0
Asterisk SVN bug segfaulting
hello everyone! I just got the newest asterisk SVN: trunk# svnversion 152803 and compiled it. then I made some test-calls. 1. Calling my mailbox. It worked, but quality was not good, in comparison to 1.6.0-beta9. I called via mISDn. 2. Just call myself. Result: Ringing and asterisk segfaulting. 3. Same for calling some gtalk-number and using app Dial mISDN/1/my_number. I got this a
2020 Jan 30
3
Question about ObjectSizeOffsetVisitor::visitGlobalVariable
Interesting, so I guess we can check for whether it's an array type and adjust accordingly instead? Blocking *all* global variables without definitive initializers feels a bit much to me, especially if they have primitive types (i.e. integers) that don't have the potential to be screwed around with like this. On Wed, Jan 29, 2020 at 8:14 PM George Burgess IV < george.burgess.iv at
2011 Apr 25
1
possible minor doc clarification?
Good afternoon, As a clarification does it make sense to remove the second 'not' in the 'See Also' documentation for file_test ? Kind regards, Sean O'Riordain ----- Index: src/library/utils/man/filetest.Rd =================================================================== --- src/library/utils/man/filetest.Rd (revision 55639) +++ src/library/utils/man/filetest.Rd
2017 Jun 22
0
Missing dependencies in pkg installs
On 22/06/2017 3:42 PM, Conklin, Mike (GfK) wrote: > Not much progress..... I step through debug and it gets to the do.install() function which immediately errors with the same "configuration not executable" error. I believe that is a locally defined function, which means you can set a breakpoint within it but only if R is compiled with source info, or you can manually call
2013 Sep 04
4
Comments requested on "changedFiles" function
In a number of places internal to R, we need to know which files have changed (e.g. after building a vignette). I've just written a general purpose function "changedFiles" that I'll probably commit to R-devel. Comments on the design (or bug reports) would be appreciated. The source for the function and the Rd page for it are inline below. ----- changedFiles.R: changedFiles
2006 Jun 27
0
Calling SOAP based Web Services over SSL
Ok, here we go. 1) I am trying to talk to a soap web service @ the url https://rsvcstage.e2ma.net/emmaTestCalls 2) I can talk to the web service in plain ruby if I: 2.1) disable site ruby (by renaming the site_ruby directory to something else) 2.2) use the WDSLDriverFactory instead of an actionwebservice The working ruby code looks like this:
2015 Jan 22
3
speedbump in library
Hi all, Profiling turned up a bit of a speedbump in the library function. I submitted a patch to the R bug tracker as bug 16168 and I've also included it below. The alternate code is simpler and easier to read/maintain, I believe. Any thoughts on other ways to write this? Index: src/library/base/R/library.R =================================================================== ---
2007 Feb 05
1
Build error with last R-devel tarball
Hi, On Windows, with last R-devel tarball (r40647) from ftp://ftp.stat.math.ethz.ch/Software/R/R-devel_2007-02-04.tar.gz I get the following build error: E:\biocbld\bbs-2.0-bioc\R\src\gnuwin32> make ... ... ---------- Making package utils ------------ adding build stamp to DESCRIPTION installing NAMESPACE file and metadata installing R files Error in namespaceExport(ns, exports) :
2015 Jan 23
0
speedbump in library
I think you can simplify a little by replacing this: pkg %in% loadedNamespaces() with this: .getNamespace(pkg) Whereas getNamespace(pkg) will load the package if it's not already loaded, calling .getNamespace(pkg) (note the leading dot) won't load the package. I can't speak to whether there are any pitfalls in changing the library path searching, though. -Winston On Thu, Jan
2010 Jan 28
0
RMySQL install
Hi everyone, I am trying to install the RMySQL package under windows xp. I've got the MySQL installed on the computer (MySQL server 5.1). I went through the steps presented on the webpage http://biostat.mc.vanderbilt.edu/wiki/Main/RMySQL and googled around and still can't find the answer. With the command readRegistry("SOFTWARE\\MySQL AB", hive="HLM", maxdepth=2) I
2011 May 19
1
r-2.13 fails make check
I am only reporting this because it is the current release branch and not devel. R-2.13 from svn revision 55957 builds fine, but fails make check. This happened with a fresh svn checkout 12 hours ago and it still happens as of now. Two days ago I could build R-2.13 and it passed make check on the same system, so I doubt it is a system problem. But just in case my system details are a fresh