Displaying 20 results from an estimated 30000 matches similar to: "c() in Mac does not work"
2012 Feb 15
1
Using readBin to read binary "unformatted" output files from Fortran?
Hello,
I'm wondering if I can get some help with reading Fortran binary "unformatted" output files into R.
The Fortran output files were generated in Ubuntu 10.04 LTS using gfortran4.4, on a 32bit Intel Core 2 Duo 3.16 GHz machine, with little-endian and record marker lengths equal to 4.
The machine I'm currently trying to read this Fortran output file is a Macbook Pro
2005 Apr 06
2
Precision
How precise is R numerically? For example I
wrote the following function for calculating
the volume of the ball inscribed in the
unit cube in m dimensions. In order to see what
happens in 40 dimensions, I created an output
of 24 digits. But how many are precise?
Thanks
Josef Eschgf?ller
Ferrara
---------------------------------------
Vol = function (m)
{if (m<=1) 1
else Vol(m-2)*pi/(m+m)}
2011 Sep 05
3
Mac OS X 10.5 compatibility?
I was wondering if Wine lost 10.5 compatibility, or if any of the few people out there with it have noticed a problem.
Up through 1.3.25 it seems to compile and work fine.
On 1.3.26 and 1.3.27 the compile will fail with errors about a bunch of symbols in msxml3.dll.so that are not found.
Building 1.3.26 and 1.3.27 on 10.6 or 10.7 using a 10.5 SDK it will build fine and still work on 10.6 and
2007 Aug 09
2
Systematically biased count data regression model
Dear all,
I am attempting to explain patterns of arthropod family richness
(count data) using a regression model. It seems to be able to do a
pretty good job as an explanatory model (i.e. demonstrating
relationships between dependent and independent variables), but it has
systematic problems as a predictive model: It is biased high at low
observed values of family richness and biased low at
2011 Nov 22
1
Re: Mac OS X 10.5 compatibility?
I'm trying to build a custom engine under Winery 1.3 on OSX 10.5 and I'm getting the same error that doh123 reported originally.
Doh123, I noticed you released WS8Wine-1.3.33 which works on OSX 10.5. How did you get this to compile? Did you compile on 10.5?
I can compile 1.3.33 using Winery 1.3 on 10.6, but it crashes when used on 10.5. We're working with a custom build of the wine
2016 Sep 30
2
Bug in 3.9.0 RTDyldMemoryManager.cpp
Hi folks,
I'm still using MCJIT (I know, I know), and I spotted a crash in exception
handling when I moved from llvm 3.8 to llvm 3.9. I traced it back to EH
frames not being deregistered due to a (typo?) mistake in
RTDyldMemoryManager.cpp:
void deregisterEHFrames(uint8_t *Addr, uint64_t LoadAddr, size_t Size)
override {
* registerEHFramesInProcess(Addr, Size);*
}
..I overrode the
2010 Jul 19
3
ActiveRecord override
Would really appreciate it if someone could tell me why this is happening:
I override ssn method of AR class so I can encrypt/decrypt to/from the db:
class Person < ActiveRecord::Base
def ssn=(value)
write_attribute(:borrower_ssn, Crypto.encrypt(self.encryption_key,
value))
write_attribute(:borrower_ssn_final_four, value[5,4])
end
def ssn
# this begin - rescue can be
2009 Jan 16
2
data frames with å, ä, and ö (=non-ASCII-characters) from windows to mac os x
Hi,
I ran into this issue previously and managed to solve it, but I've
forgotten how and am getting frustrated...
I have a data frame (see below) with scandinavian characters in R
(2.7.1) running on a Win Xp-computer. I save the data frame in an
RData-file on a usb stick, and load() it in R (2.8.0) running on OS X
10.5. Now the name of the data frame and all factor labels with
scandinavian
2013 Oct 25
1
add a color band
Hi all,
I would like to ask your help to add a color band (Ι am not sure regarding the right term, this color band at the right of the plot "describing" values with their corresponding color.
For now I have only this code
test<-matrix(data=runif(10000),nrow=100)
plot(test,axes="FALSE")
axis(1,at=c(0,1),labels=c("a","b")) #
but I would like to add
2012 Jul 19
2
change file name from file0.1_data.RData to file1_data.Rdata
Dear All,
I want to change file names.
I have file0.1_data.RData (I have several files whose names are
file0.x_data.Rdata)
I want to rename it to file1_data.RData
How can I do it?
Thank you for saving my time!
[[alternative HTML version deleted]]
2009 Jul 17
1
Any workaround for CRAN Mac OS X compiler switch to R 2.10.0?
Hello,
Has the CRAN compiler for Mac OS X switched to using R 2.10? I
recently uploaded an update for the package I maintain to CRAN, and
it's no longer possible to run the package after installing CRAN
binaries for this package under Mac OS X 10.5 and R 2.9.1.
The package is picante 0.7-1. It passes all checks on CRAN cleanly.
Under R 2.9.1 on Mac OS X 10.5, the package can be
2007 Dec 13
3
OpenSSH patches for Mac OS X
OpenSSH Unix Dev,
Mac OS X 10.5 recently shipped with OpenSSH 4.5p1. This build
includes a number of patches, some general bug fixes and some platform-
specific fixes and enhancements. These patches are available from our
open source site (http://www.opensource.apple.com/darwinsource/10.5/OpenSSH-87/
).
Following is a brief description of each patch. We'd be more than
happy to
2006 Oct 25
2
update index in "for" statement during calculation
Hello,
I have a time series of data as a data.frame. Occasionally there is
one or more days missing (e.g. data available for days 2, 3, 4, 8, 9,
10 --> missing days between 4 and 8). The experimental time
information can be found in the 2nd column of "data". I would like to
have a continuous time line with one time point per day. Therefore I
try to insert lines for the missing
2007 Nov 06
2
Mac OS X Leopard and C compiling
I recently bought a new Intel Mac with OSX Leopard. I reinstalled the
latest version of R and the Xcode tools. I'm trying to compile a C
source code with the R compiler in X11, and I receive the following
error message:
[Macintosh:School Work 07-08/36-711/HW 3] dajmcdon% R CMD SHLIB McDonaldHW3.c
gcc-4.0 -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk
-std=gnu99 -no-cpp-precomp
2007 Nov 06
2
Mac OS X Leopard and C compiling
I recently bought a new Intel Mac with OSX Leopard. I reinstalled the
latest version of R and the Xcode tools. I'm trying to compile a C
source code with the R compiler in X11, and I receive the following
error message:
[Macintosh:School Work 07-08/36-711/HW 3] dajmcdon% R CMD SHLIB McDonaldHW3.c
gcc-4.0 -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk
-std=gnu99 -no-cpp-precomp
2009 Dec 22
1
[LLVMdev] Cross-compiling LLVM on Mac OS X
On Dec 21, 2009, at 3:39 PM, Rob Rix wrote:
>> Anyhow, Rob, best bet is to just use -arch to build everything up. lipo knows what needs to happen.
>
> Unfortunately that doesn’t appear to be enough; using -arch in CFLAGS (and CXXFLAGS) and not using --build or --host builds for x86_64 no matter what you specify for the architecture (in my case, the documented i386 and ppc).
>
2006 Oct 23
6
nested if/else very slow, more efficient ways?
Hello,
in the data.frame "resultsfuzzy" I would like to replace the
characters in the second column ("5a", "5b", ... "5e") with numbers
from 1 to 5. The data.frame has 39150 entries. I seems to work on
samples that are << nrow(resultsfuzzy) but it takes suspicously long.
Do you have any suggestions how to make the character replacing more
2006 Mar 17
2
Controller/View Organization (Newbie Question)
Good afternoon all...
First, let me apologize for asking a potentially dumb question. I''m
new to both Ruby and Rails, but I do have a long background in OO
programming and web development.
My question is about how to structure controllers for the various
models which I will need in my application. My data will look
something like this:
Dog
- (has_many) TrainingSessions
-
2009 Dec 21
5
[LLVMdev] Cross-compiling LLVM on Mac OS X
Hello,
I’ve spent the past day or so attempting to get LLVM’s libraries built as a Mac OS X-style universal binary, the first step of which is to get them built for each component architecture (i386, x86_64, ppc, and ppc64).
The first two are straightforward as I am working on an x86_64 Mac (running Mac OS X 10.6, which corresponds to Darwin 10), but building ppc binaries has thus far eluded me.
2013 Jan 14
3
readJPEG function cannot open jpeg files
I installed jpeg package and tried to use
kim<-readJPEG("kim.jpeg") to read in a jpeg file, but R gave me an error:
Error in readJPEG("kim.jpeg") : unable to open kim.jpeg
I already put "kim.jpeg" in Rstudio's default working directory: "E:\home
work\Rstudio". So I don't think it's a problem caused by omitting the file's
path. But I