similar to: object not found whilst loading namespace

Displaying 20 results from an estimated 3000 matches similar to: "object not found whilst loading namespace"

2010 Nov 23
5
cross validation using e1071:SVM
Hi everyone I am trying to do cross validation (10 fold CV) by using e1071:svm method. I know that there is an option (?cross?) for cross validation but still I wanted to make a function to Generate cross-validation indices using pls: cvsegments method. ##################################################################### Code (at the end) Is working fine but sometime caret:confusionMatrix
2008 Sep 22
1
Building binary package fails because of missing dependent package
On an (Intel Leopard) Mac I try to build a package (mxFinance) which depends on another package (mxGraphics). The dependendy is 1) a 'Depends:' in DESCRIPTION and 2) an import in NAMESPACE. - The build fails if the dependent package (mxGraphics) is not installed in the R.framework Do I need to have installed all packages which are required by packages to be built binary (source builds
2011 Oct 11
1
R CMD INSTALL writes to stderr
Dear list, (this is a follow up from a previous query) Why does R CMD INSTALL write most of its messages to stderr? If it wrote to stdout, then we could capture its output within an R session when calling sink("stdout.txt", type="output") install.packages("MASS", type="source") sink() As it stands, the stderr messages can't be captured via
2008 Aug 21
1
pnmath compilation failure; dylib issue?
(1) ...need to speed up a monte-carlo sampling...any suggestions about how I can get R to use all 8 cores of a mac pro would be most useful and very appreciated... (2) spent the last few hours trying to get pnmath to compile under os- x 10.5.4... using gcc version 4.2.1 (Apple Inc. build 5553) as downloaded from CRAN, xcode 3.0... ...xcode 3.1 installed over top of above after
2018 Feb 26
3
Random Seed Location
Hi all, For some odd reason when running na?ve bayes, k-NN, etc., I get slightly different results (e.g., error rates, classification probabilities) from run to run even though I am using the same random seed. Nothing else (input-wise) is changing, but my results are somewhat different from run to run. The only randomness should be in the partitioning, and I have set the seed before this
2008 Nov 20
3
Turning off compiler optimization
Hi. I am writing some code in C that I would like to link into R. My Makevars file is: PKG_CPPFLAGS=-I/usr/local/include PKG_LIBS=-L/usr/local/lib -lgsl PKG_CFLAGS = -Wall -O0 -g -p -pg The source file is core.c,. and I am compiling using R CMD SHLIB core.c The output is gcc -arch x86_64 -O3 -g -p -std=gnu99 -I/Library/Frameworks/ R.framework/Resources/include
2018 Feb 27
0
Random Seed Location
In case you don't get an answer from someone more knowledgeable: 1. I don't know. 2. But it is possible that other packages that are loaded after set.seed() fool with the RNG. 3. So I would call set.seed just before you invoke each random number generation to be safe. Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking
2016 Mar 14
2
Help with libiconv problem
A couple of my colleagues are having problems building R-3.2.4 on Mac OS X El Capitan somehow related to libiconv. I personally don't have any problems on either of my Macs. I'm hoping thie make log might trigger something in the readers of this list: gcc -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L../../../../lib
2011 Dec 08
2
Compilation error of R-2.14.0 on Mac OS 10.7.2
Dear R gurus, I attempt to install the latest version of R from source on my MacBook Pro, using latest versions of Xcode and gfortran for Lion and configure options: ./configure --with-libintl-prefix=/sw --enable-R-shlib (this last option necessary to further install the Rpy Python package) I got the following unreduced compilation error: gcc -std=gnu99 -dynamiclib
2012 Aug 15
2
sensitivity and specificity in svyglm??
Hello, As obtained from a table svyglm clasificaion, sensitivity and specificity. The funtion ConfusionMatrix () of the library (caret) gives these results but not how to apply it to svyglm. thanks [[alternative HTML version deleted]]
2010 Aug 24
3
Compiling Fortran for R : .so: mach-o, but wrong architecture
Dear all, I'm trying to compile FORTRAN code to be used in R, failing miserably. I got a simple code function to try to figure out what is going wrong. Here is the code (available on the web) : subroutine bar(n, x) integer n double precision x(n) integer i do 100 i = 1, n x(i) = x(i) ** 2 100 continue end 1. I compiled the
2009 Oct 07
1
compiling packages without Framework and CoreFoundation options on OSX
I've been trying to get R+PostgreSQL+PL/R to work together on a OSX machine without the Framework and CoreFoundation options and have noticed some suspicious switches when compiling packages. I've installed R (on OSX) with the following ./configure: ./configure \ CC="gcc -arch i386" \ CXX="g++ -arch i386" \ OBJC="gcc -arch i386" \
2018 Mar 04
3
Random Seed Location
On Mon, Feb 26, 2018 at 3:25 PM, Gary Black <gwblack001 at sbcglobal.net> wrote: (Sorry to be a bit slow responding.) You have not supplied a complete example, which would be good in this case because what you are suggesting could be a serious bug in R or a package. Serious journals require reproducibility these days. For example, JSS is very clear on this point. To your question >
2013 Jul 24
1
package compilation on OSX 10.8 -- error compiling Fortran library for architecture i386
I am developing a package for analysis of seismic data that relies on a Fortran library. Package compilation works fine on Ubuntu and Red Hat Enterprise but fails for R 2.15.3 on Mac OSX 10.8.4. I've included the entire dump below but the relevant error message seems to be: ld: warning: ignoring file libmseed/libmseed.a, file was built for archive > which is not the architecture being
2018 Mar 04
0
Random Seed Location
Thank you, everybody, who replied! I appreciate your valuable advise! I will move the location of the set.seed() command to after all packages have been installed and loaded. Best regards, Gary Sent from my iPad > On Mar 4, 2018, at 12:18 PM, Paul Gilbert <pgilbert902 at gmail.com> wrote: > > On Mon, Feb 26, 2018 at 3:25 PM, Gary Black <gwblack001 at sbcglobal.net> >
2017 Oct 27
1
javareconf issue
Hi, Wasn't able to see a bug report on this issue yet... Hope I'm not doublng up. There seems to be little info around for what "R CMD javareconf" does but it has some deprecation errors seemingly. On running cmd in terminal: Java interpreter : /usr/bin/java Java version : 9 Java home path : /Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home Java compiler :
2010 Mar 16
1
Problems compiling a simple source package on MacOS X
Hello. I wrote a package (that contains C source) that I've been compiling and running on both Linux and Windows for about a year. However, that same source package fails to compile on MacOS (10.4.11, PowerPC G4, Xcode installed, gcc version 4.0.1, make version 3.80, ld version cctools-590.23.2.obj~17). There is nothing platform-specific in the code-- just numerical functions that I
2013 Jul 04
1
R-devel Digest, Vol 125, Issue 2
Hi all, I have a problem but i am not sure that this is the right mailing list. I'm writing a R program which call a C++ program, through the function .Call. I use to compile the c++ script with the command R CMD SHLIB SpTempWrapC.cpp -Wall -l covmodel.h -l util.h Everything works fine since, for mistake, i paste in the terminal the content of the r-script. Now, when i try to compile,
2009 Apr 15
1
Compiling Fortran Subroutines as R Shared Objects on Mac OS-X
Hello, I am trying to compile some F77 subroutines as shared objects for R on my Mac. --> Mac OS-X Version 10.4.11 (Tiger Intel Mac) I have done this (successfully) before on Sun Solaris and Linux Fedora systems using the following command. > R CMD SHLIB myfile.f I have g77 installed from this page. http://hpc.sourceforge.net/ I am using R 2.8.1, and I have installed all 4 additional
2008 Nov 12
1
rimage doesn't install on Mac OS X 10.4
Hi, I'm trying to install rimage on a Mac OS X 10.4 machine. I followed the advice in previous R-help threads and got over the hurdles of having the header files in the right places, among other things. But I can't figure out what to do with this error. ice.pnl.gov:/home/waichler<949>system_profiler -detailLevel mini SPSoftwareDataType Software: System Software Overview: