Hey all-- I'm brand new to R, and have just installed the ChemoSpec because I'd like to do PCA of NMR datasets. I was following along with the vignette and trying to load the sample data as follows... NMRTest <- loadObject("SrE.NMR.RData") ...and got the following error message: Error: could not find function "loadObject" I tried searching the above error message on the forum, but there were "0 matching posts." I'm hoping someone can tell me what I'm doing wrong! Best, ?Davis -- View this message in context: http://r.789695.n4.nabble.com/Error-could-not-find-function-loadObject-tp4637516.html Sent from the R help mailing list archive at Nabble.com.
Hello, Did you run the following first? > library(ChemoSpec) Regards Pascal Le 24/07/2012 06:33, DVigneault a ?crit :> Hey all-- > > I'm brand new to R, and have just installed the ChemoSpec because I'd like > to do PCA of NMR datasets. I was following along with the vignette and > trying to load the sample data as follows... > > NMRTest <- loadObject("SrE.NMR.RData") > > ...and got the following error message: > > Error: could not find function "loadObject" > > I tried searching the above error message on the forum, but there were "0 > matching posts." I'm hoping someone can tell me what I'm doing wrong! > > Best, > > ?Davis > > > > -- > View this message in context: http://r.789695.n4.nabble.com/Error-could-not-find-function-loadObject-tp4637516.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >
Thanks, Pascal, for getting back! I did load the package, but I get an error, as follows:> library("ChemoSpec")Package SparseM (0.96) loaded. To cite, see citation("SparseM") Warning message: replacing previous import ?panel.lines? when loading ?lattice? Is this where the problem is coming from? -- View this message in context: http://r.789695.n4.nabble.com/Error-could-not-find-function-loadObject-tp4637516p4637591.html Sent from the R help mailing list archive at Nabble.com.
In case anyone else ever runs into this problem, I was able to get in touch with the publisher of the software, who suggested that I had not installed the R.utils package. The following two commands fixed the problem. install.packages("R.utils") library("R.utils") -- View this message in context: http://r.789695.n4.nabble.com/Error-could-not-find-function-loadObject-tp4637516p4637608.html Sent from the R help mailing list archive at Nabble.com.
Reasonably Related Threads
- Package ChemoSpec 1.46 Now Available on CRAN
- Package ChemoSpec 1.46 Now Available on CRAN
- CRAN (and crantastic) updates this week
- 8 commits - libswfdec/Makefile.am libswfdec/swfdec_as_strings.c libswfdec/swfdec_load_object_as.c libswfdec/swfdec_load_object_as.h libswfdec/swfdec_load_object.c libswfdec/swfdec_load_object.h libswfdec/swfdec_player.c libswfdec/swfdec_player_internal.h
- 8 commits - libswfdec/Makefile.am libswfdec/swfdec_as_string.c libswfdec/swfdec_as_string.h libswfdec/swfdec_as_strings.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_load_object.c libswfdec/swfdec_loadvars_as.c test/trace