search for: h5

Displaying 20 results from an estimated 113 matches for "h5".

2012 Aug 24
1
Permissions incorrectly ordered on Windows after disabling inheritance
...reproducible on every Windows client system I've tried including Windows 7, XP, Server 2008 R2 and Server 2003. When incorrectly ordered, the permissions look like this as printed by smbcacls smbcacls //localhost/20120821_3 rootfolder/subfolder1/subfolder2 REVISION:1 CONTROL:0x8004 OWNER:BIZNAS-H5\admin GROUP:BIZNAS-H5\None ACL:BIZNAS-H5\admin:ALLOWED/0x0/RWXDPO ACL:Creator Owner:ALLOWED/OI|CI|IO|I/RWXDPO ACL:BIZNAS-H5\None:ALLOWED/0x0/RWXDPO ACL:Creator Group:ALLOWED/OI|CI|IO|I/RWXDPO ACL:Everyone:ALLOWED/OI|CI|I/RWXDPO For comparison, here is the same subfolder tree without performing ste...
2017 Dec 27
3
Rscript fails with some packages (for example, h5)
...hods)? > > Because it governs which packages are loaded by default. And while R also > loads 'methods', Rscript does not. Source of endless confusion. Mostly irrelevant correction of the jargon: that setting controls which packages are "attached" by default. library(h5) would be enough to load methods, because h5 imports things from methods. But loading doesn't put a package on the search list. library(methods) both loads methods (if it hasn't already been loaded), and attaches it. > > | If library(h5) works, it should just work, not depend o...
2013 Jan 13
1
Understanding tinc edge connections and re-routing
Hi, I have successfully setup a tinc network between five hosts (in switch mode). Two of the hosts have static and known IP addresses (S1 and S2). Other hosts (H3-H5) connect one (or both) of them. The traffic flows nicely between all hosts. The initial edges (ConnectTo configuration directives) in my test network are: S1<->S2 H3 -> S1 and S2 H4 -> S1 H5 -> S2 As far as I have understood, after tinc has established a connection with another hos...
2017 Aug 11
2
Issues of R_pretty in src/appl/pretty.c
..., apparently cell * U * imax2(1,*ndiv) overflows to infinity and 'i_small' is 1 (true). It doesn't happen when *ndiv is (int) 1e6. Putting parentheses may avoid the floating point overflow. For example, i_small = dx < cell * (U * imax2(1,*ndiv) * DBL_EPSILON) *3; The part U = (1 + (h5 >= 1.5*h+.5)) ? 1/(1+h) : 1.5/(1+h5); is strange. Because (h5 >= 1.5*h+.5) is 1 or 0, (1 + (h5 >= 1.5*h+.5)) is never zero and 1/(1+h) will always be chosen. The comment for 'rounding_eps' says "1e-7 is consistent with seq.default()". Currently, seq.default() uses 1e-10...
2017 Dec 26
2
Rscript fails with some packages (for example, h5)
Hi Dirk, Thanks for the solution. Now I know the work-arounds, but still don't quite get it. Why does R_DEFAULT_PACKAGES has anything to do with library(methods)? If library(h5) works, it should just work, not depend on an environment variable. Rscript is not consistent with R, that's my confusion. Steve 2017-12-26 20:46 GMT+08:00 Dirk Eddelbuettel <edd at debian.org>: > > On 26 December 2017 at 15:24, Sun Yijiang wrote: > | After looking into C sou...
2017 Dec 26
2
Rscript fails with some packages (for example, h5)
Consider this script (with h5 installed): $ cat test.R library(h5) name <- tempfile() f <- h5file(name) file.remove(name) $ Rscript test.R Error in initialize(value, ...) : cannot use object of class "character" in new(): class "H5File" does not extend that class Calls: h5file -> new -> init...
2017 Aug 18
1
Issues of R_pretty in src/appl/pretty.c
...the compiler optimization steps? "keep the parentheses". ? ? > AFAIK, there is no guarantee for that. ? ? > To make sure, I'd replace the above by ? ? > U *= imax2(1,*ndiv) * DBL_EPSILON; ? ? > i_small = dx < cell * U * 3; ? ? >> The part ? ? >> U = (1 + (h5 >= 1.5*h+.5)) ? 1/(1+h) : 1.5/(1+h5); ? ? >> is strange. Because (h5 >= 1.5*h+.5) is 1 or 0, (1 + (h5 >= 1.5*h+.5)) is never zero and 1/(1+h) will always be chosen. [[elided Yahoo spam]] ? ? > here was as a change (not by me!) adding wrong parentheses ? ? > there (or maybe add...
2017 Dec 26
0
Rscript fails with some packages (for example, h5)
On 26 December 2017 at 15:24, Sun Yijiang wrote: | After looking into C source code, I found that Rscript by default fills | environment variable R_DEFAULT_PACKAGES with | "datasets,utils,grDevices,graphics,stats", and it somehow fails some | package like h5. | | The problem here is, not setting R_DEFAULT_PACKAGES is equivalent to | setting it to a magic value, it's really confusing. I suggest remove this | feature. The more confusing part is that "methods" is missing 'by design' (as loading methods is marginally more expensive...
2009 Jun 17
1
Inverting a square matrix using solve() with LAPACK=TRUE (PR#13762)
Full_Name: Ravi Varadhan Version: 2.8.1 OS: Windows Submission from: (NULL) (162.129.251.19) Inverting a matrix with solve(), but using LAPACK=TRUE, gives erroneous results: Here is an example: hilbert <- function(n) { i <- 1:n; 1 / outer(i - 1, i, "+") } h5 <- hilbert(5) hinv1 <- solve(qr(h5)) hinv2 <- solve(qr(h5, LAPACK=TRUE)) all.equal(hinv1, hinv2) # They are not equal Here is a function that I wrote to correct this problem: solve.lapack <- function(A, LAPACK=TRUE, tol=1.e-07) { # A function to invert a matrix using "LAPA...
2017 Aug 14
0
Issues of R_pretty in src/appl/pretty.c
...DBL_EPSILON) *3; yes... but only if the compiler optimization steps "keep the parentheses". AFAIK, there is no guarantee for that. To make sure, I'd replace the above by U *= imax2(1,*ndiv) * DBL_EPSILON; i_small = dx < cell * U * 3; > The part > U = (1 + (h5 >= 1.5*h+.5)) ? 1/(1+h) : 1.5/(1+h5); > is strange. Because (h5 >= 1.5*h+.5) is 1 or 0, (1 + (h5 >= 1.5*h+.5)) is never zero and 1/(1+h) will always be chosen. Yes, strange indeed! here was as a change (not by me!) adding wrong parentheses there (or maybe adding what the previously...
2007 Oct 25
4
""throw $continue" is deprecated, use "return" instead"
...} ); }; }; function update(obj) { $(''helloTitle'').innerHTML = "<h1>Hello, <b><i>" + obj.name + "</i></b></h1>"; var likesHTML = "<h5>"+obj.initial+" likes...</h5><hr/>"; for(var i=0;i<obj.likes.length;i++){ likesHTML+=obj.likes[i]+"<br/>"; } $(''likesList'').innerHTML =likesHTML; var recipeHTML="&...
2009 Jun 18
1
Inverting a square... (PR#13762)
..."base")[seq_len(p)] which should be [seq_len(p),] (otherwise, in the matrix case, the RHS will recycle only the 1st p elements, i.e., the 1st column). >=20 > Here is an example: >=20 > hilbert <- function(n) { i <- 1:n; 1 / outer(i - 1, i, "+") } > h5 <- hilbert(5) > hinv1 <- solve(qr(h5)) > hinv2 <- solve(qr(h5, LAPACK=3DTRUE))=09 > all.equal(hinv1, hinv2) # They are not equal >=20 > Here is a function that I wrote to correct this problem: >=20 > solve.lapack <- function(A, LAPACK=3DTRUE, tol=3D1.e-07) { &g...
2017 Dec 26
0
Rscript fails with some packages (for example, h5)
...Now I know the work-arounds, but still don't | quite get it. Why does R_DEFAULT_PACKAGES has anything to do with | library(methods)? Because it governs which packages are loaded by default. And while R also loads 'methods', Rscript does not. Source of endless confusion. | If library(h5) works, it should just work, not depend on an environment variable. Every package using S4 will fail under Rscript unless 'methods' explicitly. | Rscript is not consistent with R, that's my confusion. Indeed. And you are not the first person confused by it. Dirk -- http://dirk.edd...
2009 Nov 13
1
R and HDF5 Question
...MD INSTALL --configure-vars='CPPFLAGS=-I/opt/local/include' --configure-args='--with-hdf5=/opt/local' hdf5_1.6.9.tar.gz This builds fine. The library seems to load without issue, but no data is returned when I try to load a file: > library(hdf5) > hdf5load("test.h5") > NULL Yet, osx:data scott$ h5dump test.h5 HDF5 "test.h5" { GROUP "/" { DATASET "dset" { DATATYPE H5T_STD_I32LE DATASPACE SIMPLE { ( 31 ) / ( 31 ) } DATA { (0): 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, (14): 16384, 32768, 65536...
2013 Feb 04
1
Problem loading hdf5 file
...ope I'm posting in the right way. I need to load a hdf5 file, so I installed the hdf5 libraries ad the hdf5 R package; in downloaded a small sample file from the hdf5 website and I could correctly load it. But when I try to load my file: * require(hdf5) rm(list=ls()) ls() hdf5load("my_file.h5", verbosity=3) *I get this error message: * Errore in hdf5load("my_file.h5", verbosity = 1) : unable to open HDF file: my_file.h5 > HDF5-DIAG: Error detected in HDF5 (1.8.4-patch1) thread 0: #000: /Builds/unix/hdf5-1.8.4-patch1/src/H5F.c line 1514 in H5Fopen(): unable to open...
2020 Aug 08
1
User mapping?
...e the help. > > Running 'net cache flush' helped so that the Linux client actually saw > "<user>" as a valid id. > > On the client I now see : > > # id <user> > uid=1578(<user>) gid=1595(blue) > groups=1595(blue),1578(<user>),1693(h5-w7-gui-qt5-2),1695(h5-win7-32-1),1608(h5-win7-64-1),1719(simon-w10),1672(h4-win7-gui),1702(h3-win8-gui),1697(h2-win7-64-1),1692(h5-w7-gui-qt5-1),1707(h7-win7-64-1),1708(h7-win7-64-2),1700(h3-win7-gui-1),1726(h7-win7-gui-3),1684(h3-win7-gui-2),1739(h8-win7-64-1),1741(h8-win7-64-2),1579(w2k8-1),1611(...
2017 Dec 27
1
Rscript fails with some packages (for example, h5)
Thanks for the details. I?m new to R, and I?m not blaming anything here, just that I?m still not clear what good it makes to keep this inconsistency between R and Rscript. To me (and probably to many others from Perl/Python etc.), this is shockingly weird. I can live with that, and I also want to know why. Steve Dirk Eddelbuettel <edd at debian.org>?2017?12?27? ??21:15??? > > Duncan,
2009 Jun 18
0
Inverting a square matrix using solve() with LAPACK=TRUE (PR#13765)
...E = "base")[seq_len(p)] which should be [seq_len(p),] (otherwise, in the matrix case, the RHS will recycle only the 1st p elements, i.e., the 1st column). > > Here is an example: > > hilbert <- function(n) { i <- 1:n; 1 / outer(i - 1, i, "+") } > h5 <- hilbert(5) > hinv1 <- solve(qr(h5)) > hinv2 <- solve(qr(h5, LAPACK=TRUE)) > all.equal(hinv1, hinv2) # They are not equal > > Here is a function that I wrote to correct this problem: > > solve.lapack <- function(A, LAPACK=TRUE, tol=1.e-07) { > # A func...
2020 Aug 08
4
User mapping?
On 07/08/2020 22:44, Simon Matthews via samba wrote: > >>> >>>> >>> >>> This is where your problems start, you do not have enough lines, I >>> would expect something like this: >>> >>> ??? idmap config * : backend = tdb >>> ??? idmap config * : range = 100000-9999999 >>> ??? idmap config BLUE : backend = rid
2020 Aug 08
0
User mapping?
...Rowland > > > I really appreciate the help. Running 'net cache flush' helped so that the Linux client actually saw "<user>" as a valid id. On the client I now see : # id <user> uid=1578(<user>) gid=1595(blue) groups=1595(blue),1578(<user>),1693(h5-w7-gui-qt5-2),1695(h5-win7-32-1),1608(h5-win7-64-1),1719(simon-w10),1672(h4-win7-gui),1702(h3-win8-gui),1697(h2-win7-64-1),1692(h5-w7-gui-qt5-1),1707(h7-win7-64-1),1708(h7-win7-64-2),1700(h3-win7-gui-1),1726(h7-win7-gui-3),1684(h3-win7-gui-2),1739(h8-win7-64-1),1741(h8-win7-64-2),1579(w2k8-1),1611(...