Displaying 20 results from an estimated 50000 matches similar to: "self documenting workspaces, and the proper role of the dot"
2001 Feb 19
2
"locking" functions
Hi .. another newbie question .. is it possible to "lock" a function
(or indeed any object), making it read-only until "unlocked"?
For example, should I inadvertently (or through sheer stupidity <g> )
override the definition of t
> t
function (x)
UseMethod("t")
with
> t <- function(x){min(x)}
R raises no objection and uses this new version happily
2010 Feb 20
2
Hiding dot files from Windows
The user section of one of my smb.conf files looks like this yet when I bring
up XP (a guest under VirtualBox) on my system, all linux dot files are
visible. Am I missing somethng?
[fred]
comment = Alan's service
path = /home/fred
writeable = yes
valid users = fred
admin users = fred
browseable = yes
case sensitive = no
printing = bsd
#print command =
2010 Jan 18
3
The role of self and :: within a method of a model
Hey all,
I understand that a def self.abc, for example, is a class method, which
allows you to call its contents by just referencing model.abc (rather than
model.new.abc). However, what is its role when located in a method inside a
model like in the code below.
Also in the code below, you see :: located in the method. Isn''t that used
for modules and namespaces? If so, why is it located
2006 Mar 08
1
indexing a document object fails
Hi,
I''m trying out the example (more or less) straight from the tutorial:
doc = Document.new
doc << Field.new("id", "a", Field::Store::NO,
Field::Index::UNTOKENIZED)
doc << Field.new("title", "b", Field::Store::YES, Field::Index::UNTOKENIZED)
doc << Field.new("data", "c",
2014 Jul 24
1
IMAP forward boxes
Hi all,
since a few weeks I'm experimenting with some "IMAP forward boxes", but
I didn't find a satisfactory solution yet.
Target function is a directory structure like following in a shared mailbox:
/intern/users/fred
/intern/users/ted
/intern/users/alice
The idea is, that a mail, moved to the directory "/intern/users/fred"
via IMAP-client will be forwarded to
2001 Aug 14
1
Inconsistent behaviour of is.vector? (PR#1052)
Hi everyone,
I have noticed that is.vector returns FALSE if I attach
attributes:
> x <- c(a = 1, b = 2)
> attributes(x)
$names
[1] "a" "b"
> is.vector(x)
[1] TRUE
> attr(x, "fred") <- "happy"
> attributes(x)
$names
[1] "a" "b"
$fred
[1] "happy"
> is.vector(x)
[1] FALSE
This seems inconsistent to me,
2008 Oct 01
2
question about working with workspaces
Hello everybody,
Two - I hope Simple questions about working with workspaces.
Is there a way to force R to start in "clean" workspace / avoid "previously
saved workspace restored"?
When I load workspace"2" working in workspace"1" everything from "1" is
written into "2" is there a way to avoid it?
Best regards,
Daniel Rabczenko
2017 Jun 07
1
Unable to map more than 4 workspaces to keyboard shortcuts on C7.
Hi,
I have a new install of c7 with the gnome desktop. I run it with 12 workspaces.
Normally I create the shortcuts so that ctrl+f1 maps to workspace 1 ctrl+f2
maps to f2, etc. When I goto applications -> settings -> keyboard -> shortcuts
-> navigation, I only have the ability to define "Switch to workspace" 1
through 4. There does not appear to be a way to map keyboard
2013 Dec 06
0
compiz workspace panel show 4 workspaces when I have 8
Compiz is showing only 4 workspaces when I log in. If I go in to the compiz
settings manager -> general -> general options -> desktop size it says 8 in
Horizontal Virtual size. I can get it to work right if I move Vertical
Virtual size to the right then back to 1. How do I get it to stay showing
8?
Thanks,
-wes
2008 Mar 12
2
Gnome desktop, workspaces and windows
I was editing a file in gvim when I inadvertently pressed some key combination
that caused the vim window to disappear from the desktop. I looked in ps and
found that it was still running. Checking the tool bar at the bottom of my
display I noticed that a large rectangle now occupied the second of four boxes
on the extreme right hand side. Clicking on that box brought back the gvim
instance but
2003 Mar 18
2
Strange and disturbing bug
How about this one? If I set a variable in a data.frame with a two-
part name including a dot (say y.pair), and if the variable with the
name of the first part (y) doesn't but I ask for it's value I get the
value of the two-part name. Ie set fred$x.pair and print the value of
fred$x it gives me the value I set to fred$x.pair. Weird and
somewhat disturbing!
Maybe an example makes it
2011 Sep 08
3
Can't load workspaces
I've seen a number of issues with the loading of workspaces discussed previously, but here's another one... I simply can't load any saved workspace at all... Here's an example, starting with an empty workspace and creating a single variable "a".
> a<-1:5
> save.image("a.Rdata")
> rm(a)
> load("a.Rdata")
Error in function () : unused
2002 Oct 11
1
Odd outcome of attr with environments (PR#2148)
Hi everyone,
I think the following error is slightly odd:
> fred <- new.env()
> happy <- function() fred
> happy()
<environment: 0x8a425b8>
> attr(happy(), "foo") <- 1:10
Error: invalid (NULL) left side of assignment
But naturally this works
> attr(fred, "foo") <- 1:10
> fred
<environment: 0x8a425b8>
attr(,"foo")
[1] 1
2013 Nov 16
2
serialization for external pointers
Hello,
Are there any recipe to handle serialization / deserialization of
external pointers.
I'm thinking about something similar in spirit to the way we handle
finalization of external pointers.
Currently, if we create an external pointer, save the session, quit R,
then load the session, we get a null pointer.
One way I'm thinking of is to have an environment in the
2007 Sep 12
2
Evaluating args in a function
Can anyone explain what I'm doing wrong here:
> fred <- data.frame()
> class(fred)
[1] "data.frame"
> test.fn <- function(x,class=class(x)) {class}
> test.fn(fred)
Error in test.fn(fred) : promise already under evaluation: recursive
default argument reference or earlier problems?
R 2.5.1 on both Windows and SUSE Linux.
--
Sanford Weisberg, sandy at
2013 Apr 12
3
Error loading workspaces after upgrade
An embedded and charset-unspecified text was scrubbed...
Name: nem el?rhet?
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20130412/f2e12b77/attachment.pl>
2013 Dec 06
2
Dragging app between workspaces not working
When I try to drag an app between workspaces, it doesn't move. I'm using
compiz. When I put an arrow over an app in the workspace panel viewer
(whatever that is called), it says click to start dragging, but no go. Any
ideas?
Thanks,
-wes
2010 Jun 24
2
Lotus Notes 7.03 crash when changing workspaces
David Gerard <dgerard at gmail.com> wrote:
>
>On 17 June 2010 18:08, Martin Gregorie <martin at gregorie.org> wrote:
>> On Thu, 2010-06-17 at 16:54 +0100, David Gerard wrote:
>
>>> As long as I use only one workspace. If I open it in one
>>> workspace and change to another, it's likely to crash.
>
>> I've seen this, but only with one
2003 Apr 10
6
How to plot several graphs in a single 2-D figure?
Hi, R-listers
I tried to plot several graphs in a sigle x-y coordinate settings, like the
following:
|(y) s
| ****** s
| ***** s
| sssssssssssssssssss
|_______________________________(x)
where "*" and "s" denote two diffrent plots.
However, when I used
plot(data1); % data1 is the data points of "*"
2010 Apr 27
1
Lotus Notes 7.03 crash when changing workspaces
I'm using Ubuntu 10.04 with five workspaces set up in GNOME. I assume
it's using compiz (I didn't tell it not to), which I know can interact
problematically with Wine.
I use Notes 7.03 for Windows quite happily in Wine at work. (I know
there's a Linux client, but the installer seems very hard to get hold
of casually.) As long as I use only one workspace. If I open it in one