similar to: To use breaktodebugger(), which file should I include in C code?

Displaying 20 results from an estimated 50000 matches similar to: "To use breaktodebugger(), which file should I include in C code?"

2007 Apr 02
2
Compiling C codes in Windows
Hi All, I have been struggling to figure out how to compile c codes for R use. I am using Win XP + Cygwin + R binaries. After I followed all the instructions in " Building R for Windows" from Murdoch's website, I tried to Run something like : R CMD SHLIB C:\R\test.c , but still didn't get any output. My first question is, does this mean I already did
2007 Apr 02
2
Compiling C codes in Windows
Hi All, I have been struggling to figure out how to compile c codes for R use. I am using Win XP + Cygwin + R binaries. After I followed all the instructions in " Building R for Windows" from Murdoch's website, I tried to Run something like : R CMD SHLIB C:\R\test.c , but still didn't get any output. My first question is, does this mean I already did
2007 Jan 09
4
A question about R environment
Hi all, I created environment "mytoolbox" by : mytoolbox <- new.env(parent=baseenv()) Is there anyway I put it in the search path ? If you need some background : In a project, I often write some small functions, and load them into my workspace directly, so when I list the objects with ls(), it looks pretty messy. So I am wondering if it is possible to creat an
2006 Sep 27
2
How to pass expression as an argument
Hi, I am writing a function and need to pass a function expression as an argument, for instance, myfun <- function( express) { x<- c(1,2,3) y<-express } if I call the above function by myfun( x*2 ), I get 2 as the result, instead of 2,4,6 , could someone help me to fix this problem ? Furthermore, is that
2007 Feb 02
2
A question about dput
Hi, I am trying to output a R data set for use in WinBugs, I used dput(list(x=rnorm(100),N=100),file="bug.dat") But I can't get the intended format: list(x=c(.......),N=100), instead, I got something like this (copied the first two lines): [00000000]???73?74?72?75??63?74?75?72??65?28?6C?69??73?74?28?78???? structure(list(x
2005 Jun 28
2
How to import data as numeric array?
Did some search but couldn't find useful result. I am trying to read a n*m dimension data with read.table, what i need is a numeric array, is there any efficient way to allow me get this array directly instead of a list? I tried to use as.array() to change the mode, but seems it doesn't work and i got this error message: "Error in "dimnames<-.data.frame"(`*tmp*`,
2007 Jan 14
1
Questions about paste and assign
Hi, I would like to assign a value to a member b of the list a in position 3, by calling: assign( target, 2.34, 3) My question is what the "target" should be. I tried target <- paste("a", $, "b") and something else, but haven't got the right answer yet. BTW, if I attached a list named
2007 Apr 01
1
Keep R packages in the R installation
Hi, I just got a quick question here, when I install a new version of R , is there an easy to keep the installed R packages ? Thanks a lot for any help. tong
1997 Apr 24
1
R-beta: multiple binary types
I've modified the "$RHOME/bin/R" and "$RHOME/cmd/filename" so that you can use the same directories for multiple machines. That is, machines running various flavors of UNIX can access the same directories. The modified structure adds the directories $RHOME/bin/$OSTYPE/ $RHOME/lib/$OSTYPE/ to hold the machine specific binaries. For instance, here the $RHOME directory
1997 Apr 24
1
R-beta: multiple binary types
I've modified the "$RHOME/bin/R" and "$RHOME/cmd/filename" so that you can use the same directories for multiple machines. That is, machines running various flavors of UNIX can access the same directories. The modified structure adds the directories $RHOME/bin/$OSTYPE/ $RHOME/lib/$OSTYPE/ to hold the machine specific binaries. For instance, here the $RHOME directory
1999 Jul 28
1
problem to install R-0.64.2 on mips-sgi-irix6.4
Dear all, I hope the following problem haven't been discussed here recently (I could not find anything about it the help archive files) : I tried to compile R-0.64.2 from the source files without much success... the last lines from the output of the ./configure command were : ---------------------------------------------------------- R is now configured for mips-sgi-irix6.4 Source
2007 Dec 20
2
SHLIB steps on a Makefile
Hi, I need to create a Makefile.win for a given package so as to fiddle slightly with the compilation process. My Makefile works fine in Linux but I am having trouble creating Makefile.win for MinGW. I first looked at the commands that Rcmd SHLIB appeared to be running and copied those onto the Makefile. But one step seems to be missing, the creation of the _res.rc file needed by windres
1999 Feb 17
2
HREFS for private packages - fixed? (PR#19)
Anyone know if this is still with us? -pd > There is however, a small problem with installing the HTML documention in a > private (i.e. not RHOME/library) location. The file > > RHOME/doc/html/packages.html > > linking the main documention to the packages is written (BTW this will probably > fail if the package owner and the R owner are not the same) but the links in it
2011 Aug 16
1
Problems installing SJava
Hello, I am trying to install SJava but I haven't been able to complete it successfully. I have tried to install it from bioconductor using the followin code and got the following output: > source("http://www.bioconductor.org/biocLite.R") BioC_mirror = http://bioconductor.org Change using chooseBioCmirror(). > biocLite("SJava") Using R version 2.12.2, biocinstall
2007 May 16
2
Installing SJava - problem
Hi there. I am trying to install SJava on my windows xp machine. I downloaded the windows source file SJava_0.69-0.tar.gz from the web site http://www.omegahat.org/RSJava/ I have folloed the XP command line instructions as directed in the table underneath the download link: cd $RHOME/src/library unzip SJava_0.69-0.zip cd SJava ./configure.win $RHOME cd $RHOME/src/gnuwin32 make pkg-SJava I
2007 Apr 23
2
How to debug C code running in R
Hi, I am in the situation where I could get my code run correctly under GNU C, but it produced different (strange) results while running in R . ( I use .C to call the function). May I get some general advice on how could I do step by step debug of source code in R ? Thanks
1998 Jan 19
2
R-beta: updating the library index / overriding compile options
Would it be possible to include a new command in the ${RHOME}/etc path, which updates the Library index (Rd and html) via "R LIBINDEX". I need it because I use RPM to manage three different R installations (at home, at the institute and in the seminar rooms). I put all libraries into several packages, so it is easy for me to update a single library at all these different places. But
2005 Sep 06
1
bash help please
I'd like to make MikTeX the default TeX package in 2.2.0, but we still need to let people use other packages. The problem is that MikTeX wants a command line option --include-directory $R_HOME/share/texmf, while other packages specify includes via environment variables, and barf when they see the unexpected option. The choice should be controlled by the user's settings in the MkRules
1999 May 19
1
shell command
Using R (version 0.63.3) for MS windows, I try the following command > shell(paste("cd ",getenv("RHOME"),sep="")) which replies with an error message Too many parameters - FILES\RW0633 which appears to suggest that the space if the path name is causing difficulties to the cd command. getenv returns > getenv("RHOME") RHOME
2005 Dec 28
1
Omegahat sjava
I am trying to download and install Omegahat Sjava (http://www.omegahat.org/RSJava) to be able to call R from within Java. The install instructions are as follows: cd $RHOME/src/library unzip SJava_0.69-0.zip cd SJava ./configure.win $RHOME cd $RHOME/src/gnuwin32 make pkg-SJava However, my command prompt won't recognize "unzip","./configure.win", or