Displaying 20 results from an estimated 1000 matches similar to: "Binary file input to R"
2000 Oct 02
2
binom.test bug?
R. 1.1.0
The example below is self explanatory.
## 1 ## # works fine
> binom.test((50*.64),50,.5,alt='g')
... Exact binomial test ...
## 2 ## # WHAT ! ?
> binom.test((50*.65),50,.5,alt='g')
Error in binom.test((50 * 0.65), 50, 0.5, alt = "g") :
x must be an
2002 Nov 28
3
Running R away from windows (to Linux)
I want to migrate my R workspace databases (e.g., .Rdata) from Windows to Linux. The R help file for "save" says that "[a]ll R platforms use the XDR representation of binary objects in binary save-d files, and these are portable across all R platforms."
Is it is simple as that? Copy the Windows .Rdata file to the Linux .ext3 file system?
Thanks,
Derek
Derek N. Eder
2002 May 15
1
Fwd: Re: Combining many dataframes from listings of objects?
> I want to combine (rbind) many dataframes into a single data frame, but "automatically"
> specifying the names of the dataframes as listing of object names.
> E.g., combine these 18 df objects into one big df using something conceptually like this :
> rbind(objects(pattern="*.df"))
Brian Ripley suggested that something along the lines of:
2002 Nov 29
2
Regular Expressionsionism
Isn't there a cryptic footnote somewhere in the blue book that describes regular expressions as "a funny little language ..." ? Well, I'm not laughing!
I've googled and Man paged, but the GREP-style solution to the following problem still eludes me:
... Using a regular expression in the "pattern" argument to list.files() to restrict the return to filenames which
2002 Sep 06
1
Scope problems - passing an argument from one function to another (LME) within
I am having trouble understanding what must be a quite simple rule of scope.
In the code example below, the argument to the main function, my.subset, would like to be passed to the function LME. This does not happen however. Curiously, the other argument (my.data) is passed to LME.
This problem goes away with this: assign("my.subset", my.subset, env = sys.frame()).
It works, but it
2002 Sep 27
3
? Exact pattern matching in GREP ?
How is exact pattern matching achieved in GREP (and GREPlike) functions ?
# Want: listing of all object names that end in *.lm
> objects(pattern="*.lm",pos=1)
# ... but get: all objects that partially match *.lm, e.g., *.lme
[1] "j3.lm" "J3.lme" "j8.lm" "J8.lme"
# Want: position of string "4jan2002" in vector
>
2006 Oct 19
3
Time conversion from Win32 64bit FILETIME?
Windows-32 has a time structure called FILETIME, a 64-bit value
representing the number of 100-nanosecond intervals since January 1,
1601 (UTC). That is not a typo, the year is 1601.
Does anyone have a clue(or algorhithm)for how this is converted to
something a little more POSIX-like ?
Thank you,
Derek
--
Derek N. Eder
Gothenburg University
VINKLA - Vigilance and Neurocognition
2001 Mar 28
1
Returning position of mouse cursor (without button press) ?
I would like a function that return the X,Y position of the mouse cursor
whenever it is called PERIOD, i.e., without the button presses of locator()
or identify().
E.G.,
> where.is.mouse()
[1] 123 34 # X and Y coordinates of present mouse position in current
graphics window
Is this a conceivable R function or does it need to be addressed with a call
to the OS (Windows 2000 in my case)?
2007 Jan 03
2
Lattice / Trellis analog of axis(graphics) ?
My question is so basic that I am (almost too) embarrassed to admit that
I could not find an answer after an hour's worth of homework.
What is the Trellis / Lattice analog for the axis(graphics) function
that enables the creation of axes in locations other than the default
(i.e., bottom for X axis and right for Y axis) ?
For example when plotting mileage against weight (in American
2006 Dec 06
1
POSIX and summer savings time
I have a time stamp in UTC (GMT) time:
> format(ISOdatetime(1970,1,1,0,0,0)+1165398135729/1000,"%Y-%m-%d
%H:%M:%OS3")
"2006-12-06 09:42:18.823" (note millisecond accuracy, but not relevant
to question here)
Now, this time stamp actually "happened" at local (Swedish) time one
hour later (10:42).
Regarding summer/winter adjustments in time ("spring
2005 Apr 13
5
R binaries for UMBUTU Linux?
Has anyone out there compiled R for the Umbutu Linux* (ne? Debian) v.
5.04 distribution for Intel-type platforms (32 and 64 bit) ?
Thank you,
Derek Eder
* Umbutu, a popular new Linux distribution, not a Nigerian scam, I
promise! http://www.ubuntulinux.org/
--
Derek Eder
SDS KLINIKEN
Vasaplatsen 8
SE 411 34 G?teborg (Gothenburg) Sweden
phone: +46 (31)* - 10 77 80
fax: +46 (31)* - 10 77
2009 May 26
1
interactive file choosing in Linux?
I am used to using the [R] function choose.files() for interactive file selection in MS-Windows.
What is the comparable function in Linux? I expected the function file.choose() to display similar behavior, i.e., a graphical interface diplaying a file listing, but all I seem to get is a "text input prompt". This does not seem correct.
> file.choose()
Enter file
2006 Oct 04
2
rendering date/times from 64bit julian format?
Hellos,
I have date/times in 64-bit Julian format, that is the number of
milliseconds since 1 jan 1970 (or something like that). E.g.,
"1159884877406"
For the life of me I can't figure out how to render these in a more
readable format, e.g., "2006-10-04 23:12:93.191" (and I have tried to
do my best searching the archives and help etc ...)
Thank you most
2006 Jul 14
2
Export to LaTeX
Dear Everybody!
I want to export data to LaTeX. As I want to employ the data as freely as
possible I want to avoid the xtable-command and instead generate some List
like
\MyOwnPrettyCommand{Adam}{Auer}{17}
\MyOwnPrettyCommand{Bertram}{Bauer}{14}
\MyOwnPrettyCommand{Christoph}{Huber}{75}
\MyOwnPrettyCommand{Damian}{Dorfer}{69}
\MyOwnPrettyCommand{Emanuel}{Eder}{43}
with \MyOwnPrittyCommand
2003 Jun 11
1
COX PH models for event histories?
This is a question about the use of the Cox proportional hazards model to analyze event histories.
I am looking at the responses of sympathetic nervous system activity to a stimulus. The activity I observe is a burst that can only occur once per heart beat cycle (e.g., a binary count). Typically bursts occur in 60-80% of the heart cycles * sensory stimuli can modify these burst probabilities.
2010 Nov 23
2
Error: cannot allocate vector of size x Gb (64-bit ... yet again)
Hello,
I am facing the dreaded "Error: cannot allocate vector of size x Gb" and
don't understand
enough about R (or operating system) memory management to diagnose and
solve the problem
-- despite studying previous posts and relevant R help -- e.g.:
"Error messages beginning cannot allocate vector of size indicate a
failure to obtain memory,
either because the size exceeded
2016 Nov 25
7
[PATCH net-next] virtio-net: enable multiqueue by default
We use single queue even if multiqueue is enabled and let admin to
enable it through ethtool later. This is used to avoid possible
regression (small packet TCP stream transmission). But looks like an
overkill since:
- single queue user can disable multiqueue when launching qemu
- brings extra troubles for the management since it needs extra admin
tool in guest to enable multiqueue
- multiqueue
2016 Nov 25
7
[PATCH net-next] virtio-net: enable multiqueue by default
We use single queue even if multiqueue is enabled and let admin to
enable it through ethtool later. This is used to avoid possible
regression (small packet TCP stream transmission). But looks like an
overkill since:
- single queue user can disable multiqueue when launching qemu
- brings extra troubles for the management since it needs extra admin
tool in guest to enable multiqueue
- multiqueue
2013 Apr 01
1
Image segmentation
Hi,
I work with
remote sensing in Brazil. I would like to know if there is any algorithm or
package that does image segmentation by region growing in R.
Thanks,
Eder.
[[alternative HTML version deleted]]
2016 Nov 28
1
[PATCH net-next] virtio-net: enable multiqueue by default
From: "Michael S. Tsirkin" <mst at redhat.com>
Date: Fri, 25 Nov 2016 06:43:08 +0200
> On Fri, Nov 25, 2016 at 12:37:26PM +0800, Jason Wang wrote:
>> We use single queue even if multiqueue is enabled and let admin to
>> enable it through ethtool later. This is used to avoid possible
>> regression (small packet TCP stream transmission). But looks like an