similar to: handling warning messages

Displaying 20 results from an estimated 3000 matches similar to: "handling warning messages"

2009 Jun 02
1
C++ to R : 64bit to 32bit problem.
Hi, I'm new to calling C++/C programs from R and am having some trouble getting started. Following Sigal Blay (Simon Fraser University)'s instructions, I have a .c file called "useC1.c": /* useC1.c */ void useC(int *i) { i[0] = 11; } This produces a .o file : "useC1.o" in a specified directory. I then open R, set the proper directory and:
2004 Nov 19
2
ERROR: installing package indices failed
Dear R-helpers, I am developing a package named LDehatmap. It depends on the "genetics" package and includes two data files and a demo file. When I'm trying to install it, I get the following messages: * Installing *source* package 'LDheatmap' ... ** R ** data ** demo ** help >>> Building/Updating help pages for package 'LDheatmap' Formats: text html
2010 May 01
3
Resize Graphics Window
Need way to resize an existing graphics window. This should be applicable across platforms (as part of a package). Context: function1() draws main plot (I'm using grid), function2() adds smaller plot above main plot, but this one can sometimes overflow the original graphics window area. Thanks, Sigal
2004 Sep 07
1
C function name garbled
I wrote an R wrapper function (phylpro) around a C function (Rphylpro). The first time I'm running my function, it runs with no errors. The second time I'm trying to run it, I get an error message with the first argument to .Call garbled. Set up: > dyn.load("Phylpro.so") > source("phylpro.R") > WinHalfWidth<-30 > permReps<-10 > breaks<-c(548,
2010 Aug 18
1
rJava: System.exit(1) in Java causes R crash
I'm writing a package that successfully calls Java from R using rJava. When R sends my Java function bad data (through .jcall()), I get the error message details (when I run it on a console) and then: Java requested System.exit(1), closing R. Is there a way to call .jcall so that when Java receives bad data, the Java function will exit, but won't take down R with it? Thanks, Sigal
2005 Feb 04
1
R package with C code on Windows
Dear R helpers, MyPkg passes R CMD check on Linux machines. However, when I 'R CMD check myPkg' on Windows, the libs subdirectory is not being created. If I install the package and then create the libs subdirectory manually and copy the dll files to it, the package seems to work fine (but that's not good enough for submitting it to CRAN). Any advice will be appreciated, Thanks,
2005 Feb 04
1
R package with C code on Windows
Dear R helpers, MyPkg passes R CMD check on Linux machines. However, when I 'R CMD check myPkg' on Windows, the libs subdirectory is not being created. If I install the package and then create the libs subdirectory manually and copy the dll files to it, the package seems to work fine (but that's not good enough for submitting it to CRAN). Any advice will be appreciated, Thanks,
2006 Mar 12
0
New version of the LDheatmap package
Version 0.2 of the package LDheatmap is now on CRAN. The main function LDheatmap produces a graphical display, as a heat map, of measures of pairwise linkage disequilibria between SNPs. Users may optionally include the physical locations or genetic map distances of each SNP on the plot. The revisions to the package are aimed at improving the user's ability to modify and annotate the
2004 Sep 01
2
allocating memory in C, not in R
Dear R helpers, I need to retrieve several vectors of various types from a call to .C(), but I don't know their length in advance. Is there a way to do this without allocating an excessive amount of memory? If so, an example would be very helpful. S. Blay Department of Statistics and Actuarial Science Simon Fraser University, Vancouver, British Columbia
2008 May 14
3
Help to Draw Plot
Hello friends!! I have two questions, and I would like that you could answer me!!! I have created a plot as plot(range(10,-10),range(10,-10),col="blue",col.axis="blue",col.lab="blue",col.main="blue",col.sub="blue"); 1?) I want that the square of plot and the lines that indicates the value -10,-5,0,5,10 have a blue colour too. 2?)It?s
2012 Jun 03
3
Modify pdf file with Illustrator.
Dear list, Some times I want to modify the pdf file which produced by R with illustrator. But when I use Illustrator open the pdf file, it often makes the pdf some little changed. Anyone have some suggestions? Is it better to use other file type, not pdf? Or when I produced the pdf, I should set some other parameters? Thank you
2008 May 19
2
i want to export a data.frame to file.xls
in order to export a data.frame to sheet.xls i try: write(df,file="file_name.xls") but when i open it a message appears: "impossible to oppen this file. her format is unvalid" knowen that i work with excel_2007 what is the solution ? -- View this message in context: http://www.nabble.com/i-want-to-export-a-data.frame-to-file.xls-tp17326119p17326119.html Sent from the R
2008 Jun 08
3
how to important a date file into R
Hi: I have a data file in the following format. The first three digits stand for the ID of a respondent such as 402, 403. Different respondents may have the same ID. Followed the ID are 298 single digit number ranging from 1 to 5. My question is how to read this data file into R. I tried "scan" and "read" but they do not work because the numbers in the file are not
2005 Dec 12
3
question about date's
Hi, Given a frame with calendar date's: "2005-07-01", "2005-07-02","2005-07-03","2005-07-04","2005-07-05",etc. I want to extract the following from these dates: week number month number year number Any ideas how to accomplish this? Many thanks. Regards, Richard
2006 Apr 14
3
The object argument of NextMethod.
My question is when the object argument of NexthMethod be used? In the following example, weather object argument is used will not affects the result. ### foo=function(x) {UseMethod("foo")} foo.cls1=function(x) { x=x+1;class(x)<-"ncls" NextMethod() } foo.ncls=function(x) { cat("ncls\n") } foo.cls2=function(x) { cat("cls2\n");print(x) }
2006 Feb 22
2
does multinomial logistic model from multinom (nnet) has logLik?
I want to get the logLik to calculate McFadden.R2 ,ML.R2 and Cragg.Uhler.R2, but the value from multinom does not have logLik.So my quetion is : is logLik meaningful to multinomial logistic model from multinom?If it does, how can I get it? Thank you! ps: I konw VGAM has function to get the multinomial logistic model with logLik, but I prefer use the function from "official" R
2005 Jun 13
5
slow loading with lme4
it takes a long time to load the lme4 package.anyone else encounter this problem? > system.time(library(lme4)) 佋佖伻侂佇佽佉仾伒伳伋佁伡伃伆侟仯伜Matrix 佋佖伻侂佇佽佉仾伒伳伋佁伡伃伆侟仯伜lattice [1] 19.90 0.30 25.56 NA NA > version _ platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status Patched major 2 minor
2005 Nov 27
2
multilevel models and sample size
It is not a pure R question,but I hope some one can give me advices. I want to use analysis my data with the multilevel model.The data has 2 levels---- the second level has 52 units and each second level unit has 19-23 units.I think the sample size is quite small,but just now I can't make the sample size much bigger.So I want to ask if I use the multilevel model to analysis the data set,will
2008 Sep 05
1
Rmpi on Linux (SuSE) with OpenMPI
Guys, I'm having troubles with Rmpi on Linux. I got it to work on windows, but on Linux (SuSE 64 bit), using OpenMPI, I can't seem to get it to work :( When I do library(Rmpi) I get the warning: mca: base: component_find: unable to open osc pt2pt: file not found (ignored) Interestingly enough all the examples from the snow tutorial ( http://www.sfu.ca/~sblay/R/snow.html) work despite
2005 Jun 09
2
can nlme do the complex multilevel model?
data from multilevel units,first sample the class ,and then the student in calss.following is the 2-level model. and the level-1 model deals with the student,and the level-2 model deals with the class level the students belong to. Level-1 Model Y = B0 + B1*(ZLEAD) + B2*(ZBUL) + B3*(ZSHY) + R Level-2 Model B0 = G00 + U0 B1 = G10 + G11*(ZWARMT) + U1 B2 = G20 + G21*(ZWARMT) + G22*(ZABLET) +