Displaying 20 results from an estimated 800 matches similar to: "compile error on mac os x"
2005 Dec 30
8
WxRuby newbie Mac OS 10.4 install questions
Hi. Forgive me if I am asking questions that have already been
answered a million times,
but there doesn''t seem to be an easy way to search the wxruby-users
archives, so...
I tried to install wxruby for the Mac
by downloading the latest Mac package installer from
rubyforge.org/frs/download.php/1985/wxruby-0.6.0-osx-panther.dmg
and tried to run some of the wxruby-0.6.0/samples from the
2006 Aug 03
1
Using RichEdit 2 or 3 control
WxRuby1 only defines the constant for RichEdit 1.0. From reading MSDN,
features of the 2.0 or 3.0 version of this control are superior. I found
the constant that enables use of the later version in the style parameter
of the constructor:
TE_RICH2 = 32768
I think RichEdit2 or 3 is automatically used depending on what is
available in the
Windows installation.
Hope this tip helps others.
Jamal
2005 Jul 20
6
Wxruby2 gemspec
Hi
A gemspec for installation of wxuby-swig via rubygems. It assumes the
end-users will compile the pre-swigged .cpp files & that that the main
require file will be wx.rb (as per Kevin''s suggestion). runrake.rb is
just a helper script that runs rake correctly within the rubygems
installation process.
# to build the gem
gem build wxruby2.gemspec
# to build & install the
2008 May 23
3
Rss-wxruby
Bonjour Alex.
J''ai créer une application(Rss-wxruby) et je l''ai déposée en téléchargement sur le site "Tom''s guide". Ils ont créer les screenshots, et la problème:
Il y a des carrés qui ressortent de partout???
Voilà un url pour l''exemple du problème avec les carrés qui ressortent:
2008 Dec 22
3
row sum question
Dear helpers,
I'm using R version 2.8.0.
Suppose that I have a small data set like below.
[,1] [,2] [,3] [,4]
a 1 1 0 0
b 0 1 1 0
c 1 1 1 0
d 0 1 1 1
First, I'd like to find row sum of values uniquely present in each row, but
only sequentially from the top row, meaning that if the value is shown in
the above row(s) already, the
2005 Aug 09
5
wxruby2 release goals
Greetings all,
The recent ruby-talk posting about wx (cross-posted here by Curt) made
it clear that we need to release some code soon, to present a public
image of moving forward.
Thus, my first goal is to release a "preview" version of wxruby2 as soon
as we have a version that builds and can run the minimal sample on all
three major platforms (Linux, MS Win, Mac OSX). This would
2008 Nov 11
1
data type problem for vegan package
Dear all,
I'm using R2.8 version, and am trying to do NMDS and calculate other
diversity indices in vegan package.
The problem is that it works with a small set of data (43 X 23; row by
column), but the following error message comes up with a larger data set (43
X 104) (it seems not large to me at all). I made it sure that all data are
of numeric type as required.
>gh1.H=diversity(gh1)
2005 May 19
1
Problems installing wxRuby on Mac OS X 10.3.9
I tried to install wxRuby on my Mac, but I get the following error.
g++ -fno-common -g -O2
-pipe -fno-common `wx-config --cxxflags` -I.
-I/usr/local/lib/ruby/1.8/powerpc-darwin7.9.0
-I/usr/local/lib/ruby/1.8/powerpc-darwin7.9.0 -I. -x objective-c++
-c htmleasyprinting.cpp
htmleasyprinting.cpp: In static member function `static VALUE
WxHtmlEasyPrinting::PrinterSetup(int, VALUE*,
2010 Aug 13
1
subsetting data points within confidence limit
Dear R-list
Suppose I have a data set stored in hmet, for which I did get confidence
limit on a linear regression as shown below.
My question is how I can subset only data points which are within the
confidence limit.
Thank you.
Keun-Hyung
---------------------------------------------------------------
Al=rnorm(100, 3)
Cd=rnorm(100, 0.2)
hmet=data.frame(Al=Al, Cd=Cd)
plot(Al,
2006 Apr 15
3
Further problems with rubyt2 on MacOS X (intel)
List,
I''m trying to build wxRuby on MacOS X 10.4.6 (intel). I''ve come across
some of the problems mentioned on the list, i.e. the RubyConstant issue
and the "id" keyword conflict issue. however somethings''s happening
that as far as I can see has not been mentioned on the list. here''s the
first few lines of the build fail report:
2007 May 10
11
wxRuby2 0.0.40
Congratulations, wxRuby2 0.0.40
but,where is 0.0.40 mswin32.gem?
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2007 Jun 05
2
generating many matrices
I'd like to generate many matrices (let's say 100 matrices of 4x4), of which
diagonal elements are being drawn from each set of sample of known
distribution.
What would be the best way? I've been trying to find any previous threads
for this topic, but haven't been able to find one.
Thanks. Kevin
[[alternative HTML version deleted]]
2008 Jun 01
2
optim error - repost
Here is a clean version. I did this with nls and it works (see below), but
I need to do it with optim. Keun-Hyung
# optim
vol<-rep(c(0.03, 0.5, 2, 4, 8, 16, 32), 3)
time<-rep(c(2,4,8),each=7)
p.mated<-c(0.47, 0.48, 0.43, 0.43, 0.26, 0.23, NA, 0.68, 0.62, 0.64, 0.58,
0.53, 0.47,
0.24, 0.8, 0.79, 0.71, 0.56, 0.74, 0.8, 0.47)
eury<-data.frame(vol=vol, time=time, p.mated=p.mated)
2006 Apr 27
5
Major Breakthrough?
Attached are patches to make the textctrl.rb sample work fully. Note
the new %directorargout typemap I added to fix wxWindows calling into
SWIG. I don''t know if this can fix all such problems or not. Let me
know what you think.
I also rubified the sample a little bit more. Also, note that I fix the
<< operator so the function can be called. I hope I did this right.
Roy
2006 Sep 17
11
ShapedWindow.rbw
These patches implement wxRegion and the ShapedWindow sample. I stole
the ruby image from ruby-lang.org. Shamelessly. Maybe someone has a
better image we can use for the shaped window. It didn''t seem to make
sense to use the Python image. I''d like something even bigger than what
I stol^h^h^h^hmade, preferably. Image goes in icons.
I had to %ignore one function in wxRegion.
2017 May 24
1
precision of do_arith() in arithmetic.c
To the R development team:
First of all, thank you so much for maintaining wonderful R software.
Perhaps, Dr. Ahn has just reported an error on the wilcox.test() function,
and suggesting that an error may arise from abs() and rank().
I just had a quick check that the problem may come from the precision of
the results of arithmetic functions.
87.7-89.1+1.4
# > 87.7-89.1+1.4
# [1]
2008 Nov 12
1
read.table with many blanks (reposting)
Thanks Jim for pointing out how to properly ask.
Here is is my question and a small subset of the data and output.
I have a data set with many blanks. The blanks should be replaced with zero
once imported.
I tried read.table, read.csv (R 2.8 version),or scan, but none was
successful.
Any suggestion, please..
thanks.
Keun-Hyung
>garoben=read.table("c:\\Rdata\\garoben.txt",header=T,
2004 Apr 23
11
Building wxruby-swig for Mac
0.0.5 sure gets the Mac build a lot further.
There''s a bug in the wxMac-2.4.2 distribution that I''m running into:
wx-config wants to invoke a program in the source directory at link
time. That''s ugly in itself, but it tries to use a variable
${top_srcdir} to accomplish this, and it''s apparently empty. It tries
to invoke
2005 Jul 20
1
wxr2 build error CVS HEAD on OS x
Hi
I''m getting a build error with the current cvs HEAD of wxruby-swig. Perh
something to do with the unicode changes?
OS X 10.3
WxMAC 2.6.0
ruby 1.8.2
thanks
alex
g++ -c -I/usr/local/lib/wx/include/mac-ansi-release-static-2.6
-I/usr/local/include/wx-2.6 -D__WXMAC__ -D_FILE_OFFSET_BITS=64
-D_LARGE_FILES -DNO_GCC_PRAGMA -O2 -fno-common -pipe -fno-common -x
objective-c++ -I
2004 Apr 23
1
(no subject)
Dear all:
I am developing a package in R. While I am running R CMD check, I found
the following warning message:
Found the following C sources/headers with CRLF line endings:
src/hem.c
src/random4f.h
ISO C requires LF line endings.
It seems that it comes from a line ending problem in C. What are CRLF/LF
line endings?
How can I fix it? Thank you for your help in advance.
Best,
HJ