Displaying 20 results from an estimated 100 matches similar to: "R crashes if "toFile" given "~/" in Linux envirnonment"
2011 May 17
0
auto clustering with Rgraphviz: possible?
I am working with about 600 nodes in an Rgraphviz graph. Within this graph
there are, when plotted, about 8 obvious clusters that are highly connected
within them but do not share connections between them. I have a wrapper
function that handles a lot of tasks automatically for me like setting
various node and edge attributes. What I would like to do is be able to
auto-generate plots for each of
2017 Sep 08
3
file.copy(from=Directory, to=File) oddity
When I mistakenly use file.copy() with a directory for the 'from' argument
and a non-directory for the 'to' and overwrite=TRUE, file.copy returns
FALSE, meaning it could not do the copying. However, it also replaces the
'to' file with a zero-length file.
dir.create( fromDir <- tempfile() )
cat(file = toFile <- tempfile(), "existing file\n")
2017 Sep 11
0
file.copy(from=Directory, to=File) oddity
>>>>> William Dunlap via R-devel <r-devel at r-project.org>
>>>>> on Fri, 8 Sep 2017 09:54:58 -0700 writes:
> When I mistakenly use file.copy() with a directory for the 'from' argument
> and a non-directory for the 'to' and overwrite=TRUE, file.copy returns
> FALSE, meaning it could not do the copying. However, it also
2011 May 02
1
s3 winbind loosing kerbers ticket
I have 2 CentOS 5.6 x86_64 servers configured with with samba 3.5.4,
CTDB, GFS and DRDB in an avtive,active cluster. After some time winbind
looses the ticket. After this I have to do a net ads join on the server
to get things going. The main DC is a windows 2003 server with SP2. I do
have 2 more samba 4 DC's that I use for backup authentication only that
run on debian 6 that are a VM. Not
2014 Apr 25
2
Samba 4.1.7 clustering not using private dir
I originally posted this on the dev list and opened a bug for this but
was asked to post this to the users list.
https://bugzilla.samba.org/show_bug.cgi?id=10565
Using sernet 4.1 packages. I am unable to get smbd to use private dir.
Set option in smb.conf and on command line.
sernet-samba-libsmbclient0-4.1.7-7.el6.x86_64
sernet-samba-libs-4.1.7-7.el6.x86_64
2009 Nov 25
0
predict(): NoSuchMethodError
I am currently working on a code which clusters attributes from a data set,
then uses a linear regression model to predict NA values in the data set.
The code works for almost all cases, but then errors out on a case that
seems like it should work the same.
This is the line of code that is giving me the problem:
NewClusterData[j,att] <- predict(cl,newdata =
2010 Jun 03
1
Memory leak using Rgraphviz
I'm running an Ubuntu 10.04 system and installed R 2.10.1 through the package manger. I then installed Rgraphviz 1.24 and graph 1.26 through R.
I'm trying to understand why a complex function my team wrote causes R's memory footprint viewed through top to increase every time it's run. I traced the increase in memory usage to layoutGraph() and wrote the following short function
2020 Apr 13
0
[PATCH 2/2] crypto: Remove unnecessary memzero_explicit()
Since kfree_sensitive() will do an implicit memzero_explicit(), there
is no need to call memzero_explicit() before it. Eliminate those
memzero_explicit() and simplify the call sites.
Signed-off-by: Waiman Long <longman at redhat.com>
---
.../crypto/allwinner/sun8i-ce/sun8i-ce-cipher.c | 15 +++------------
.../crypto/allwinner/sun8i-ss/sun8i-ss-cipher.c | 16 +++-------------
2020 Apr 13
0
[PATCH v2 2/2] crypto: Remove unnecessary memzero_explicit()
Since kfree_sensitive() will do an implicit memzero_explicit(), there
is no need to call memzero_explicit() before it. Eliminate those
memzero_explicit() and simplify the call sites. For better correctness,
the setting of keylen is also moved down after the key pointer check.
Signed-off-by: Waiman Long <longman at redhat.com>
---
.../allwinner/sun8i-ce/sun8i-ce-cipher.c | 19
2020 Apr 14
3
[PATCH v2 2/2] crypto: Remove unnecessary memzero_explicit()
Le 14/04/2020 ? 00:28, Waiman Long a ?crit?:
> Since kfree_sensitive() will do an implicit memzero_explicit(), there
> is no need to call memzero_explicit() before it. Eliminate those
> memzero_explicit() and simplify the call sites. For better correctness,
> the setting of keylen is also moved down after the key pointer check.
>
> Signed-off-by: Waiman Long <longman at
2020 Apr 14
3
[PATCH v2 2/2] crypto: Remove unnecessary memzero_explicit()
Le 14/04/2020 ? 00:28, Waiman Long a ?crit?:
> Since kfree_sensitive() will do an implicit memzero_explicit(), there
> is no need to call memzero_explicit() before it. Eliminate those
> memzero_explicit() and simplify the call sites. For better correctness,
> the setting of keylen is also moved down after the key pointer check.
>
> Signed-off-by: Waiman Long <longman at
2012 Sep 19
1
[PATCH 1/1] lua: Enabling io.read() in Lua.c32 with some restrictions
From: Hung-chi Lihn <hlihn at google.com>
The current Lua.c32 does not enable io.read() due to some missing library
functions. However, this strongly limits the Lua script from getting user
inputs and reading files (even in pxelinux via TFTP).
This patch enables io.read() in Lua.c32 with some restrictions:
1. the io.read("*line") is fully supported.
2. the
2009 Aug 24
0
r23 committed - Changed build.xml to use correct directory slashes
Revision: 23
Author: ajturner
Date: Sun Aug 23 19:48:12 2009
Log: Changed build.xml to use correct directory slashes
http://code.google.com/p/mapstraction/source/detail?r=23
Modified:
/trunk/build.xml
=======================================
--- /trunk/build.xml Sun Aug 16 17:18:10 2009
+++ /trunk/build.xml Sun Aug 23 19:48:12 2009
@@ -75,7 +75,7 @@
</path>
<sequential>
2012 Oct 15
1
Rgraphviz: how to read a "dot" file?
The Rgraphviz package index says nothing about reading "dot" files.
(it has "toFile" to write them but no fromFile).
How do I create an Ragraph object?
(either by reading a dot file or from a list of edges with weights and
vertices with names and other attributes).
--
Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000
http://www.childpsy.net/
2013 Oct 01
0
ID mapping not the same between servers - smb and nfs
We mount most of our share though samba but I a server that has the home
directory mounted though nfs. The ID mappings are not the same. The
server is joined to the domain. The domain has 2 samba4 servers and one
win2k8r2 server. The 2 servers in question are CentOS 5.9 x86_64 and
samba 3.6.19 from sernet.
Any ideas?
Jonn
[global]
workgroup = TAYLORTELEPHONE
realm =
2020 Apr 13
10
[PATCH 0/2] mm, treewide: Rename kzfree() to kfree_sensitive()
This patchset makes a global rename of the kzfree() to kfree_sensitive()
to highlight the fact buffer clearing is only needed if the data objects
contain sensitive information like encrpytion key. The fact that kzfree()
uses memset() to do the clearing isn't totally safe either as compiler
may compile out the clearing in their optimizer. Instead, the new
kfree_sensitive() uses
2006 May 31
0
How to know that a plugin is loaded
Hi!
We are developing an application in which the plugin acts_as_taggable
can be loaded or not. So we need to know if the plugin is loaded in
order to call the acts_as_taggable function en the model definition.
We have found a not so elegant solution:
class Post < ActiveRecord::Base
acts_as_taggable if defined? Tag
....
end
That is, check if the class Tag (a class that creates the
2019 Jan 09
0
Squashfs as rootfs
Hello.
I'm trying to add option to grub menu (amongst other options) to boot
from squashfs image. But 'root=live:/path/tofile' doesn't work. I didn't
find anything useful on the internet. Anybody can point me in right
direction?
Maybe better choice is to replace grub with isolinux?
I have working solution with iso with squashfs booting through PXE, but
i don't know how to
2013 Sep 26
1
Samba 3.6.15 Not honouring create mode
Using samba 3 as cluster share for many years now and we now need to for
the create mode on files. This seems to not be working in3.6.15.
Here is my config
[global]
workgroup = TAYLORTELEPHONE
realm = TAYLORTELEPHONE.COM
netbios name = SHR01
server string = Cluster Share
interfaces = eth0, eth1, lo
security = ADS
private dir = /clusterdata/ctdb
log file =
2020 Apr 14
0
[PATCH v2 2/2] crypto: Remove unnecessary memzero_explicit()
On 4/14/20 3:16 PM, Michal Such?nek wrote:
> On Tue, Apr 14, 2020 at 12:24:36PM -0400, Waiman Long wrote:
>> On 4/14/20 2:08 AM, Christophe Leroy wrote:
>>>
>>> Le 14/04/2020 ? 00:28, Waiman Long a ?crit?:
>>>> Since kfree_sensitive() will do an implicit memzero_explicit(), there
>>>> is no need to call memzero_explicit() before it. Eliminate