Displaying 20 results from an estimated 9000 matches similar to: "print() required sometimes in interactive use of console"
2006 Aug 30
4
Suggestion for read.table()
First, I compliment you all
for such a useful project as R.
Suggestion: If read.table() could
take input from a character string,
then one could write
raw=
" x y z
1 2 3
4 5 6
"
df = read.table(raw,head=TRUE)
Of course, one can
cat() to write raw into a
temporary file,
and read.table() from that file.
However, direct reading
might be a good option?
Hope this is
2011 Mar 14
1
AOV() may misslabel random effects.
Greetings,
The aov() function may mislabel
the random effects as in the example below:
Has anybody else noticed this?
Cordially,
Giles Crane, MPH, ASA, NJPHA
gilescrane at verizon.net
> m2
Call:
aov(formula = y ~ ap + pe + Error(ju), data = d)
Grand Mean: 77.50667
Stratum 1: ju
Terms:
ap
Sum of Squares 4322.538
Deg. of Freedom 12
13 out of 25 effects not
2010 Jul 08
2
Loading .Rdata within an R function
Colleagues:
I am having trouble loading data from within .Rdata file
within the environment of a function. That is,
the following always loads to the global environment:
f1 <- function() {
load("mydata.Rdata")
# compute with objects from mydata.Rdata.
}
I wish to load mydata.Rdata only within the function f1.
Perhaps I have misunderstood
2015 Feb 09
1
WISH: eval() to preserve the "visibility" (now value is always visible)
Sorry to intervene.
Argument passed to 'eval' is evaluated first.
So,
eval(x <- 2)
is effectively like
{ x <- 2; eval(2) } ,
which is effectively
{ x <- 2; 2 } .
The result is visible.
eval(expression(x <- 2))
or
eval(quote(x <- 2))
or
evalq(x <- 2)
gives the same effect as
x <- 2 .
The result is invisible.
In function 'eval2',
res <-
2008 Nov 19
1
paste() retains quotes (PR#13304)
Full_Name: Giles L Crane
Version: 2.8.0 2008-10-20
OS: Windows XP
Submission from: (NULL) (71.168.215.186)
paste(rep(" ",10),sep="")
[1] " " " " " " " " " " " " " " " " " " " "
As I read the documentation for paste(),
this should have produced
" "
that is,
2010 Feb 15
1
Adjusted means and generalized chain block designs
Dear Colleagues,
John Mandel ( Chain block designs with two-way elimination of heterogeneity.
Biometrics 10, 251-272 ,1954).
extended the class of chain block designs (Youden & Conner (1953)
to elimination of both row and column (blocks) effects.
These experimental designs can be useful in engineering
and other fields.
I am having difficulty obtaining his adjusted treatment means
in his
2015 Feb 07
1
WISH: eval() to preserve the "visibility" (now value is always visible)
Would it be possible to have the value of eval() preserve the
"visibility" of the value of the expression?
"PROBLEM":
# Invisible
> x <- 1
# Visible
> eval(x <- 2)
[1] 2
"TROUBLESHOOTING":
> withVisible(x <- 1)
$value
[1] 1
$visible
[1] FALSE
> withVisible(eval(x <- 2))
$value
[1] 2
$visible
[1] TRUE
WORKAROUND:
eval2 <-
2016 Oct 15
2
First steps in Dovecot; IMAP not working
Le 15 oct. 2016 ? 9:56, mick crane <mick.crane at gmail.com> a ?crit:
> I assume this means there are no emails in the INBOX.
> send yourself a mail.
This is actually one of the first thing I tried when I saw outgoing mails worked. I also tried sending mails from another address, hoping to receive an error message back, but nothing got received.
I now think the INBOX itself doesn?t
2016 Oct 14
2
First steps in Dovecot; IMAP not working
Le 14 oct. 2016 ? 16:06, mick crane <mick.crane at gmail.com> a ?crit:
> On 2016-10-14 13:43, Moi wrote:
>> Hello,
>> First of all, I'm sorry if you received this mail twice; I haven't received
>> it the first time so I think it was lost. Second attempt.
>> I've made some more tests and I still can't receive mails.
>> Outlook doesn't
2010 Apr 22
2
How to insert gridlines in lattice density plot
Greetings.
How can I insert gridlines
in the following density plot call?
Must one compose a panel function?
'data.frame': 46 obs. of 2 variables:
$ fallrates: num 5.2 7.1 7.1 9.8 3.7 7.5 5 6.2 1.5 2.9 ...
$ prepost : Factor w/ 2 levels "post","pre": 2 2 2 2 2 2 2 2 2 2 ...
library(lattice)
densityplot(~fallrates, groups = prepost,
2018 Mar 20
1
WISH: Sys.setlocale() to return value invisibly
Contrary to, say, Sys.setenv(), Sys.setlocale() returns it's value
visibly. This means that if you for instance add:
Sys.setlocale("LC_COLLATE", "C")
to your .Rprofile file, it will print:
[1] "C"
at startup. The workaround is to wrap the call in invisible(), but I'd
argue that any "setter" function should return invisibly.
Some more details:
2012 Jun 14
5
(fwd) Re: ZFS NFS service hanging on Sunday morning
>
> Offlist/OT - Sheer guess, straight out of my parts - maybe a cronjob to
> rebuild the locate db or something similar is hammering it once a week?
In the problem condition, there appears to be very little going on on the system. eg.,
root at server5:/tmp# /usr/local/bin/top
last pid: 3828; load avg: 4.29, 3.95, 3.84; up 6+23:11:4407:12:47
79 processes: 78 sleeping, 1 on
2013 Jun 04
1
strange value in .Last.value
Hi all,
the .Last.value sometimes contains a strange $visible FALSE value. This
poses problems when using R with ESS (and ess-developer-mode) from
within org-mode.
>From http://permalink.gmane.org/gmane.emacs.ess.general/7299:
--8<---------------cut here---------------start------------->8---
Here is how to reproduce. Put df <- data.frame(a=1:3, b=1:3) in test.R
and then:
2015 Jan 12
2
pigeonhole: upgrade 0.4.3 -> 0.4.6 broke script storage
Hi,
I ran into some troubles while upgrading pigeonhole:
crane dovecot: lda(petar): Error: sieve: Failed to access user storage (temporary failure)
crane dovecot: lda(petar): Error: sieve: file storage: Could not find storage root directory; path was left unconfigured and autodetection failed
After reading through the changelog, I noticed that there have been some
changes in the script
2018 Dec 02
1
I never touched nuthin'
On 2018-12-01 14:35, Aki Tuomi wrote:
>> On 01 December 2018 at 12:09 mick crane <mc at mickiwiki.com> wrote:
>>
>>
>> hello,
>> do you mind if I ask before I start poking about ?
>> suddenly I notice that gmail is ignoring or because there is an error
>> getmail is not sending the delete request.
>> Mails are sent and received but not
2012 Aug 10
1
Persistent, sporadic failure in make_bak_dir mkdir
Through several versions up to and including the current 3.0.9 I experience sporadic, repeating (but not predictably) errors of this form:
> rsync: make_bak_dir mkdir "/REPO/backup/XXXX-data1-20120727-040453" failed: File exists (17)
> rsync: keep_backup failed: "/REPO/backup/XXXX-data1/data1/A182/tb5178/tb5178.hebb/out.TENT_warn.txt" ->
2013 Aug 14
2
Inconsistency between eval and withVisible (with patch)
R-team,
The $value element of the return value of *withVisible* does not agree with
the return value of *eval* when *withVisible* is passed a variable (symbol)
containing an expression object or anonymous code/expressions which
generates an expression object when evaluated (such as calls to *parse* or *
expression*).
I have attached a patch against the svn trunk which addresses this.
Example
2005 Jul 18
2
scriptaculous dragdrop.js empty list problem
Hi,
I''ve just been having a look at the scriptaculous drag-n-drop library, which
looks exceedingly good. I''m running across a show-stopper here, though -
something that''s cropping up in both the online demos and my own test scripts. If
I set up two lists so that I can drag items between them, then if either list
becomes empty, I can''t drag elements back into
2024 Oct 25
1
Could .Primitive("[") stop forcing R_Visible = TRUE?
? Fri, 25 Oct 2024 08:39:39 -0400
Duncan Murdoch <murdoch.duncan at gmail.com> ?????:
> Surely you or they should be the ones to run the test across all of
> CRAN?
That's fair. The question is, is there a fundamental reason I
overlooked to deny such a change? Except for positioning and
whitespace, the line has been in names.c since SVN revision 2. The
one regression test touched
2015 Sep 11
5
C6 firefox esr h.264 support on youtube
On Fri, 11 Sep 2015, Denniston, Todd A CIV NAVSURFWARCENDIV Crane wrote:
> If anyone has clues on how to build and add just a portion of
> gst-plugins-bad into the existing EL OS set of gstreamer plugins, please
> share (even URL pointers).
>
> [1] http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/ext/openh264
> [2] https://en.wikipedia.org/wiki/OpenH264
> [3]