Displaying 20 results from an estimated 900 matches similar to: "Installing the Mac RGUI for OS X"
2003 Sep 12
2
Prebinding for DragonFly/FreeBSD-4
I created patch for DragonFly/FreeBSD-4 for prebinding, based on
mdodd@'s patch for FreeBSD-5.
The main difference (apart from the target platform) is that the linker
needn't be patched. Rtld now uses a hash function to get an unique ID
for every ELF object.
This has been tested under DragonFly, but should run on FreeBSD-4 too.
Feedback appreciated :)
cheers
simon
--
/"\
2006 Apr 28
2
Building RGL for R-2.3 for Tiger 10.4.6 on PPC
Hi,
I just installed R-2.3 for Tiger 10.4.6 on a PPC. However, though i
successfully installed RGL on R.2.2, this time it doesn't compile.
I get this error when trying the R INSTALL command
In file included from Texture.hpp:14,
from Material.hpp:5,
from BBoxDeco.hpp:16,
from BBoxDeco.cpp:1:
opengl.hpp:22:19: error: GL/gl.h: No such
2007 Jul 04
2
ZFS, iSCSI + Mac OS X Tiger (globalSAN iSCSI)
I have set up an iSCSI ZFS target that seems to connect properly from the
Microsoft Windows initiator in that I can see the volume in MMC Disk
Management.
When I shift over to Mac OS X Tiger with globalSAN iSCSI, I am able to set
up the Targets with the target name shown by `iscsitadm list target` and
when I actually connect or "Log On" I see that one connection exists on the
Solaris
2010 Feb 14
4
Feature Request: Multiline Comments
Hello,
Is it possible to extend the R lexer/parser to include multiline comments like
/*
acomment
*/
?
This way I can integrate emacs org-mode with my R code, so that I can
have a table of contents,
section folding, html-output of source etc.
e.g
/*
* Display Code
*/
#+BEGIN_SRC R
foo <- function(...){
stuff
}
#+end_src
and so on .
Thanks
Saptarshi
2009 Dec 01
4
Package is loaded but functions are not exported
Hello,
I wrote a package, which in the NAMESPACE file exports functions like this:
exportPattern("^\\rh")
On R-2.8 (Linux, 64), upon loading the package I have the rh functions present.
On R-2.10, Mac OS X, (32 bit), it builds, loads, but the functions are not
loaded, i.e the only function is rhyper (which is not from my package).
Is there something wrong with my package setup?
2008 Sep 19
1
Lines between panels in lattice
Hello,
I have a multi-page display each consisting of two-panels above each
other.
I need to draw a line from the top panel to bottom panel. Using
current.vpTree()
i find that "plot1.panel.1.2.vp" and "plot1.panel.1.1.vp" are the top
and bottom ones respectively.
I am using the following code(inspired by Paul Murrell's R Graphics)
to draw a line.
(All the
2012 Mar 16
3
Y-axis label on the right hand side in lattice?
Hello,
Is there a way to add ylab on the right hand side also (in lattice)?
Different from the left hand side?
Cheers
Saptarshi
[[alternative HTML version deleted]]
2009 Jan 05
2
eval using a environment X but resultsin .GlobalEnv
Hello,
Suppose I have an expression, E, which accesses some variables present
in an environment V.
I do this via
eval(E,envir=V)
however all assignments end up in V. I would like the results of
assignments in E to end up in the .GlobalEnv ? Or at least the calling
environment.
Is there a quick way to this instead of iterating over all objects E
and assigning into .GlobalEnv?
Thank you
Saptarshi
2009 Sep 23
2
Crash due to extreme example
Hello,
I was trying this bit of code (i know it is an extreme case)
g=function(r){
if(r==1)
return(list(x=1))
else
return(list(x=g(r-1)))
}
For z=g(500), the code runs but when I print z i.e
>> z
I get
<environment: R_GlobalEnv>
*** caught bus error ***
address 0x1, cause 'non-existent physical address'
Possible actions:
1: abort (with core dump, if enabled)
2009 May 10
2
In C, a fast way to slice a vector?
Hello,
Suppose in the following code,
PROTECT(sr = R_tryEval( .... ))
sr is a RAWSXP vector. I wish to return another RAWSXP starting at
position 13 onwards (base=0).
I could create another RAWSXP of the correct length and then memcpy
the required bytes and length to this new one.
However is there a more efficient method?
Regards
Saptarshi Guha
2008 Nov 30
1
Rserve and creating a list of lists
Hello,
I have some code which generates lattice objects. The function
recieves serialized forms of the lattice objects which it then
unserializes and then adds to an ArrayList<REXP>.
REXPRaw rser = new REXPRaw( target ); //target contains the raw
serialized forms of lattice objects
rconn.assign("temp",rser);
REXP ret =
2009 Aug 14
1
Embed R, and provide a function to user scripts
Hello,
I'm not sure how to go about this. Suppose I have a function
SEXP boo(SEXP x){
//do something
}
Also, I have an executable which embeds R in itself. I would like to provide
a R function to user code to call that calls 'boo' e.g
##user supplied expression that is given to me
x<-1
boo(x)
One way is to create a library with function boo that performs .Call to boo,
but is
2014 Mar 06
2
A question about multiple(?) out of order ReleaseObject
Hello,
This is a question that probably reveals my lack of understanding.
In a C function (call it cfunc), i created a SEXP, called S, and then
called R_PreserveObject on S.
I returned the SEXP to the calling R function (call it rfunc). Note, I
didn't call
R_ReleaseObject on S.
v <- .Call("cfunc")
So, are the following statements correct
1. S is 'doubly' protected
2010 Aug 15
2
time of serialization
Hello,
I have question about the overhead in lapply.
x is a list of 3000 lists. Each of the i (1<=i<=3000) list elements is
pair of two elements: a string vector and a data frame
x is roughly 235MB.
> gc()
##
> z <- system.time(y <- lapply(x,function(r){
system.time(serialize(r,NULL))['elapsed']
}))
> sum(unlist(y))
18.812
> z
user system elapsed
494.144
2009 Oct 25
2
[LLVMdev] configuring LLVM 2.6 for OSX 10.4sdk on OSX 10.5 system
Hi all,
(Sorry if the answer to this is obvious - and thanks in advance~)
Short version:
linker error of _backtrace from LLVMSystem.a building a dynamic
library embedding LLVM/clang, both against the OSX 10.4 sdk.
Long version:
I've just tried rebuilding my project using the 2.6 release, using the
following commands to try and force LLVM to build against the OSX 10.4
sdk (I am
2008 Oct 06
1
Lattice and Axis height
Hello,
My plots consist of 2 rows, 1 column, many pages
I've managed to selectively turn of strips for the bottom panel and
roll my own strip for the top
par.strip.text = list(lines = c(0,3),cex=0.6)
I have my own custom prepanel function too.
What i'd like to do is turn off the x-axis for the top panel (since on
a given page the xlim is same for both top and bottom panel, but the
2002 Apr 02
1
[SUMMARY] 2 Linux boxes, failover, & 1 EXT3 RAID
Hello,
Many warm thank yous to Bill Rugolsky Jr. and Stephen Tweedie for their help on
this one. Both pointed out that since the file system is journaled, if the
primary box (nas1) were to crash, the secondary box should mount the ext3 file
system without any problems. Depending on the nature of the journal (metadata
journaling and/or data journaling), we may have little or no data loss.
Bill
2008 Dec 12
1
Writing a Long across the network?
Hello,
I have to write single Long to a server written in java. The server
passes the input as
in.readLong() // it expects to receive 8 bytes
In Python, i can do it by sending struct.pack( "!q", value)
However, I have tried this
writeBin(length(x),con=conn,endian="big") #conn opened in binary
But the response on the server side is wrong, eg. 1 is received as
2009 Sep 20
1
Return a list from a .Call but segfaults
Hello,
I call a function via .Call passing to it a raw vector(D) and an
integer(I)
The vector is a series K1,KData1, V1,VData1, K2, KData2, ...
where the integer K1 is the length of Data1 and similarly for Ki (wrt
Datai)(similarly for V*) There 2*I such pairs( (Ki,KDatai), (Vi,VDatai))
The numbers Ki(and Vi) are written in network order.
I am returning a list of I elements each element a
2013 Apr 26
2
Transferring R to another computer, R_HOME_DIR
Hello,
I was looking at the R (installed on RHEL6) shell script and saw
R_HOME_DIR=/usr/lib64/R. Nowhere (and I could have got it wrong) does
it read in the environment value R_HOME_DIR. I have the need to rsync
the entire folder below /usr/lib64/R to another computer into another
directory location. Without changing the R shell script, how can i
force it read in R_HOME_DIR?
Or maybe i