Skip to content

Error: could not find function "loadObject"

4 messages · Pascal Oettli, DVigneault

#
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 :
#
Thanks, Pascal, for getting back!  I did load the package, but I get an
error, as follows:
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.