Displaying 20 results from an estimated 10000 matches similar to: "Loading workspaces from the command line"
2012 May 08
1
Fast reading of hex data?
Hi all,
Basically, I have data in the format of (up to 1 gig in size) text files
containing stuff like:
F34060F81000F28055F8A000F2E05EF8F000F34 (...)
The data is basically strings denoting hex values (9 = 9, A = 10, B = 11,
...) organised in fixed, small blocks. What I want to do is to read in a
specified segment of the string, break it up into blocks, and convert it
into a vector of integers
2009 May 28
2
Replace is leaking?
Okay, someone explain this behaviour to me:
Browse[1]> replace(rep(0, 4000), temp1[12] , temp2[12])[3925]
[1] 0.4462404
Browse[1]> temp1[12]
[1] 3926
Browse[1]> temp2[12]
[1] 0.4462404
Browse[1]> replace(rep(0, 4000), 3926 , temp2[12])[3925]
[1] 0
For some reason, R seems to shift indices along when doing this replacement.
Has anyone encountered this bug before? It seems to crop up
2009 Feb 06
1
Finding a basis in a set of vectors
Hi,
Okay, I have a n x p matrix X, which I know is not full rank. In
particular, there may be linear dependencies amongst the columns (but
not that many). What is a fast way of finding a linearly independent
subset of the columns of X that will span the column space of X, in R?
If it helps, I have the QR decomposition of the original X 'for free'.
I know that it's possible to do this
2009 Feb 15
2
Fast ave for sorted data?
Hi,
This is probably really obvious, by I can't seem to find anything on it.
Is there a fast version of ave for when the data is already sorted in
terms of the factor, or if the breaks are already known?
Basically, I have:
X = 0.1, 0.2, 0.32, 0.32, 0.4, 0.56, 0.56, 0.7...
Y = 223, 434, 343, 544, 231.... etc
of the same, admittedly large length.
Now note that some of the values of X are
2008 Jan 20
1
Looping over subsets
Hi,
Possibly a dumb question, but I wonder if anyone can help me with this.
What I want to do, essentially, is to loop over all ordered subsets of a
given size of a certain set. Ultimately, the idea is to find the subset
that maximises a certain value.
The set in question is likely large (the subset size is likely small,
though), so things like combn don't seem to be a good solution. The
2008 Oct 22
1
Inserting blank lines into a file
Hi,
Should be a quickie:
I want to make a datafile in R for plotting in gnuplot (which has
friendlier 3D plotting options, as far as I can tell). So, I want to
create a file with contents along the lines of
#File begins
0 0 10
0 13 10
0.2 2 10
1 0 10.12
1 1 5
1 2 10
2 0 10
2 1 1
2 2 10
It's probably fairly easy to write the space-separated numbers with
write.table, sink, or similar. But
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>
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
2006 Mar 10
1
To improve my understanding of workspaces
Hello.
I have grown accustomed to the .Data directory in S-Plus and so when
I came to R I continued that behaviour by saving my workspaces at
the end of each R session. So, I have saved workspaces in various
directories where I have used R just as I would have had various
.Data directories where I had used S-Plus.
I have seen comments on the list, most recently from Prof. Ripley
that they
2004 Oct 31
1
another question about fisher.test
Dear all,
I have another question about fisher.test:
Is there any way to save the resulting p-value in a
matrix or file after a loop as below?
for (i in 1:42) {
# testing difference in income(pinc) between people in
# (with in1=1) and out (with in1=0) of the program for
# group i
fisher.test(m$pinc[m$group==i], m$in1[m$group==i],
workspace=40000000, hybrid=F)}
When I run this loop, there is no
2004 Oct 31
1
another question about fisher.test
Dear all,
I have another question about fisher.test:
Is there any way to save the resulting p-value in a
matrix or file after a loop as below?
for (i in 1:42) {
# testing difference in income(pinc) between people in
# (with in1=1) and out (with in1=0) of the program for
# group i
fisher.test(m$pinc[m$group==i], m$in1[m$group==i],
workspace=40000000, hybrid=F)}
When I run this loop, there is no
2007 Aug 22
6
Synchronzing workspaces
How do people go about synchronizing multiple workspaces on different
workstations? I tend to wind up with projects spread around the various
machines I work on. I find that placing the directories on a server and
reading them remotely tends to slow things down.
thanks,
Eric
--
Eric Turkheimer, PhD
Department of Psychology
University of Virginia
PO Box 400400
Charlottesville, VA 22904-4400
2013 Jul 27
1
[LLVMdev] arch-specific predefines in LLVM's source
Hi,
> ----- Original Message -----
>>> ----- Original Message -----
>>>> Hi all,
>>>> My recent commit r187027 fixed a simple oversight of forgetting
>>>> to
>>>> check for __ppc__ (only checking __powerpc__), which broke my
>>>> powerpc-apple-darwin8 stage1 tests, since the system gcc only
>>>> provided
2006 Oct 13
2
Version of R in saved workspaces
useRs and developeRs-
Apologies for my naivety, but I just couldn't figure out how to open an
old workspace (created using R 2.3.0) using R 2.3.0 and not R 2.4.0
which is currently happening. For all I know this has always been the
case, but I'm having a problem with a function that doesn't work in
2.4.0 but does work in 2.3.1 (function is in the process of being
fixed). So I would
2012 Jan 17
2
[LLVMdev] powerpc-darwin8 build/test status page
Hi,
For anyone who might be interested, I've thrown together a little
page to track my builds of llvm and clang, both release 3.0 and
svn-trunk, on powerpc-darwin8.
http://www.csl.cornell.edu/~fang/sw/llvm/
I'll update the list of logs each time I svn-update and build. It's
nowhere as nice as a real buildbot page, but it's better than nothing.
3.0 still has over 20 test
2013 Jul 26
2
[LLVMdev] arch-specific predefines in LLVM's source
> ----- Original Message -----
>> Hi all,
>> My recent commit r187027 fixed a simple oversight of forgetting to
>> check for __ppc__ (only checking __powerpc__), which broke my
>> powerpc-apple-darwin8 stage1 tests, since the system gcc only
>> provided
>> __ppc__. I was wondering if this justifies using simpler macros like
>>
>> #define
2013 Jul 27
0
[LLVMdev] arch-specific predefines in LLVM's source
----- Original Message -----
> > ----- Original Message -----
> >> Hi all,
> >> My recent commit r187027 fixed a simple oversight of forgetting
> >> to
> >> check for __ppc__ (only checking __powerpc__), which broke my
> >> powerpc-apple-darwin8 stage1 tests, since the system gcc only
> >> provided
> >> __ppc__. I was
2011 Dec 16
3
[LLVMdev] llvm/clang test failures on powerpc-darwin8
Hi,
Thanks for the quick reply again.
> On Thu, Dec 15, 2011 at 1:17 PM, David Fang <fang at csl.cornell.edu> wrote:
>> Hi,
>>
>> I've bootstrapped llvm/clang from svn-trunk on powerpc-darwin8 (g++-4.0.1), and
>> have the following test results to share.
>> Summary below, full log at:
>>
2012 Jan 18
1
[LLVMdev] [cfe-dev] powerpc-darwin8 build/test status page
18.01.2012, 02:46, "David Fang" <fang at csl.cornell.edu>:
> Hi,
> For anyone who might be interested, I've thrown together a little
> page to track my builds of llvm and clang, both release 3.0 and
> svn-trunk, on powerpc-darwin8.
>
> http://www.csl.cornell.edu/~fang/sw/llvm/
>
> I'll update the list of logs each time I svn-update and
2012 Jan 18
0
[LLVMdev] [cfe-dev] powerpc-darwin8 build/test status page
On Wed, Jan 18, 2012 at 10:51:38PM +0400, Konstantin Tokarev wrote:
>
>
> 18.01.2012, 02:46, "David Fang" <fang at csl.cornell.edu>:
> > Hi,
> > ?????????For anyone who might be interested, I've thrown together a little
> > page to track my builds of llvm and clang, both release 3.0 and
> > svn-trunk, on powerpc-darwin8.
> >
> >